/* ============================================================
   万博娱乐 · 共享样式表 /assets/site.css
   轨道 + 舞台 · 深空蓝夜场 · Bento 信息板
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --deep: #0B1230;
  --deep-ink: #070C22;
  --rock: #2A2F3A;
  --cream: #F6F1E7;
  --white: #FFFFFF;
  --clay: #C96F4A;
  --moss: #5E7A55;
  --red: #D62839;
  --red-deep: #A81C2E;
  --neon: #FF7A2F;
  --violet: #7B3FE4;
  --gold: #E9B84C;
  --ink: #1D2233;
  --ink-soft: #5B6473;

  --line: rgba(246, 241, 231, 0.14);
  --line-soft: rgba(246, 241, 231, 0.08);
  --line-strong: rgba(246, 241, 231, 0.3);
  --panel: rgba(42, 47, 58, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.05);

  --font-display: "Source Han Sans SC", "Alibaba PuHuiTi", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rail-w: 280px;
  --shell: 1240px;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-1: 0 18px 40px -26px rgba(7, 12, 34, 0.95);
  --shadow-2: 0 34px 70px -32px rgba(7, 12, 34, 0.98);

  --grad-brand: linear-gradient(120deg, var(--red) 0%, var(--neon) 54%, var(--violet) 100%);
  --grad-warm: linear-gradient(135deg, var(--neon) 0%, var(--gold) 100%);
  --grad-cool: linear-gradient(135deg, var(--violet) 0%, var(--neon) 100%);

  --pad-block: clamp(3.5rem, 7vw, 7rem);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: 68px;
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(123, 63, 228, 0.34), transparent 62%),
    radial-gradient(880px 520px at 102% 2%, rgba(255, 122, 47, 0.2), transparent 58%),
    radial-gradient(900px 700px at 50% 118%, rgba(214, 40, 57, 0.16), transparent 64%),
    var(--deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(255, 122, 47, 0.42); color: var(--white); }

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

.display-title,
.page-title,
.section-title,
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.display-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: rgba(246, 241, 231, 0.78);
  max-width: 62ch;
}

.link-quiet {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 47, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-quiet:hover { color: var(--neon); border-color: var(--neon); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: clamp(2rem, 4vw, 3.5rem) 0;
}

/* ---------- 4. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3rem);
}

.section { padding-block: var(--pad-block); }
.section--tight { padding-block: calc(var(--pad-block) * 0.55); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.stack { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.bento > * { grid-column: span 12; }

@media (min-width: 720px) {
  .bento > .col-3 { grid-column: span 6; }
  .bento > .col-4 { grid-column: span 6; }
  .bento > .col-6 { grid-column: span 6; }
  .bento > .col-8 { grid-column: span 12; }
  .bento > .col-9 { grid-column: span 12; }
  .bento > .col-12 { grid-column: span 12; }
}

@media (min-width: 1060px) {
  .bento > .col-3 { grid-column: span 3; }
  .bento > .col-4 { grid-column: span 4; }
  .bento > .col-6 { grid-column: span 6; }
  .bento > .col-8 { grid-column: span 8; }
  .bento > .col-9 { grid-column: span 9; }
}

.offset-up { transform: translateY(0); }
@media (min-width: 1060px) {
  .offset-up { transform: translateY(-2.25rem); }
}

/* ---------- 5. 面板与卡片 ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.6vw, 2rem);
}

.panel--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: rgba(29, 34, 51, 0.12);
}
.panel--cream .lede,
.panel--cream .card__text { color: var(--ink-soft); }
.panel--cream .section-title,
.panel--cream .card__title { color: var(--ink); }
.panel--cream .eyebrow { color: var(--red-deep); }

.panel--glow {
  background:
    linear-gradient(160deg, rgba(123, 63, 228, 0.24), rgba(255, 122, 47, 0.14)),
    var(--panel);
  border-color: rgba(255, 122, 47, 0.34);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(42, 47, 58, 0.92), rgba(42, 47, 58, 0.58));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 47, 0.55);
  box-shadow: var(--shadow-2);
}
.card--static:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow-1); }

.card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 231, 0.55);
  font-variant-numeric: tabular-nums;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}
.card__text {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.74);
}

/* ---------- 6. 媒体容器（页面阶段放图） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 14% 8%, rgba(123, 63, 228, 0.55), transparent 62%),
    radial-gradient(100% 110% at 92% 96%, rgba(255, 122, 47, 0.5), transparent 58%),
    linear-gradient(160deg, #17214C 0%, #0B1230 72%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }

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

.media__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 34, 0.86));
  pointer-events: none;
}

.media__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(246, 241, 231, 0.86);
}

/* ---------- 7. 胶囊标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.tag--red { background: rgba(214, 40, 57, 0.2); color: #FF9AA6; border-color: rgba(214, 40, 57, 0.45); }
.tag--clay { background: rgba(201, 111, 74, 0.2); color: #E9AC8C; border-color: rgba(201, 111, 74, 0.45); }
.tag--moss { background: rgba(94, 122, 85, 0.24); color: #B4CFA8; border-color: rgba(94, 122, 85, 0.5); }
.tag--gold { background: rgba(233, 184, 76, 0.18); color: var(--gold); border-color: rgba(233, 184, 76, 0.45); }
.tag--violet { background: rgba(123, 63, 228, 0.22); color: #C4A8FF; border-color: rgba(123, 63, 228, 0.5); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--red) 0%, var(--neon) 100%);
  background-size: 170% 100%;
  color: var(--cream);
  box-shadow: 0 16px 34px -20px rgba(214, 40, 57, 0.95);
}
.btn--primary:hover { transform: translateY(-3px); background-position: 100% 0; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--neon); color: var(--white); }

.btn--gold {
  background: var(--grad-warm);
  color: var(--ink);
  box-shadow: 0 16px 32px -20px rgba(233, 184, 76, 0.9);
}
.btn--gold:hover { transform: translateY(-3px); }

.btn--block { width: 100%; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.95em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.copy-btn:hover { border-color: var(--neon); color: var(--white); }
.copy-btn[data-copy-state="done"] {
  border-color: var(--moss);
  background: rgba(94, 122, 85, 0.28);
  color: #C3DDB9;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  color: rgba(246, 241, 231, 0.6);
}
.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumb a:hover { color: var(--neon); border-color: var(--neon); }
.breadcrumb__sep { color: rgba(246, 241, 231, 0.3); }
.breadcrumb__current { color: var(--cream); font-weight: 700; }

/* ---------- 10. skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 0.7em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 11. 头部 / 轨道导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(9, 15, 38, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem clamp(0.9rem, 3vw, 1.4rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  padding: 0.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: conic-gradient(from 210deg, var(--red), var(--neon), var(--violet), var(--red));
  box-shadow: 0 10px 24px -12px rgba(214, 40, 57, 0.9);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: var(--cream);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.16; }
.brand__name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.55);
  font-variant-numeric: tabular-nums;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(214, 40, 57, 0.92), rgba(255, 122, 47, 0.9));
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px -18px rgba(255, 122, 47, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta:hover { transform: translateY(-2px); }
.header-cta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 184, 76, 0.22);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover { border-color: var(--neon); color: var(--white); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* 抽屉导航（移动端） */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(84vw, 330px);
  padding: 5rem 1.1rem 2rem;
  overflow-y: auto;
  background: linear-gradient(180deg, #101A48 0%, #080D26 72%);
  border-right: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s ease;
}
.site-nav[data-open] { transform: translateX(0); visibility: visible; }

