/* =========================================================
   十八游戏 · 中国站 — 共享样式 /assets/site.css
   赛博游戏档案馆：夜幕靛蓝底 + 玻璃层 + 实色档案层
   ========================================================= */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 128px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd, dt { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video, canvas { display: block; max-width: 100%; }

img { height: auto; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid #25E8D4;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色板 */
  --ink-1000: #05081A;
  --ink-950: #070A1A;
  --ink-900: #0B1030;
  --ink-800: #141C4A;
  --ink-700: #1B2560;
  --violet-900: #241A5E;

  --cyan: #25E8D4;
  --cyan-soft: rgba(37, 232, 212, 0.12);
  --cyan-line: rgba(37, 232, 212, 0.38);

  --violet: #8B5CF6;
  --violet-soft: rgba(139, 92, 246, 0.16);
  --violet-line: rgba(139, 92, 246, 0.42);

  --amber: #FFB020;
  --amber-soft: rgba(255, 176, 32, 0.12);
  --amber-line: rgba(255, 176, 32, 0.46);

  --white: #E9EDFF;
  --muted: #9AA4D2;
  --muted-dim: #77809F;
  --line: rgba(154, 164, 210, 0.16);
  --line-strong: rgba(154, 164, 210, 0.32);
  --glass: rgba(7, 10, 26, 0.9);

  /* 形状 */
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-card: 0 26px 64px -44px #000;
  --shadow-float: 0 18px 40px -32px #000;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 字体 */
  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;

  /* 尺寸 */
  --maxw: 1280px;
  --gutter: 24px;
  --header-bg: rgba(7, 10, 26, 0.92);
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 640px at 84% -10%, rgba(139, 92, 246, 0.30), transparent 62%),
    radial-gradient(720px 520px at 4% 2%, rgba(37, 232, 212, 0.15), transparent 60%),
    linear-gradient(180deg, #0B1030 0%, #0B1030 44%, #0A0E2A 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--white);
}

h1 { font-size: clamp(34px, 6vw, 76px); }
h2 { font-size: clamp(26px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }

p { text-wrap: pretty; }

strong { color: var(--white); font-weight: 700; }

::selection {
  background: rgba(37, 232, 212, 0.32);
  color: #FFF;
}

main { display: block; min-height: 50vh; }

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.section { padding-block: 80px; }

.section__head {
  display: grid;
  gap: 14px;
  max-width: 46rem;
  margin-bottom: 40px;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section__title { font-size: clamp(28px, 4.2vw, 48px); }

.lede {
  max-width: 34em;
  color: #B7C0E6;
  font-size: 17px;
}

.prose { max-width: 38em; }

.prose > * + * { margin-top: 1.1em; }

.prose h3 { margin-top: 1.8em; }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--cyan-line), var(--violet-line), transparent);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.link-cyan {
  color: var(--cyan);
  border-bottom: 2px solid rgba(37, 232, 212, 0.38);
  transition: border-color 0.2s var(--ease);
}

.link-cyan:hover { border-bottom-color: var(--cyan); }

/* ---------- 5. 网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--archive { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--archive { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  background-image: linear-gradient(135deg, #25E8D4 0%, #8B5CF6 100%);
  color: #05121A;
  box-shadow: 0 14px 32px -18px rgba(37, 232, 212, 0.85);
}

.btn--cta:hover { box-shadow: 0 18px 38px -16px rgba(139, 92, 246, 0.95); }

.btn--ghost {
  border-color: var(--cyan-line);
  background-color: var(--cyan-soft);
  color: var(--cyan);
}

.btn--ghost:hover { background-color: rgba(37, 232, 212, 0.2); }

.btn--amber {
  border-color: var(--amber-line);
  background-color: var(--amber-soft);
  color: var(--amber);
}

.btn--amber:hover { background-color: rgba(255, 176, 32, 0.22); }

.btn--sm { padding: 9px 15px; font-size: 13px; border-radius: 10px; }

/* ---------- 7. 标签 / 徽章 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.tag--cyan {
  color: var(--cyan);
  background-color: var(--cyan-soft);
  border-color: var(--cyan-line);
}

.tag--violet {
  color: #C6B4FF;
  background-color: var(--violet-soft);
  border-color: var(--violet-line);
}

.tag--amber {
  color: var(--amber);
  background-color: var(--amber-soft);
  border-color: var(--amber-line);
}

/* ---------- 8. 档案卡 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image: linear-gradient(160deg, rgba(20, 28, 74, 0.94), rgba(11, 16, 48, 0.94));
  box-shadow: var(--shadow-card);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.card:hover {
  border-color: var(--cyan-line);
  transform: translateY(-2px);
}

.card__tag { align-self: flex-start; }

.card__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.card__text {
  color: #B4BDE2;
  font-size: 15px;
  line-height: 1.75;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 9. 赛季时间轴 ---------- */
.timeline {
  position: sticky;
  top: 132px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.timeline__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-dim);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.timeline__link::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.6;
}

.timeline__link:hover {
  color: var(--white);
  background-color: var(--violet-soft);
}

.timeline__link.is-current,
.timeline__link[aria-current="true"] {
  color: var(--cyan);
  background-color: var(--cyan-soft);
}

.timeline__link.is-current::before,
.timeline__link[aria-current="true"]::before {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(37, 232, 212, 0.18);
}

