/* ============================================================
   慧星体育 · 共享站点样式 /assets/site.css
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol { 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;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-deep: #0A1030;
  --c-deck: #101A47;
  --c-indigo: #1E2A5E;
  --c-orange: #FF7A2F;
  --c-cyan: #2BE0E0;
  --c-green: #A8FF3E;
  --c-violet: #6C4CF1;
  --c-white: #F4F7FF;
  --c-muted: #8C9BC4;
  --c-glass: rgba(244, 247, 255, 0.08);
  --c-glass-strong: rgba(244, 247, 255, 0.14);
  --c-line: rgba(244, 247, 255, 0.10);
  --c-line-strong: rgba(244, 247, 255, 0.20);

  --rail-w: 96px;
  --header-h: 78px;
  --page-max: 1280px;
  --gutter: clamp(20px, 4vw, 64px);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
}

@media (max-width: 979px) {
  :root { --header-h: 64px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-deep);
  background-image:
    radial-gradient(120% 80% at 82% -10%, rgba(108, 76, 241, 0.20), transparent 58%),
    radial-gradient(90% 70% at 8% 4%, rgba(43, 224, 224, 0.10), transparent 60%),
    linear-gradient(180deg, #0A1030 0%, #080D28 62%, #06091F 100%);
  background-attachment: fixed;
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--c-white);
}

h1 { font-size: clamp(34px, 5.2vw, 66px); }
h2 { font-size: clamp(25px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.01em; }
h4 { font-size: 17px; font-weight: 800; letter-spacing: 0; line-height: 1.4; }

p { color: var(--c-white); }

p + p { margin-top: 0.9em; }

a { text-decoration-color: rgba(43, 224, 224, 0.5); text-underline-offset: 3px; }

::selection { background: rgba(43, 224, 224, 0.32); color: var(--c-white); }

.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 700;
}

.muted { color: var(--c-muted); }

/* ---------- 4. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--c-green);
  color: #08210A;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 桌面侧边导览轨道 ---------- */
.rail { display: none; }

@media (min-width: 1080px) {
  body { padding-left: var(--rail-w); }

  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    width: var(--rail-w);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0 30px;
    background: linear-gradient(180deg, #0C1436 0%, #0A1030 62%, #070B22 100%);
    border-right: 1px solid rgba(43, 224, 224, 0.16);
  }

  .rail__track {
    position: absolute;
    top: 128px;
    bottom: 132px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(43, 224, 224, 0.55) 26%,
      rgba(108, 76, 241, 0.70) 62%,
      rgba(255, 122, 47, 0.45) 88%,
      transparent 100%
    );
    pointer-events: none;
  }

  .rail__track::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--c-cyan);
    box-shadow: 0 0 12px rgba(43, 224, 224, 0.85);
  }

  .rail__brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 6px 4px;
    text-decoration: none;
    color: var(--c-white);
  }

  .rail__brand-mark {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 34%, #FFFFFF 0 22%, var(--c-cyan) 46%, var(--c-violet) 82%, rgba(108, 76, 241, 0) 84%);
    box-shadow: 0 0 16px rgba(43, 224, 224, 0.6);
  }

  .rail__brand-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.34em;
    color: var(--c-white);
  }

  .rail__brand:hover .rail__brand-text { color: var(--c-cyan); }

  .rail__top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    color: var(--c-muted);
    font-size: 12px;
    letter-spacing: 0.2em;
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
    opacity: 0.4;
  }

  .rail__top.is-on { opacity: 1; color: var(--c-green); }

  .rail__top-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(244, 247, 255, 0.22);
    font-size: 14px;
    line-height: 1;
  }

  .rail__top-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
  }

  .rail__top:hover .rail__top-icon {
    border-color: var(--c-green);
    color: var(--c-green);
  }
}