.site-nav__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.5rem;
}

.site-nav__list { display: flex; flex-direction: column; gap: 0.35rem; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  color: rgba(246, 241, 231, 0.78);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-nav__link:hover {
  background: rgba(123, 63, 228, 0.22);
  color: var(--white);
  transform: translateX(3px);
}
.site-nav__link[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(90deg, rgba(214, 40, 57, 0.34), rgba(255, 122, 47, 0.08));
}
.site-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 58%;
  border-radius: var(--radius-pill);
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--neon), var(--violet));
}
.site-nav__index {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(233, 184, 76, 0.85);
  font-variant-numeric: tabular-nums;
}
.site-nav__label { letter-spacing: 0.01em; }

.site-nav__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0.9rem 0;
  border-top: 1px solid var(--line-soft);
}
.site-nav__note { font-size: 0.78rem; color: rgba(246, 241, 231, 0.5); }
.site-nav__mail {
  font-size: 0.78rem;
  color: rgba(246, 241, 231, 0.72);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: rgba(7, 12, 34, 0.66);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav-scrim[data-visible] { opacity: 1; visibility: visible; pointer-events: auto; }

/* 桌面端：轨道 */
@media (min-width: 1000px) {
  body { padding-top: 0; padding-left: var(--rail-w); }

  .site-header {
    right: auto;
    width: var(--rail-w);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.1rem 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(123, 63, 228, 0.24), transparent 46%),
      linear-gradient(180deg, #0C1334 0%, #0A1030 58%, #080D26 100%);
    backdrop-filter: none;
  }

  .header-bar {
    display: block;
    padding: 0 0 1.25rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .brand { margin-right: 0; }
  .header-cta {
    display: flex;
    width: 100%;
    margin-top: 1.1rem;
    padding: 0.7rem 1rem;
    justify-content: center;
    font-size: 0.88rem;
  }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }

  .site-nav {
    position: static;
    flex: 1 1 auto;
    width: auto;
    padding: 1.25rem 0 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .site-nav__eyebrow { padding-left: 0.8rem; }
  .site-nav__list { margin-top: 0.6rem; }
  .site-nav__link { padding: 0.7rem 0.8rem; font-size: 0.95rem; }
  .site-nav__foot { padding: 1.1rem 0.8rem 0; }
}

@media (max-width: 520px) {
  .brand__sub { display: none; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 0.55rem 0.65rem; }
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 47, 58, 0.4), rgba(7, 12, 34, 0.96)), var(--deep-ink);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0.9;
}