@media (max-width: 780px) {
  .timeline { position: static; }
}

/* ---------- 10. 媒体容器（供页面阶段放图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image: linear-gradient(140deg, #141C4A, #241A5E);
  aspect-ratio: 16 / 9;
}

.media-frame > img,
.media-frame > video,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(37, 232, 212, 0.08),
    inset 0 46px 90px -66px rgba(139, 92, 246, 0.75);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  background-image: linear-gradient(0deg, rgba(7, 10, 26, 0.94), transparent);
  color: #CDD5F5;
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- 11. 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a { color: #8F99C9; transition: color 0.18s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: #4B5480; }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 13. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background-color: var(--cyan);
  color: #04121A;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-240%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: none; }

/* ---------- 14. 阅读进度条 ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 150;
  background-color: rgba(233, 237, 255, 0.07);
  pointer-events: none;
}

.read-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, #25E8D4, #8B5CF6);
  box-shadow: 0 0 14px rgba(37, 232, 212, 0.55);
}

/* ---------- 15. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  background-color: transparent;
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.site-header[data-scrolled] {
  background-color: var(--header-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line), 0 20px 44px -36px #000;
}

.site-header__band {
  border-bottom: 1px solid rgba(154, 164, 210, 0.12);
  background-color: rgba(7, 10, 26, 0.34);
}

.site-header__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.season-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 232, 212, 0.16);
  animation: seasonPulse 2.4s ease-in-out infinite;
}

@keyframes seasonPulse {
  50% { box-shadow: 0 0 0 8px rgba(37, 232, 212, 0); }
}

.season-ruler {
  display: flex;
  align-items: center;
  gap: 14px;
}

.season-ruler__tick {
  position: relative;
  padding-left: 14px;
  color: #5D6795;
  transition: color 0.2s var(--ease);
}

.season-ruler__tick::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 10px;
  transform: translateY(-50%);
  background-color: rgba(154, 164, 210, 0.3);
}

.season-ruler__tick:first-child::before { display: none; }

.season-ruler__tick.is-current {
  color: var(--cyan);
  font-weight: 700;
}

.site-header__bar { padding-block: 10px; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-image: linear-gradient(135deg, #25E8D4, #8B5CF6);
  color: #06131A;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(37, 232, 212, 0.35),
    0 12px 28px -14px rgba(37, 232, 212, 0.7);
}

.brand__mark--lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 16px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-dim);
  white-space: nowrap;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan-line);
  background-color: var(--cyan-soft);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  border-radius: var(--radius-s);
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.site-nav__link:hover {
  color: var(--white);
  background-color: var(--violet-soft);
}

.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
  background-color: var(--cyan-soft);
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__cta { flex: 0 0 auto; }

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background-image: linear-gradient(180deg, rgba(7, 10, 26, 0.55), #070A1A 34%, #05081A 100%);
  color: var(--muted);
}

.site-footer__aura {
  position: absolute;
  top: -220px;
  right: -80px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(139, 92, 246, 0.30), transparent 66%);
}

.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block: 72px 52px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 38ch;
}

.site-footer__brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.site-footer__intro {
  color: #8F99C9;
  font-size: 15px;
  line-height: 1.85;
}

.site-footer__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.site-footer__col { min-width: 0; }

.site-footer__title {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.site-footer__links a {
  display: inline-block;
  color: #9AA4D2;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.site-footer__links a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.site-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.65;
}

.site-footer__key {
  flex: 0 0 auto;
  min-width: 42px;
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6B76A6;
}

.site-footer__val {
  color: #A8B1D8;
  word-break: break-word;
}

.site-footer__val--mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--white);
}

.site-footer__tip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-dim);
}

.site-footer__legal {
  position: relative;
  border-top: 1px solid var(--line);
  background-color: rgba(5, 8, 26, 0.66);
}

.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-block: 20px;
  font-size: 13px;
  color: var(--muted-dim);
}

.site-footer__copy { font-family: var(--font-mono); letter-spacing: 0.02em; }

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__legal-links a {
  color: #8B95C2;
  transition: color 0.18s var(--ease);
}

.site-footer__legal-links a:hover { color: var(--cyan); }

.site-footer__icp {
  margin-left: auto;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ---------- 17. 入场动画 ---------- */
[data-reveal].is-revealable {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}

[data-reveal].is-revealable.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 12px; }
  .site-nav__link { padding-inline: 10px; font-size: 14px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }

  .site-header__band { display: none; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px var(--gutter) 22px;
    border-bottom: 1px solid var(--line-strong);
    background-color: rgba(7, 10, 26, 0.98);
    box-shadow: 0 30px 60px -34px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s var(--ease);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    display: block;
    padding: 13px 12px;
    border-radius: var(--radius-s);
    font-size: 16px;
  }

  .site-nav__link::after { display: none; }

  .site-nav__cta {
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 780px) {
  body { background-attachment: scroll; }
  .section { padding-block: 60px; }
  .site-footer { margin-top: 64px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 52px 40px; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__legal-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer__icp { margin-left: 0; }
  .brand__sub { display: none; }
  .brand__mark { width: 40px; height: 40px; font-size: 13px; }
}

/* ---------- 19. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal].is-revealable {
    opacity: 1;
    transform: none;
  }
}