/* ---------- 6. 顶部横栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 16, 48, 0.74);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.28s var(--ease);
}

.is-scrolled .site-header { background: rgba(8, 13, 40, 0.94); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 34px);
  width: 100%;
  max-width: var(--page-max);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 10px var(--gutter);
}

/* 品牌署名（居左） */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, #FFFFFF 0 20%, var(--c-cyan) 44%, var(--c-violet) 80%, rgba(108, 76, 241, 0) 82%);
  box-shadow: 0 0 18px rgba(43, 224, 224, 0.55);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 24px;
  height: 2px;
  margin-left: -1px;
  border-radius: 2px;
  transform-origin: left center;
  transform: translateY(-50%) rotate(-20deg);
  background: linear-gradient(90deg, rgba(255, 122, 47, 0.9), rgba(255, 122, 47, 0));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-right: 10px;
}

.brand__name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--c-white);
  line-height: 1.25;
}

.brand__tagline {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  line-height: 1.4;
}

.brand:hover .brand__name { color: var(--c-cyan); }

/* 导航（居右） */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
}

.site-nav__item { flex: none; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--c-white); }

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

.site-nav__link[aria-current="page"] {
  color: var(--c-white);
  font-weight: 800;
}

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

.site-nav__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(6px, 1.2vw, 16px);
  padding-left: clamp(6px, 1.2vw, 16px);
  border-left: 1px solid var(--c-line);
}

.site-nav__search {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav__search-icon {
  width: 11px;
  height: 11px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.site-nav__search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.site-nav__search:hover {
  color: var(--c-green);
  border-color: rgba(168, 255, 62, 0.55);
  background: rgba(168, 255, 62, 0.08);
}

/* 移动抽屉开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: background-color 0.2s var(--ease);
}

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

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

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

/* 进度彗星 */
.site-header__trail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(43, 224, 224, 0.10),
    rgba(108, 76, 241, 0.18) 48%,
    rgba(255, 122, 47, 0.12)
  );
  pointer-events: none;
}

.site-header__comet {
  position: absolute;
  top: 0;
  left: calc(var(--p, 0) * 78%);
  width: 22%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(43, 224, 224, 0), var(--c-cyan) 58%, var(--c-orange));
  box-shadow: 0 0 10px rgba(43, 224, 224, 0.6);
}

/* ---------- 7. 移动端导航 ---------- */
@media (max-width: 979px) {
  .brand__tagline { display: none; }

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(9, 14, 42, 0.97);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 26px 48px -28px rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.34s var(--ease), opacity 0.22s var(--ease), visibility 0.22s var(--ease);
  }

  .site-nav[data-open="true"] {
    max-height: min(80vh, 680px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

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

  .site-nav__item { border-bottom: 1px solid var(--c-line); }

  .site-nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 16.5px;
    font-weight: 600;
  }

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

  .site-nav__link[aria-current="page"] {
    color: var(--c-cyan);
    padding-left: 14px;
    box-shadow: inset 3px 0 0 var(--c-cyan);
  }

  .site-nav__tools {
    margin: 20px 0 0;
    padding: 0;
    border-left: 0;
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-nav__search { flex: 1 1 auto; justify-content: center; }
}

/* ---------- 8. 容器 / 章节 ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(42px, 6vw, 92px) 0; }
.section--tight { padding: clamp(28px, 4vw, 56px) 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.section__title { font-size: clamp(24px, 3.1vw, 36px); }

.section__lead {
  max-width: 38ch;
  color: var(--c-muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.section--breath { min-height: 18vh; }

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.2;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: linear-gradient(120deg, var(--c-orange), #FFA05C);
  color: #1A0A02;
  box-shadow: 0 8px 22px -12px rgba(255, 122, 47, 0.9);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(255, 122, 47, 0.85);
}

.btn--cyan {
  background: linear-gradient(120deg, var(--c-cyan), #86F4F4);
  color: #04202A;
}

.btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(43, 224, 224, 0.8);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-line-strong);
  color: var(--c-white);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

.btn--green {
  background: var(--c-green);
  color: #10230A;
}

.btn--sm { font-size: 13.5px; padding: 9px 18px; }
.btn--md { font-size: 15px; padding: 11px 22px; }
.btn--block { width: 100%; }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  padding-top: clamp(18px, 2.6vw, 32px);
}

.breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover { color: var(--c-cyan); }

.breadcrumb__sep {
  color: var(--c-indigo);
  font-family: var(--font-mono);
  opacity: 0.9;
}

.breadcrumb [aria-current="page"] { color: var(--c-white); }

/* ---------- 11. 卡片 / 玻璃 / 标签 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background:
    linear-gradient(180deg, rgba(16, 26, 71, 0.94), rgba(12, 19, 54, 0.94));
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 224, 224, 0.42);
  box-shadow: 0 24px 46px -26px rgba(0, 0, 0, 0.95);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.card__meta {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
}

.glass {
  background: var(--c-glass);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag--home { color: var(--c-orange); }
.tag--away { color: var(--c-cyan); }
.tag--up { color: var(--c-green); }
.tag--down { color: var(--c-muted); }
.tag--violet { color: var(--c-violet); }

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

/* ---------- 12. 图片容器 ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background:
    radial-gradient(120% 90% at 16% 6%, rgba(43, 224, 224, 0.24), transparent 58%),
    radial-gradient(90% 80% at 88% 94%, rgba(255, 122, 47, 0.20), transparent 62%),
    linear-gradient(152deg, #17215C 0%, #0E1640 48%, #0A1030 100%);
  aspect-ratio: 16 / 9;
}

.figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.figure--wide { aspect-ratio: 21 / 9; }
.figure--portrait { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--soft { border-radius: var(--radius); }

.figure__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-white);
  background: linear-gradient(180deg, rgba(7, 12, 36, 0), rgba(7, 12, 36, 0.88));
}

a.figure:hover > img,
.card:hover .figure > img { transform: scale(1.03); }

/* ---------- 13. 时间轴基础骨架 ---------- */
.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline__line {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(43, 224, 224, 0.6),
    rgba(108, 76, 241, 0.6) 55%,
    rgba(255, 122, 47, 0.35)
  );
}

