/* ==========================================================================
   亿博体育 — 共享样式 /assets/site.css
   控制室暗场 · 悬浮胶囊导航 · 信号色状态系统
   ========================================================================== */

:root {
  /* 色板 */
  --ink: #07110E;
  --moss: #0F2A22;
  --control: #163D31;
  --cyan: #3AF2CF;
  --orange: #FF7A2F;
  --steel: #9DB7C6;
  --mist: #E8F1EC;
  --lemon: #C8FF5A;
  --amber: #FFC857;
  --deep: #1B2522;

  --line: rgba(157, 183, 198, 0.16);
  --line-strong: rgba(157, 183, 198, 0.28);
  --cyan-line: rgba(58, 242, 207, 0.22);

  /* 字体 */
  --font-display: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 字号 */
  --step-3: clamp(2.4rem, 5vw, 4.6rem);
  --step-2: clamp(1.7rem, 3vw, 2.7rem);
  --step-1: clamp(1.2rem, 1.7vw, 1.55rem);

  /* 形状 */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-deep: 0 30px 60px -34px rgba(0, 0, 0, 0.92);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 控制室网格 + 暗角 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(157, 183, 198, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 183, 198, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(130% 92% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.5) 56%, transparent 82%);
  mask-image: radial-gradient(130% 92% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.5) 56%, transparent 82%);
}

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

button { font: inherit; color: inherit; }

a { color: var(--cyan); text-underline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--mist);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

hr { border: 0; }

::selection {
  background: var(--cyan);
  color: #04140F;
}

/* 焦点 */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content { scroll-margin-top: 128px; }

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

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

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--cyan-line), var(--line), transparent);
  margin: clamp(28px, 4vw, 48px) 0;
}

/* 跳至主要内容 */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--cyan);
  color: #04140F;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--mist);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   布局基座
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: clamp(40px, 6vw, 92px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-12 { grid-column: span 12; }

/* --------------------------------------------------------------------------
   排版组件
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.display-title {
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.038em;
  margin: 0 0 0.35em;
}

.section-title {
  font-size: var(--step-2);
  line-height: 1.08;
  margin: 0 0 0.4em;
}

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.8;
  color: var(--steel);
  max-width: 62ch;
  margin: 0 0 1.4em;
}

.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.8;
}

.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { color: var(--steel); }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--cyan); }
.prose strong { color: var(--mist); font-weight: 700; }

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #170A02;
  box-shadow: 0 14px 30px -18px rgba(255, 122, 47, 0.95);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -18px rgba(255, 122, 47, 0.95);
}

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

.btn--ghost:hover {
  background: rgba(58, 242, 207, 0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

/* --------------------------------------------------------------------------
   面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding-block: 18px 4px;
  font-size: 13px;
  color: var(--steel);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 6px; }

.breadcrumb__link {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__sep {
  color: rgba(157, 183, 198, 0.45);
  font-family: var(--font-mono);
  font-size: 11px;
}

.breadcrumb__current {
  color: var(--mist);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   卡片 / 图片容器 / 指标 / 标签
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(22, 61, 49, 0.62), rgba(15, 42, 34, 0.9));
  box-shadow: var(--shadow-deep);
}

.card > :last-child { margin-bottom: 0; }

.card--feature {
  border-color: var(--cyan-line);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(58, 242, 207, 0.16), transparent 58%),
    linear-gradient(155deg, rgba(22, 61, 49, 0.8), rgba(11, 32, 26, 0.95));
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #12362B, #081914);
  isolation: isolate;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 90% at 8% 0%, rgba(58, 242, 207, 0.14), transparent 58%),
    linear-gradient(202deg, transparent 42%, rgba(7, 17, 14, 0.86) 100%);
}

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

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--steel);
  background: rgba(27, 37, 34, 0.7);
}

.tag--live {
  color: #170A02;
  background: var(--orange);
  border-color: var(--orange);
}

.tag--signal {
  color: #04140F;
  background: var(--cyan);
  border-color: var(--cyan);
}

/* --------------------------------------------------------------------------
   时间轴 / 数据表 基础
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline__node {
  position: relative;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 14px 16px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(15, 42, 34, 0.72);
}

.timeline__node::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(58, 242, 207, 0.14);
}

.timeline__index {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 32, 26, 0.6);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--control);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.data-table tbody tr { transition: background-color 0.16s var(--ease); }
.data-table tbody tr:hover { background: rgba(58, 242, 207, 0.07); }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   滚动显现
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   头部
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px clamp(14px, 3vw, 40px) 8px;
  background: linear-gradient(180deg,
    rgba(7, 17, 14, 0.96) 0%,
    rgba(7, 17, 14, 0.82) 56%,
    rgba(7, 17, 14, 0) 100%);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--lemon) 55%, var(--orange));
  transition: transform 0.1s linear;
  pointer-events: none;
}

.nav-shell {
  display: flex;
  justify-content: center;
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  width: 100%;
  max-width: 1180px;
  padding: 9px 12px 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--cyan-line);
  background:
    linear-gradient(118deg, rgba(22, 61, 49, 0.94), rgba(10, 30, 24, 0.9));
  box-shadow: 0 20px 46px -26px rgba(0, 0, 0, 0.95),
              inset 0 1px 0 rgba(232, 241, 236, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: max-width 0.36s var(--ease), padding 0.36s var(--ease),
              border-radius 0.36s var(--ease);
}

.site-header[data-scrolled="true"] .nav-capsule {
  max-width: 1000px;
  padding: 6px 10px 6px 14px;
}

/* 品牌 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--mist);
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--cyan);
  color: #04140F;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  transition: background-color 0.2s var(--ease);
}

.brand-mark:hover .brand-glyph { background: var(--lemon); }

.brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { flex: none; }

.nav-link {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--steel);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: rgba(58, 242, 207, 0.1);
}

.nav-link[aria-current="page"] {
  color: #04140F;
  background: var(--cyan);
  font-weight: 800;
}

.nav-item--cta { margin-left: auto; }

.nav-utility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #170A02;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.nav-utility:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -14px rgba(255, 122, 47, 0.95);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 33, 26, 0.7);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.nav-capsule[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-capsule[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-capsule[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-capsule[data-open="true"] .nav-toggle { border-color: var(--cyan); background: rgba(58, 242, 207, 0.14); }

/* 联赛切换条 */
.league-bar {
  max-height: 88px;
  overflow: hidden;
  padding-top: 10px;
  transition: max-height 0.3s var(--ease), opacity 0.24s var(--ease), padding-top 0.3s var(--ease);
}

.site-header[data-scrolled="true"] .league-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
}

