:root {
  --ink: #26171f;
  --ink-deep: #180d14;
  --pink: #ff0080;
  --mag: #ff00ff;
  --violet: #7b2bff;
  --white: #fff2f8;
  --line: rgba(255, 255, 255, 0.11);
  --card: rgba(255, 255, 255, 0.055);
  --r: 28px;
  --pad: clamp(16px, 4vw, 46px);
  --txt: rgba(255, 255, 255, 0.82);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  font-family: "DM Sans", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: #f8ebf4;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -25vmax;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(36% 40% at 16% 18%, rgba(255, 0, 128, 0.58), transparent 64%),
    radial-gradient(42% 40% at 84% 10%, rgba(255, 0, 255, 0.48), transparent 62%),
    radial-gradient(52% 46% at 76% 84%, rgba(123, 43, 255, 0.42), transparent 66%),
    radial-gradient(38% 34% at 20% 88%, rgba(255, 0, 128, 0.3), transparent 62%);
  filter: blur(30px) saturate(135%);
  animation: aurora 26s ease-in-out infinite alternate;
}

body::after {
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(255, 0, 128, 0.22),
    rgba(255, 0, 255, 0.16),
    rgba(123, 43, 255, 0.2),
    rgba(255, 0, 128, 0.22)
  );
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(64px);
  animation: turn 46s linear infinite;
}

@keyframes aurora {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-1%, 3%, 0) scale(1.04);
  }
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

a {
  color: #ff9ed1;
}

h1,
h2,
h3,
.brand-txt,
.giant,
.cta,
.big-btn {
  font-family: "Space Grotesk", system-ui, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

hr {
  height: 2px;
  border: 0;
  width: min(130px, 100%);
  margin: 0 0 1.1em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--mag), transparent);
}

:focus-visible {
  outline: 2px solid var(--mag);
  outline-offset: 3px;
  border-radius: 8px;
}

article[id],
[id] {
  scroll-margin-top: 108px;
}

/* 顶部栏 */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 10px var(--pad);
  background: rgba(24, 13, 20, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 4px;
  text-decoration: none;
  color: #fff;
  flex: none;
}

.brand-txt {
  font-size: 19px;
  font-weight: 700;
}

.mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: conic-gradient(from 0deg, var(--pink), var(--mag), var(--violet), var(--pink));
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.7);
}

.menu {
  margin-left: auto;
  min-width: 0;
}

