@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

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

html {
  background: #140c0c;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  --red: #ff0000;
  --pink: #ff1493;
  --ink: #261717;
  --txt: #f7ebec;
  --dim: #c6a8ac;
  --line: rgba(255, 20, 147, .26);
  --line-hard: rgba(255, 0, 0, .5);
  --panel: rgba(38, 23, 23, .5);
  --maxw: 1180px;
  --pad: clamp(16px, 4vw, 40px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--txt);
  background: #140c0c;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 16% 10%, rgba(255, 0, 0, .55), transparent 62%),
    radial-gradient(44% 44% at 84% 6%, rgba(255, 20, 147, .5), transparent 66%),
    radial-gradient(52% 58% at 74% 84%, rgba(255, 20, 147, .34), transparent 70%),
    radial-gradient(44% 52% at 10% 88%, rgba(255, 0, 0, .3), transparent 68%);
  background-size: 200% 200%;
  filter: saturate(1.25) blur(8px);
  animation: aurora 11s ease-in-out infinite alternate;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 12, 12, .35), rgba(20, 12, 12, .88) 70%);
  pointer-events: none;
}

@keyframes aurora {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.05); background-position: 0% 0%; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.16); background-position: 100% 100%; }
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }

button { font: inherit; color: inherit; }

.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  border: 1px solid var(--line-hard);
  color: var(--txt);
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 12px; }

/* 顶部 */
.top { position: relative; z-index: 60; }

.ticker {
  margin: 0;
  padding: 8px var(--pad);
  text-align: center;
  font-size: 16px;
  letter-spacing: .22em;
  color: #ffd9e6;
  background: linear-gradient(90deg, rgba(255, 0, 0, .35), rgba(255, 20, 147, .38), rgba(255, 0, 0, .35));
  border-bottom: 1px solid var(--line);
}
.ticker span { display: inline-block; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 10px 4px 0;
  color: var(--txt);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
}
.brand .mark { width: 36px; height: 36px; border: 1px solid var(--line-hard); object-fit: cover; }
.brand-t {
  background: linear-gradient(92deg, var(--pink), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px;
  background: rgba(38, 23, 23, .55);
  border: 1px solid var(--line-hard);
  border-radius: 0;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.burger em { font-style: normal; font-size: 16px; letter-spacing: .14em; }
.burger-lines {
  width: 20px;
  height: 12px;
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--red);
  position: relative;
}
.burger-lines::after {
  content: "";
  position: absolute;
  inset: 4px 0 auto 0;
  height: 2px;
  background: var(--pink);
}
.burger:hover { background: rgba(255, 20, 147, .18); transform: translateY(-1px); }

/* 锚点条 */
.dock {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(20, 12, 12, .84);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dock ol {
  display: flex;
  gap: 4px;
  margin: 0 auto;
  padding: 4px var(--pad);
  max-width: var(--maxw);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
}
.dock li { flex: 0 0 auto; }
.dock a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}
.dock a:hover, .dock a.on { color: #fff; border-bottom-color: var(--pink); background: rgba(255, 20, 147, .14); }

/* 全屏菜单 */
.veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px var(--pad) 28px;
  background:
    radial-gradient(60% 70% at 20% 5%, rgba(255, 0, 0, .5), transparent 65%),
    radial-gradient(60% 70% at 85% 95%, rgba(255, 20, 147, .5), transparent 68%),
    #150c0d;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  overflow-y: auto;
}
body.menu-open .veil { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }

.veil-top { display: flex; align-items: center; justify-content: space-between; }
.veil-mark { font-weight: 700; letter-spacing: .06em; font-size: 18px; color: #ffd9e6; }
.veil-close {
  min-height: 44px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--line-hard);
  border-radius: 0;
  cursor: pointer;
  transition: background .22s ease;
}
.veil-close em { font-style: normal; font-size: 16px; letter-spacing: .14em; }
.veil-close:hover { background: rgba(255, 20, 147, .2); }

.veil-nav { margin-top: auto; }
.veil-nav ol { margin: 0; padding: 0; list-style: none; }
.veil-nav li { border-bottom: 1px solid rgba(255, 20, 147, .18); }
.veil-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 2px;
  font-size: clamp(20px, 5vw, 30px);
  color: var(--txt);
  text-decoration: none;
  transition: color .22s ease, padding-left .22s ease;
}
.veil-nav a b {
  font-size: 16px;
  font-weight: 400;
  color: var(--pink);
  letter-spacing: .1em;
}
.veil-nav a:hover { color: var(--pink); padding-left: 10px; }
.veil-foot { margin: 0; font-size: 16px; letter-spacing: .2em; color: var(--dim); }

/* 头图 */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--pad) clamp(26px, 5vw, 52px);
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-word {
  position: absolute;
  left: clamp(6px, 2vw, 24px);
  bottom: -0.16em;
  margin: 0;
  font-size: clamp(56px, 15vw, 190px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 20, 147, .34), rgba(255, 0, 0, .1));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}

