@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --pink: #ff0080;
  --magenta: #ff00ff;
  --ink: #26171f;
  --deep: #160c12;
  --paper: #f8eef5;
  --line: rgba(255, 255, 255, 0.16);
  --soft: rgba(248, 238, 245, 0.72);
  --nav-h: 70px;
  --font: 'Archivo', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--paper);
  background: var(--ink);
  padding-bottom: calc(var(--nav-h) + 34px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -22% -18% -22% -18%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 16% 10%, rgba(255, 0, 128, 0.62), transparent 64%),
    radial-gradient(44% 46% at 84% 20%, rgba(255, 0, 255, 0.5), transparent 62%),
    radial-gradient(56% 58% at 52% 92%, rgba(112, 24, 158, 0.62), transparent 68%),
    conic-gradient(from 210deg at 68% 42%, rgba(255, 0, 128, 0.4), rgba(255, 0, 255, 0.24), rgba(60, 18, 82, 0.5), rgba(255, 0, 128, 0.4));
  animation: aurora 26s ease-in-out infinite alternate;
  will-change: transform, filter;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(22, 12, 18, 0.2), rgba(22, 12, 18, 0.86) 72%),
    linear-gradient(rgba(38, 23, 31, 0.42), rgba(22, 12, 18, 0.78));
  pointer-events: none;
}

@keyframes aurora {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.06); filter: hue-rotate(0deg); }
  50% { transform: translate3d(2%, 2%, 0) scale(1.16); filter: hue-rotate(20deg); }
  100% { transform: translate3d(-1%, 1%, 0) scale(1.09); filter: hue-rotate(-14deg); }
}

a { color: #ff9ad0; text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

/* ---------- 底部固定导航 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(18, 10, 15, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--magenta), #34e6ff, var(--pink));
  background-size: 200% 100%;
  animation: slide 11s linear infinite;
}

@keyframes slide {
  to { background-position: 200% 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 4px;
  text-decoration: none;
  color: var(--paper);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand .mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.pills {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 2px 2px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.pills::-webkit-scrollbar { display: none; }

.pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: rgba(248, 238, 245, 0.84);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pills a:hover,
.pills a:focus-visible,
.pills a[aria-current="true"] {
  color: #1a1016;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
  border-color: transparent;
}

.pills .n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.68;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #1a1016;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
}

.cta:hover { color: #150b11; filter: brightness(1.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 26px;
  min-height: 45vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px 40px;
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--pink) 42%, #6a2bff 74%, #2be3ff);
  transform: skewY(-1.4deg);
  transform-origin: left bottom;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  background: linear-gradient(98deg, #ffffff 0%, #ffd8ea 34%, var(--pink) 70%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.collage {
  position: relative;
  min-height: 32vh;
}

.shot {
  position: absolute;
  display: block;
  width: 66%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--deep);
}

.shot:nth-child(1) {
  top: 0;
  left: 0;
  mix-blend-mode: normal;
}

.shot:nth-child(2) {
  right: 0;
  bottom: 0;
  transform: rotate(2.4deg);
  border-color: rgba(255, 0, 128, 0.55);
}

.shot.plain {
  background:
    linear-gradient(140deg, rgba(255, 0, 128, 0.75), rgba(255, 0, 255, 0.4) 52%, rgba(43, 227, 255, 0.3)),
    var(--deep);
}

.shot.plain:nth-child(2) {
  background:
    linear-gradient(320deg, rgba(106, 43, 255, 0.65), rgba(255, 0, 255, 0.36) 60%, rgba(255, 0, 128, 0.6)),
    var(--deep);
}

/* ---------- 版心与外框 ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.board {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.rail {
  position: sticky;
  top: 22px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: rgba(22, 12, 18, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rail h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.rail h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
}

.subtitle {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--soft);
}

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

.jump a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 2px;
  text-decoration: none;
  color: rgba(248, 238, 245, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.jump a:hover { color: #fff; padding-left: 6px; }

.jump .n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--magenta);
}

/* ---------- 正文 ---------- */
.sheet {
  border: 1px solid var(--line);
  background: rgba(19, 11, 16, 0.66);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: clamp(20px, 3.6vw, 44px);
}

.sheet > * { max-width: 74ch; }

.sheet > section {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 22px;
}

.sheet > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.sheet h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.3vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.sheet h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 13px;
  background: linear-gradient(90deg, var(--pink), var(--magenta));
}

.sheet h3 {
  margin: 26px 0 10px;
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sheet p { margin: 0 0 16px; }

.sheet .subtitle {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 2px solid var(--magenta);
}

.sheet ul,
.sheet ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.sheet li { margin: 7px 0; }

.sheet strong { color: #fff; }

.sheet blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  border-left: 3px solid var(--pink);
  background: rgba(255, 0, 128, 0.09);
}

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

.sheet img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 0 0 18px;
}

.sheet th,
.sheet td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.sheet th { background: rgba(255, 0, 255, 0.12); }

.sheet code {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 15px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---------- 尾部大按钮 ---------- */
.outro { padding: 34px 0 12px; }

.big {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px;
  text-decoration: none;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(80% 160% at 10% 120%, rgba(255, 0, 128, 0.5), transparent 62%),
    radial-gradient(80% 160% at 92% -20%, rgba(255, 0, 255, 0.42), transparent 62%),
    rgba(22, 12, 18, 0.6);
  transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}

.big:hover {
  color: #1a1016;
  border-color: transparent;
  letter-spacing: 0.08em;
  background: linear-gradient(92deg, var(--pink), var(--magenta));
}

/* ---------- 页脚 ---------- */
footer {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 26px 20px 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px 26px;
}

footer p { margin: 0; }

.f-brand a {
  display: inline-block;
  padding: 9px 0;
  min-height: 40px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.f-brand .f-desc {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--soft);
}

.f-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  align-content: start;
  justify-content: flex-start;
}

.f-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 16px;
  text-decoration: none;
  color: rgba(248, 238, 245, 0.78);
}

.f-links a:hover { color: #fff; }

footer small {
  grid-column: 1 / -1;
  display: block;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  color: rgba(248, 238, 245, 0.6);
}

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

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

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .jump { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 30px 20px 34px;
    gap: 22px;
  }
  .collage { min-height: 240px; }
  .shot { width: 62%; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand .mark { display: none; }
  .pills a { padding: 9px 12px; }
  .cta { padding: 8px 13px; }
  footer { grid-template-columns: minmax(0, 1fr); }
  .jump { grid-template-columns: minmax(0, 1fr); }
  .big { min-height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before,
  .dock::before { animation: none; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pills a,
  .jump a,
  .big { transition: none; }
}

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