.menu p {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 11px;
  font-size: 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(var(--pink), var(--mag));
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  color: #1a0a12;
  text-decoration: none;
  background: linear-gradient(120deg, var(--pink), var(--mag));
  box-shadow: 0 12px 30px -14px rgba(255, 0, 128, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

/* 首屏 */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 45vh;
  padding: clamp(26px, 4.5vw, 54px) var(--pad) clamp(30px, 5vw, 62px);
}

.ghost {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  z-index: -1;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 17vw, 10rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  pointer-events: none;
}

.hero-copy {
  text-align: center;
  max-width: 44ch;
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.35em;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, #fff 12%, #ffb3dd 48%, #ff7ae0 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 20px 60px rgba(255, 0, 128, 0.25);
}

.lede {
  margin: 0 auto 1.4em;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.hero-act {
  margin: 0;
}

.big-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  color: #1a0a12;
  background: linear-gradient(120deg, #ffd9ec, var(--pink) 55%, var(--mag));
  box-shadow: 0 20px 44px -18px rgba(255, 0, 255, 0.95);
  transition: transform 0.18s ease;
}

.big-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-art {
  position: relative;
  min-height: 210px;
  height: 100%;
  border-radius: var(--r);
  overflow: hidden;
}

.hero-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: var(--r);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.orb.a {
  width: 62%;
  aspect-ratio: 1;
  left: 4%;
  top: 6%;
  background: conic-gradient(from 40deg, var(--pink), var(--mag), var(--violet), var(--pink));
  animation: float 14s ease-in-out infinite alternate;
}

.orb.b {
  width: 48%;
  aspect-ratio: 1;
  right: 2%;
  bottom: 4%;
  background: conic-gradient(from 220deg, var(--mag), #22e0ff, var(--pink), var(--mag));
  animation: float 18s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  to {
    transform: translate3d(6%, -7%, 0) scale(1.12) rotate(18deg);
  }
}

/* 主体 */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3.5vw, 40px) var(--pad) clamp(50px, 7vw, 90px);
}

.doc {
  min-width: 0;
}

.doc > article {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 36px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px -40px rgba(255, 0, 128, 0.6),
    0 8px 24px -16px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.doc > article + article {
  margin-top: clamp(16px, 2.4vw, 26px);
}

.doc > article:hover {
  border-color: rgba(255, 0, 255, 0.32);
  box-shadow: 0 36px 80px -40px rgba(255, 0, 255, 0.62),
    0 8px 24px -16px rgba(0, 0, 0, 0.85);
}

.doc h2 {
  margin: 0 0 0.4em;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: #fff;
}

.doc h3 {
  margin: 1.4em 0 0.5em;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #ffd7ec;
}

.doc p {
  color: var(--txt);
}

.doc ul,
.doc ol {
  padding-left: 1.25em;
  color: var(--txt);
}

.doc li {
  margin: 0.35em 0;
}

.doc li::marker {
  color: var(--mag);
}

.doc strong {
  color: #fff;
}

.doc blockquote {
  margin: 1.2em 0;
  padding: 0.6em 1.1em;
  border-left: 3px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 0, 128, 0.09);
}

.doc blockquote p:last-child {
  margin-bottom: 0;
}

.doc img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.doc th {
  color: #fff;
}

/* 侧栏 */
.rail {
  position: sticky;
  top: 104px;
  padding: 20px 20px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(24, 13, 20, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -40px rgba(255, 0, 255, 0.7);
}

.rail h2 {
  margin: 0 0 0.5em;
  font-size: 17px;
  color: #fff;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rail-list li + li {
  margin-top: 2px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px 6px 14px;
  position: relative;
  font-size: 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.rail-list a::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(var(--pink), var(--mag));
  opacity: 0.55;
}

.rail-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* 页脚 */
.foot {
  position: relative;
  margin-top: 20px;
  padding: clamp(34px, 5vw, 64px) var(--pad) 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(24, 13, 20, 0.6),
    rgba(12, 6, 10, 0.94)
  );
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(18px, 3vw, 44px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.giant {
  margin: 0;
  font-size: clamp(1.9rem, 5.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(120deg, #fff, #ff9ed8 45%, var(--mag));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: break-word;
}

.fcol h2 {
  margin: 0 0 0.6em;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}

.fcol hr {
  width: 46px;
  margin-bottom: 0.9em;
}

.fcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fcol a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.fcol a:hover {
  color: #fff;
}

.fcol ul a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--mag);
  transition: width 0.2s ease, margin 0.2s ease;
}

.fcol ul a:hover::before {
  width: 12px;
  margin-right: 8px;
}

address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

address a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #ff9ed1;
  text-decoration: none;
}

address a:hover {
  color: #fff;
}

.copy {
  max-width: 1180px;
  margin: clamp(26px, 4vw, 46px) auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

/* 入场 */
.js-rise .doc > article {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js-rise .doc > article.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
    order: 2;
    margin-top: 8px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-art {
    order: 2;
    min-height: 170px;
    height: 170px;
  }

  .hero-img {
    min-height: 170px;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }

  .giant {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .bar {
    gap: 4px 12px;
    padding: 8px var(--pad);
  }

  .menu {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }

  .menu p {
    gap: 0 2px;
  }

  .menu a {
    padding: 10px 9px;
    font-size: 16px;
  }

  .cta {
    margin-left: auto;
    padding: 10px 16px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .foot-cols {
    grid-template-columns: 1fr;
  }

  .doc > article {
    border-radius: 22px;
  }

  article[id],
  [id] {
    scroll-margin-top: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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