.timeline__node {
  position: relative;
  padding: 0 0 26px;
}

.timeline__node::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-deep);
  border: 2px solid var(--c-cyan);
  box-shadow: 0 0 10px rgba(43, 224, 224, 0.7);
}

.timeline__node--accent::before {
  border-color: var(--c-orange);
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.7);
}

/* ---------- 14. 滚动显现 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }

  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  border-top: 1px solid var(--c-line);
  background:
    radial-gradient(120% 150% at 84% -10%, rgba(108, 76, 241, 0.26), transparent 58%),
    radial-gradient(90% 120% at 6% 110%, rgba(43, 224, 224, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(16, 26, 71, 0.82) 0%, #070C24 100%);
  overflow: hidden;
}

.site-footer__trail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(43, 224, 224, 0) 0%,
    rgba(43, 224, 224, 0.85) 18%,
    rgba(108, 76, 241, 0.85) 52%,
    rgba(255, 122, 47, 0.75) 82%,
    rgba(255, 122, 47, 0) 100%
  );
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
  gap: clamp(30px, 5vw, 72px);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(46px, 6.5vw, 82px) var(--gutter) clamp(30px, 4vw, 44px);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.footer-brand__mark {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, #FFFFFF 0 20%, var(--c-cyan) 46%, var(--c-violet) 82%, rgba(108, 76, 241, 0) 84%);
  box-shadow: 0 0 14px rgba(43, 224, 224, 0.55);
}

.footer-brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--c-white);
}

.footer-brand:hover .footer-brand__name { color: var(--c-cyan); }

.site-footer__tagline {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
  line-height: 1.7;
}

.site-footer__note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-muted);
}

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-footer__top:hover {
  color: var(--c-green);
  border-color: rgba(168, 255, 62, 0.5);
  transform: translateY(-2px);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}

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

.site-footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__list a {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 247, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-footer__list a:hover {
  color: var(--c-cyan);
  transform: translateX(3px);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px var(--gutter) clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-muted);
}

.site-footer__contact { color: rgba(244, 247, 255, 0.78); }
.site-footer__legal { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

@media (max-width: 899px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .site-footer__nav { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .site-footer__meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn:hover,
  .site-footer__top:hover,
  .site-footer__list a:hover { transform: none; }
}
