@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --ink: #26171f;
  --rose: #ff0080;
  --mag: #ff00ff;
  --paper: #fbeef4;
  --dim: #cba7ba;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.05);
  --font: Roboto, "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 104px;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--paper);
  background: #170d13;
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    conic-gradient(from 210deg at 28% 18%, #26171f, #581234, #2c0f2e, #1a1018, #26171f);
  opacity: 0.98;
}

.aurora {
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  filter: blur(56px) saturate(150%);
  opacity: 0.8;
  mix-blend-mode: screen;
  animation: shimmer 26s ease-in-out infinite alternate;
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) {
  width: 62vw; height: 62vw; left: -12vw; top: -8vh;
  background: radial-gradient(circle at 35% 35%, rgba(255, 0, 128, 0.9), transparent 66%);
}

.aurora span:nth-child(2) {
  width: 54vw; height: 54vw; right: -10vw; top: 22vh;
  background: radial-gradient(circle at 60% 40%, rgba(255, 0, 255, 0.75), transparent 68%);
  animation-duration: 27s;
}

.aurora span:nth-child(3) {
  width: 70vw; height: 46vw; left: 18vw; bottom: -16vh;
  background: radial-gradient(circle at 50% 50%, rgba(120, 0, 160, 0.85), transparent 70%);
  animation-duration: 34s;
}

@keyframes drift {
  from { transform: translate3d(-4%, -3%, 0) scale(1); }
  to { transform: translate3d(7%, 6%, 0) scale(1.18); }
}

@keyframes shimmer {
  from { filter: blur(56px) saturate(150%) hue-rotate(0deg); }
  to { filter: blur(56px) saturate(160%) hue-rotate(28deg); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.012em;
  overflow-wrap: break-word;
}

hr {
  border: 0;
  height: 2px;
  margin: 14px 0 18px;
  background: linear-gradient(90deg, var(--rose), var(--mag), rgba(255, 255, 255, 0));
}

.shell,
.foot-in {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  min-height: 70vh;
  padding: clamp(44px, 7vw, 88px) 20px clamp(34px, 5vw, 56px);
}

.hero-art {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: conic-gradient(from 130deg, var(--rose), var(--mag), #4c1140, #2a1020, var(--rose));
  box-shadow: 0 26px 70px rgba(255, 0, 128, 0.26);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.35));
  mix-blend-mode: overlay;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff2fa, var(--mag) 42%, transparent 72%);
  filter: blur(18px);
  opacity: 0.85;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(30px, 5.2vw, 54px);
  background: linear-gradient(102deg, #ffffff, #ffd3e8 46%, var(--mag));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1b0e16;
  background: linear-gradient(120deg, var(--rose), var(--mag));
  box-shadow: 0 10px 28px rgba(255, 0, 128, 0.36);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 0, 255, 0.42); }

/* ---------- stage ---------- */
.stage {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
  padding: 10px 20px 60px;
}

.rail {
  position: sticky;
  top: 20px;
  padding: 20px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.rail h2 {
  font-size: 18px;
  color: #ffd9ea;
}

.rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 16px;
  color: #f2dbe7;
  transition: background 0.2s ease, color 0.2s ease;
}

.rail a:hover { background: rgba(255, 0, 128, 0.24); color: #fff; }

/* ---------- content ---------- */
.prose {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.prose article {
  padding: 26px 24px 30px;
  border-radius: 10px;
  background: var(--card);
  scroll-margin-top: 88px;
}

.prose h2 { font-size: clamp(21px, 2.4vw, 27px); }
.prose h3 { font-size: 19px; color: #fff; }
.prose h2 + hr, .prose h3 + hr { margin-top: 12px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.25em; }
.prose li { margin: 7px 0; }
.prose img { border-radius: 10px; margin: 18px 0; }
.prose a { color: #ff9ecc; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 0, 128, 0.14);
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  margin-top: 30px;
  padding: 46px 20px 26px;
  background: linear-gradient(180deg, rgba(38, 23, 31, 0.42), rgba(18, 9, 14, 0.94));
  border-top: 1px solid var(--line);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 26px;
  border-radius: 10px;
  background: linear-gradient(118deg, var(--rose), var(--mag));
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.ft-brand {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  color: #1b0e16;
  letter-spacing: -0.02em;
}

.cta-foot {
  background: #1b0e16;
  color: #ffe4f1;
  box-shadow: none;
}

.cta-foot:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }

.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.9fr);
  gap: 30px;
  margin-top: 36px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-name { font-weight: 700; font-size: 17px; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 12px;
}

.foot-cols dl { margin: 0; }
.foot-cols dt { font-weight: 700; font-size: 16px; color: #ffd3e6; }
.foot-cols dd { margin: 2px 0 0; display: flex; flex-direction: column; }

.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 16px;
  color: var(--dim);
  transition: color 0.2s ease;
}

.foot-cols a:hover { color: #fff; }

.foot-base {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
  color: var(--dim);
}

/* ---------- dock ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  background: rgba(24, 13, 19, 0.88);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.42);
}

.dock-sp { flex: 1 1 auto; }

.brandmark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rose), var(--mag));
}

.mark-img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.mark-dot { width: 12px; height: 12px; border-radius: 50%; background: #1b0e16; }

.dock-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #f3dbe8;
  white-space: nowrap;
}

.dock-link:hover { background: rgba(255, 0, 128, 0.24); color: #fff; }

.dock-nav { position: relative; flex: none; }
.dock-nav summary { list-style: none; cursor: pointer; }
.dock-nav summary::-webkit-details-marker { display: none; }
.dock-nav[open] summary { background: rgba(255, 0, 255, 0.26); color: #fff; }

.dock-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 200px;
  max-height: 62vh;
  overflow: auto;
  padding: 10px;
  border-radius: 10px;
  background: rgba(38, 23, 31, 0.97);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
}

.dock-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 16px;
  color: #f0d8e5;
}

.dock-panel a:hover { background: rgba(255, 0, 128, 0.26); color: #fff; }

.dock-cta {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  font-size: 16px;
  box-shadow: none;
}

/* ---------- motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 40px;
    gap: 26px;
  }
  .hero-copy { order: -1; gap: 20px; }
  .hero-art { aspect-ratio: 16 / 11; clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%); }
  .stage { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-main { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .prose article { padding: 22px 18px 26px; }
  .foot { padding: 38px 16px 22px; }
  .foot-cta { padding: 24px 20px; }
  .hero { padding-inline: 16px; }
  .stage { padding-inline: 16px; }
  .foot-cols { gap: 8px; }
}

@media (max-width: 380px) {
  .dock-link { padding: 0 8px; }
  .dock-cta { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .aurora span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta:hover { transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
