/* =========================================================
   星空体育主站 · 共享样式表 /assets/site.css
   深空墨蓝基底 · 星云紫轨道 · 荧光青数据 · 暖金入口
   ========================================================= */

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

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

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

ul, ol { list-style: none; }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }

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

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

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

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩体系 */
  --ink-900: #05070F;
  --ink-800: #0B1226;
  --ink-700: #151C3B;
  --ink-600: #1E2750;

  --violet: #7B5CFF;
  --cyan: #3FE0FF;
  --gold: #FFC46B;
  --white: #E8ECF6;
  --gray: #98A4C2;
  --green: #2ED3A8;
  --pink: #FF6E9C;

  --text: var(--white);
  --text-soft: var(--gray);
  --line: rgba(152, 164, 194, 0.18);
  --line-soft: rgba(152, 164, 194, 0.1);
  --line-strong: rgba(63, 224, 255, 0.34);
  --glass: rgba(21, 28, 59, 0.62);
  --glass-border: rgba(232, 236, 246, 0.12);

  /* 字体栈 */
  --font-display: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-data: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow-card: 0 22px 48px -28px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1180px 620px at 84% -10%, rgba(123, 92, 255, 0.22), transparent 62%),
    radial-gradient(900px 520px at 2% 6%, rgba(63, 224, 255, 0.1), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

p { max-width: 68ch; }

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

::selection {
  background: rgba(63, 224, 255, 0.28);
  color: #FFFFFF;
}

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

/* 滚动条（渐进增强） */
* { scrollbar-color: rgba(123, 92, 255, 0.5) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), rgba(63, 224, 255, 0.45));
  border-radius: 999px;
  border: 2px solid var(--ink-900);
}

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(34px, 5vw, 64px); }

.stack { display: grid; gap: clamp(12px, 1.6vw, 20px); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rule-orbit {
  position: relative;
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 56px);
  background: linear-gradient(90deg, transparent, rgba(152, 164, 194, 0.45), transparent);
}

.rule-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 2px rgba(63, 224, 255, 0.6);
}

/* ---------- 5. 标题与文字 ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.04em;
}

.display-l {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.display-m {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--gray);
  max-width: 68ch;
}

.annotation {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray);
}

.annotation--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.data-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cyan);
}

.data-num--outline {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--cyan);
}

@supports not ((-webkit-text-stroke: 1px #000)) {
  .data-num--outline { color: var(--cyan); }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn--gold {
  background: linear-gradient(135deg, #FFDCA8, var(--gold) 48%, #F0A63C);
  color: #141628;
  box-shadow: 0 14px 32px -16px rgba(255, 196, 107, 0.9);
}

.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(255, 196, 107, 1); }

.btn--ghost {
  color: var(--cyan);
  background: rgba(63, 224, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(63, 224, 255, 0.13);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- 7. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--cyan);
  background: rgba(63, 224, 255, 0.08);
}

.tag--violet { color: var(--violet); background: rgba(123, 92, 255, 0.13); }
.tag--cyan   { color: var(--cyan);   background: rgba(63, 224, 255, 0.08); }
.tag--gold   { color: var(--gold);   background: rgba(255, 196, 107, 0.11); }
.tag--green  { color: var(--green);  background: rgba(46, 211, 168, 0.11); }
.tag--pink   { color: var(--pink);   background: rgba(255, 110, 156, 0.11); }

/* ---------- 8. 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(21, 28, 59, 0.92), rgba(11, 18, 38, 0.94));
  box-shadow: var(--shadow-card);
}

.panel--glass {
  background: var(--glass);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-lift);
}

@supports (backdrop-filter: blur(2px)) {
  .panel--glass { backdrop-filter: blur(16px) saturate(140%); }
}

.panel--cut {
  border-radius: var(--r-md);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

/* ---------- 9. 图片容器（页面阶段使用） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900) 72%);
}

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

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--1x1  { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--orbit {
  clip-path: polygon(0 0, 100% 0, 100% 78%, 86% 100%, 0 100%);
}

.media-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.media-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(60% 55% at 74% 20%, rgba(123, 92, 255, 0.42), transparent 70%),
    radial-gradient(52% 48% at 18% 80%, rgba(63, 224, 255, 0.26), transparent 72%),
    repeating-linear-gradient(115deg, rgba(232, 236, 246, 0.05) 0 1px, transparent 1px 18px);
  background-color: var(--ink-900);
}

/* ---------- 10. 面包屑与索引 ---------- */
.breadcrumb {
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(152, 164, 194, 0.45);
}

.breadcrumb a { color: var(--gray); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--white); }

.index-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.index-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.index-list li:hover {
  background: rgba(63, 224, 255, 0.05);
  padding-left: 12px;
}

.index-list .idx {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* =========================================================
   11. 跳至内容
   ========================================================= */
.skip-link {
  position: fixed;
  left: var(--gutter);
  top: -120px;
  z-index: 400;
  padding: 11px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--gold);
  color: #141628;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: top 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline-offset: 0;
}