.hero-shots {
  position: absolute;
  top: clamp(14px, 3vw, 30px);
  left: clamp(10px, 4vw, 42px);
  width: 42%;
  max-width: 340px;
  display: flex;
  gap: 10px;
}
.hero-shots .shot {
  width: 50%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line-hard);
  filter: saturate(1.15);
}
.hero-shots .shot:first-child { transform: rotate(-4deg) translateY(9px); }
.hero-shots .shot:last-child { transform: rotate(3deg) translateY(-9px); }

.hero-copy { position: relative; z-index: 2; text-align: right; margin-left: auto; max-width: 62%; }
.hero-kicker {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .22em;
  color: #ffc9dd;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 54px);
  line-height: 1.18;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(20, 12, 12, .75);
}

/* 主体 */
main {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 7vw, 72px);
}

.rail {
  position: sticky;
  top: 68px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.rail-t { margin: 0 0 10px; font-size: 16px; letter-spacing: .2em; }
.rail-list { margin: 0; padding: 0; list-style: none; }
.rail-list li { border-bottom: 1px dashed rgba(255, 20, 147, .16); }
.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.rail-list a:hover { color: var(--pink); padding-left: 6px; }

.doc { min-width: 0; max-width: 74ch; }

.doc > article {
  position: relative;
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 20, 147, .07), rgba(38, 23, 23, .42));
  scroll-margin-top: 128px;
  transition: border-color .3s ease, background .3s ease;
}
.doc > article:hover { border-color: var(--line-hard); background: linear-gradient(180deg, rgba(255, 0, 0, .1), rgba(38, 23, 23, .5)); }
.doc > article::before {
  content: "";
  position: absolute;
  left: -1px;
  top: clamp(18px, 3vw, 34px);
  width: 3px;
  height: 34px;
  background: linear-gradient(180deg, var(--pink), var(--red));
}

.doc :is(h2, h3) {
  margin: 0 0 .55em;
  line-height: 1.28;
  letter-spacing: -.01em;
}
.doc h2 { font-size: clamp(22px, 3.2vw, 31px); }
.doc h3 { font-size: clamp(19px, 2.4vw, 23px); }
.doc :is(h2, h3) > span,
.rail-t > span,
.cta h2 > span {
  background: linear-gradient(95deg, #ff5fb0, var(--red) 74%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doc p { margin: 0 0 1em; }
.doc p:last-child { margin-bottom: 0; }
.doc ul, .doc ol { margin: 0 0 1em; padding-left: 1.35em; }
.doc li { margin: .28em 0; }
.doc a:hover { color: #ffd0e2; }
.doc blockquote {
  margin: 1em 0;
  padding: 10px 18px;
  border-left: 3px solid var(--pink);
  background: rgba(255, 20, 147, .08);
}
.doc blockquote p:last-child { margin-bottom: 0; }
.doc strong { color: #ffd0e2; }

.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; }
.doc th { background: rgba(255, 20, 147, .14); }

/* 页脚 */
.foot {
  margin-top: auto;
  border-top: 1px solid var(--line-hard);
  background: linear-gradient(180deg, rgba(38, 23, 23, .55), rgba(20, 12, 12, .95));
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(26px, 5vw, 52px) var(--pad) 22px; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line-hard);
  background:
    radial-gradient(70% 130% at 0% 0%, rgba(255, 0, 0, .28), transparent 66%),
    radial-gradient(70% 130% at 100% 100%, rgba(255, 20, 147, .3), transparent 68%),
    rgba(38, 23, 23, .4);
}
.cta h2 { margin: 0; font-size: clamp(24px, 4.4vw, 40px); line-height: 1.2; letter-spacing: -.02em; max-width: 22ch; }
.cta-go {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 16px;
  letter-spacing: .14em;
  color: #1a0d0d;
  background: linear-gradient(92deg, var(--pink), var(--red));
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s ease, filter .25s ease;
}
.cta-go:hover { transform: translateY(-2px); filter: saturate(1.3) brightness(1.08); }

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 46px);
  margin: clamp(26px, 4vw, 44px) 0 0;
}
.cols dl { margin: 0; }
.cols dt { font-size: 16px; letter-spacing: .2em; color: var(--pink); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cols dd { margin: 10px 0 0; color: var(--dim); font-size: 16px; }
.fool { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; }
.fool li { break-inside: avoid; }
.fool a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.fool a:hover { color: var(--pink); padding-left: 5px; }

.fine {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
  letter-spacing: .16em;
  color: #a98c90;
}

/* 动效 */
.js .doc > article,
.js .rail,
.js .cta,
.js .cols {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .doc > article.in,
.js .rail.in,
.js .cta.in,
.js .cols.in { opacity: 1; transform: none; }

@media (max-width: 880px) {
  main { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rail { position: static; top: auto; padding: 0; border-top: 0; }
  .rail-t { display: none; }
  .rail-list {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }
  .rail-list li { flex: 0 0 auto; border-bottom: 0; }
  .rail-list a { padding: 0 12px; min-height: 40px; border: 1px solid var(--line); }
  .hero-copy { max-width: 100%; }
  .hero-word { font-size: clamp(44px, 14vw, 90px); }
}

@media (max-width: 620px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fool { columns: 2; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta h2 { max-width: 100%; }
  .bar { padding: 8px var(--pad); }
  .doc > article { scroll-margin-top: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .js .doc > article, .js .rail, .js .cta, .js .cols { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

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