.footer-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.1rem, 4vw, 3rem) clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: minmax(220px, 1fr) 2fr; }
}
@media (min-width: 1120px) {
  .footer-inner { grid-template-columns: minmax(240px, 1.1fr) 2.2fr minmax(230px, 1fr); }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand { margin-right: 0; }
.footer-brand__line {
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.68);
  max-width: 32ch;
}
.footer-badge {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(233, 184, 76, 0.42);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}
@media (min-width: 640px) {
  .footer-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-group__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.footer-group__list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-group__link {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(246, 241, 231, 0.74);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-group__link:hover { color: var(--neon); transform: translateX(3px); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
}
.footer-meta__row { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: baseline; }
.footer-meta__key {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 231, 0.45);
}
.footer-meta__value { color: var(--cream); font-weight: 600; }
.footer-meta__value--num { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.footer-base {
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 12, 34, 0.6);
}
.footer-base__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1.1rem clamp(1.1rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(246, 241, 231, 0.52);
}
.footer-base__item--icp { font-variant-numeric: tabular-nums; }

/* ---------- 13. 滚动进度与返回顶部 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-brand);
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--red), var(--neon));
  color: var(--cream);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top__glyph { display: block; font-size: 1rem; line-height: 1; }

/* ---------- 14. 显现动效 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.has-js [data-reveal][data-reveal-in] { opacity: 1; transform: none; }

/* ---------- 15. reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.has-js [data-reveal] { opacity: 1; transform: none; }
  .card:hover,
  .btn:hover,
  .site-nav__link:hover,
  .footer-group__link:hover,
  .offset-up { transform: none; }
}