.league-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 8px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.league-bar__inner::-webkit-scrollbar { display: none; }

.league-bar__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

.league-bar__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.league-chip {
  flex: none;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 33, 26, 0.5);
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
              border-color 0.16s var(--ease);
}

.league-chip:hover {
  color: var(--mist);
  border-color: var(--cyan);
}

.league-chip[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #170A02;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  padding-top: clamp(48px, 6vw, 88px);
  background: linear-gradient(180deg, #0B211A 0%, #081612 58%, var(--ink) 100%);
  border-top: 1px solid var(--cyan-line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 340px;
  pointer-events: none;
  background: radial-gradient(80% 100% at 50% 100%, rgba(58, 242, 207, 0.09), transparent 72%);
}

.footer-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(58, 242, 207, 0.85), rgba(255, 122, 47, 0.7), transparent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(120px, 0.75fr));
  gap: clamp(26px, 4vw, 56px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-tagline {
  margin: 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.footer-contact__key {
  flex: none;
  min-width: 40px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-contact__val {
  color: var(--steel);
  word-break: break-word;
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--steel);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}

.footer-links a:hover {
  color: var(--mist);
  padding-left: 4px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(34px, 5vw, 60px);
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}

.footer-base p { margin: 0; }

.footer-copy { font-family: var(--font-mono); letter-spacing: 0.04em; }

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(157, 183, 198, 0.78);
}

.to-top {
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease),
              transform 0.16s var(--ease);
}

.to-top:hover {
  border-color: var(--cyan);
  background: rgba(58, 242, 207, 0.12);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   响应式：平板
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(100px, 0.7fr));
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   响应式：手机 / 折叠导航
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  html { scroll-behavior: auto; }

  .site-header { padding: 10px 12px 6px; }

  .nav-capsule {
    gap: 10px;
    padding: 7px 9px 7px 13px;
    border-radius: 22px;
  }

  .site-header[data-scrolled="true"] .nav-capsule {
    max-width: 100%;
    padding: 7px 9px 7px 13px;
    border-radius: 22px;
  }

  .brand-text { font-size: 16px; letter-spacing: 0.05em; }

  .brand-glyph { width: 30px; height: 30px; font-size: 15px; }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex: none;
    max-height: min(68vh, 520px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--cyan-line);
    background: linear-gradient(160deg, #12362B, #081914);
    box-shadow: 0 34px 64px -30px rgba(0, 0, 0, 0.95);
  }

  .nav-capsule[data-open="true"] .site-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15.5px;
  }

  .nav-item--cta { margin-left: 0; margin-top: 8px; }

  .nav-utility {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* 联赛条固定到底部 */
  .site-header .league-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    max-height: none;
    opacity: 1;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11, 33, 26, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--cyan-line);
  }

  .league-bar__inner { max-width: none; padding: 0; gap: 10px; }

  .league-bar__label { display: none; }

  body { padding-bottom: 78px; }

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

  .span-2, .span-3, .span-4, .span-5 { grid-column: span 3; }
  .span-6, .span-7, .span-8, .span-9, .span-10, .span-12 { grid-column: span 6; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .to-top { margin-left: 0; }

  #main-content { scroll-margin-top: 96px; }
}

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

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

  .span-2, .span-3, .span-4, .span-5,
  .span-6, .span-7, .span-8, .span-9,
  .span-10, .span-12 { grid-column: span 1; }

  .btn { width: 100%; }

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

  .footer-base { gap: 10px; }
  .footer-copy, .footer-icp { flex: 1 0 100%; }
}

/* --------------------------------------------------------------------------
   降低动效
   -------------------------------------------------------------------------- */
@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-progress { transition: none; }
}