/* =========================================================
   12. 页头
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  margin-bottom: calc(var(--header-h) * -1);
  background-color: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header[data-scrolled] {
  background-color: rgba(11, 18, 38, 0.92);
  box-shadow: 0 22px 46px -34px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(63, 224, 255, 0.16);
}

@supports (backdrop-filter: blur(2px)) {
  .site-header[data-scrolled] {
    background-color: rgba(11, 18, 38, 0.74);
    backdrop-filter: blur(16px) saturate(140%);
  }
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
}

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

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #FFF6E2 0 9%, transparent 10%),
    conic-gradient(from 210deg, var(--cyan), var(--violet) 45%, var(--gold) 78%, var(--cyan));
  box-shadow: 0 0 0 1px rgba(232, 236, 246, 0.26), 0 0 22px -4px rgba(63, 224, 255, 0.75);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--ink-900);
}

.brand-mark--lg { width: 44px; height: 44px; }
.brand-mark--lg::after { inset: 12px; }

.brand-text { display: grid; gap: 1px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--white);
}

.brand-line {
  font-family: var(--font-data);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
  line-height: 1.2;
}

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 22px);
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gray);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: right 0.32s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--white); }

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { right: 0; }

.nav-link[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.nav-drawer-cta { display: none; }

/* 头部右侧 */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #FFDCA8, var(--gold) 50%, #F2A947);
  color: #141628;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  white-space: nowrap;
  box-shadow: 0 12px 30px -16px rgba(255, 196, 107, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(255, 196, 107, 1);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  background: rgba(21, 28, 59, 0.5);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-toggle:hover { background: rgba(21, 28, 59, 0.85); border-color: var(--cyan); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, var(--gold));
  box-shadow: 0 0 14px -2px rgba(63, 224, 255, 0.8);
  transition: width 0.12s linear;
}

/* =========================================================
   13. 页脚
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 9vw, 130px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 46%, #070B18 100%);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  pointer-events: none;
}

.site-footer::before {
  top: 0;
  width: min(1500px, 165vw);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(123, 92, 255, 0.16);
}

.site-footer::after {
  top: 90px;
  width: min(1080px, 120vw);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(63, 224, 255, 0.1);
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(26px, 4vw, 56px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(46px, 7vw, 88px) var(--gutter) clamp(30px, 5vw, 54px);
}

.footer-col { display: grid; gap: 14px; align-content: start; }

.footer-brand { gap: 16px; }

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--white);
  max-width: none;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 30ch;
}

.footer-title {
  font-family: var(--font-data);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 9px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.footer-list { display: grid; gap: 9px; }

.footer-list a {
  font-size: 14.5px;
  color: var(--gray);
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.footer-list a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact-list span:last-child { word-break: break-word; }

.footer-dot {
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px 1px rgba(123, 92, 255, 0.7);
}

.footer-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #FFDCA8, var(--gold) 52%, #F2A947);
  color: #141628;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 32px -18px rgba(255, 196, 107, 0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -18px rgba(255, 196, 107, 1);
}

.footer-legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 15, 0.55);
}

.footer-legal-inner {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
}

.footer-contact-line {
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--gray);
  max-width: none;
  word-break: break-word;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray);
}

.footer-legal-row p { max-width: none; }

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.legal-links a {
  color: var(--gray);
  transition: color 0.22s var(--ease);
}

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

/* =========================================================
   14. 显现动效
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

/* =========================================================
   15. 响应式
   ========================================================= */
@media (max-width: 1000px) {
  :root { --header-h: 64px; }

  .header-cta { display: none; }

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    width: min(86vw, 360px);
    padding: calc(var(--header-h) + 30px) 26px 42px;
    overflow-y: auto;
    background:
      radial-gradient(80% 40% at 100% 0%, rgba(123, 92, 255, 0.26), transparent 70%),
      linear-gradient(180deg, rgba(21, 28, 59, 0.98), rgba(5, 7, 15, 0.99));
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 1);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.38s var(--ease), visibility 0.38s var(--ease);
  }

  @supports (backdrop-filter: blur(2px)) {
    .site-nav { backdrop-filter: blur(18px) saturate(135%); background-color: rgba(11, 18, 38, 0.9); }
    .site-nav {
      background-image:
        radial-gradient(80% 40% at 100% 0%, rgba(123, 92, 255, 0.3), transparent 70%);
    }
  }

  .site-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 15px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--cyan);
    padding-left: 12px;
    border-left: 2px solid var(--cyan);
  }

  .nav-drawer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 26px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, #FFDCA8, var(--gold) 52%, #F2A947);
    color: #141628;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 34px -18px rgba(255, 196, 107, 0.95);
  }

  body.nav-open { overflow: hidden; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-shell { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .nav-toggle-label { display: none; }

  .footer-shell { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }

  .footer-legal-row { flex-direction: column; align-items: flex-start; gap: 12px; }

  .index-list li { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 420px) {
  .brand-line { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark::after { inset: 8px; }
}

/* =========================================================
   16. 减弱动效
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.2s linear;
  }

  .scroll-progress { transition: none; }
}
