/* ============================================================
   球盟会主站 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd, address {
  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; }

a { color: inherit; }

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

/* ---------- 2. CSS 变量 ---------- */
:root {
  /* 色板 */
  --pitch: #06150F;        /* 竞技深墨绿 · 主背景 */
  --panel: #0C2A20;        /* 夜场墨绿面板 */
  --seam: #1B4436;         /* 看台分隔绿 · 网格线 */
  --volt: #E8FF3A;         /* 电光黄 · 主强调 */
  --volt-soft: #F2FF6E;
  --ice: #3FD0FF;          /* 冷冽冰蓝 · 次强调 */
  --flare: #FF7A1A;        /* 霓虹橙 · 关键操作 */
  --chalk: #F4F8F5;        /* 记分牌白 */
  --mist: #9FB8AE;         /* 灰绿次要文字 */
  --shadow: #030C08;       /* 深绿阴影 */

  /* 形状 */
  --cut: 14px;
  --slant: 6deg;
  --wrap: 1240px;
  --shell: 1320px;

  /* 字体 */
  --font-display: "Archivo Black", "Oswald", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* 字号八级 */
  --t-12: 0.75rem;
  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-24: 1.5rem;
  --t-32: 2rem;
  --t-48: 3rem;
  --t-72: 4.5rem;

  /* 动效 */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 240ms;
}

/* ---------- 3. 基础排版（中文优先） ---------- */
body {
  min-height: 100%;
  background-color: var(--pitch);
  background-image:
    radial-gradient(1100px 420px at 78% -8%, rgba(63, 208, 255, 0.10), transparent 62%),
    radial-gradient(760px 320px at 6% 4%, rgba(232, 255, 58, 0.07), transparent 60%),
    radial-gradient(rgba(159, 184, 174, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: var(--t-18);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--chalk);
}

h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 0.95; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: var(--t-18); line-height: 1.25; letter-spacing: 0; }

p { text-wrap: pretty; }

::selection { background: var(--volt); color: var(--pitch); }

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

/* ---------- 4. 容器与节奏 ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 3rem); }

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 5. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--volt {
  background: var(--volt);
  color: var(--pitch);
  box-shadow: 0 12px 30px -16px rgba(232, 255, 58, 0.75);
}
.btn--volt:hover { background: var(--volt-soft); box-shadow: 0 18px 36px -16px rgba(232, 255, 58, 0.85); }

.btn--ice {
  background: transparent;
  color: var(--ice);
  border-color: rgba(63, 208, 255, 0.55);
}
.btn--ice:hover { background: rgba(63, 208, 255, 0.12); border-color: var(--ice); }

.btn--flare {
  background: var(--flare);
  color: #1B0A00;
  box-shadow: 0 12px 30px -18px rgba(255, 122, 26, 0.9);
}
.btn--flare:hover { background: #FF8F3D; }

.btn--ghost {
  background: rgba(27, 68, 54, 0.35);
  color: var(--chalk);
  border-color: var(--seam);
}
.btn--ghost:hover { border-color: var(--chalk); background: rgba(27, 68, 54, 0.55); }

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

/* ---------- 6. 数据语汇 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--volt);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--volt), transparent);
}

.score {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.score-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--volt);
}
.score-sep { color: var(--seam); font-size: 1.2rem; }
.score-unit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid var(--seam);
  border-radius: 999px;
  background: rgba(6, 21, 15, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--mist);
}
.tag--volt { border-color: rgba(232, 255, 58, 0.5); color: var(--volt); }
.tag--ice { border-color: rgba(63, 208, 255, 0.45); color: var(--ice); }
.tag--flare { border-color: rgba(255, 122, 26, 0.5); color: var(--flare); }

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
  vertical-align: middle;
  flex: 0 0 auto;
}
.dot--volt { background: var(--volt); }
.dot--flare { background: var(--flare); }
.dot--live { animation: lamp 2s ease-out infinite; }

@keyframes lamp {
  0% { box-shadow: 0 0 0 0 rgba(63, 208, 255, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(63, 208, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 208, 255, 0); }
}

.index-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--seam);
  transition: background-color 0.2s ease, padding 0.2s ease;
}
.index-row:hover { background: rgba(27, 68, 54, 0.35); padding-inline: 0.85rem; }

.list-tick { display: flex; flex-direction: column; gap: 0.75rem; }
.list-tick li {
  position: relative;
  padding-left: 1.4rem;
  color: #CFDDD6;
}
.list-tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 2px;
  background: var(--volt);
}

/* ---------- 7. 面板与横向带 ---------- */
.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(12, 42, 32, 0.95), rgba(6, 21, 15, 0.98));
  border: 1px solid var(--seam);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.panel--hover:hover {
  border-color: rgba(232, 255, 58, 0.55);
  transform: translateY(-2px);
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--chalk);
}
.panel-meta {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(100deg, rgba(12, 42, 32, 0.92), rgba(6, 21, 15, 0.97));
  border-block: 1px solid var(--seam);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  pointer-events: none;
  background:
    linear-gradient(102deg, transparent 40%, rgba(232, 255, 58, 0.06) 40.2%, rgba(232, 255, 58, 0.06) 54%, transparent 54.2%),
    linear-gradient(102deg, transparent 66%, rgba(63, 208, 255, 0.07) 66.2%, rgba(63, 208, 255, 0.07) 74%, transparent 74.2%);
}
.band > * { position: relative; z-index: 1; }
.band--volt { background: linear-gradient(100deg, rgba(232, 255, 58, 0.1), rgba(6, 21, 15, 0.96) 58%); }

.ruler {
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--seam) 0 1px, transparent 1px 14px);
  opacity: 0.9;
}
.ruler--volt {
  background-image: repeating-linear-gradient(90deg, rgba(232, 255, 58, 0.5) 0 1px, transparent 1px 14px);
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--seam) 15%, var(--seam) 85%, transparent);
}

/* ---------- 8. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, rgba(27, 68, 54, 0.65), rgba(6, 21, 15, 0.95));
  border: 1px solid var(--seam);
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
}
.media-frame > img,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 12, 8, 0.05) 35%, rgba(3, 12, 8, 0.78));
}
.media-frame--scan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(244, 248, 245, 0.05) 0 1px, transparent 1px 4px);
}

/* ---------- 9. 面包屑 / 正文 / 区块题头 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.crumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "／"; color: var(--seam); }
.crumbs a { color: var(--mist); text-decoration: none; transition: color 0.2s ease; }
.crumbs a:hover { color: var(--ice); }
.crumbs [aria-current="page"] { color: var(--volt); }

.prose {
  max-width: 68ch;
  color: #CFDDD6;
  font-size: 1.03rem;
  line-height: 1.78;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--volt); }
.prose strong { color: var(--chalk); }
.prose ul { display: flex; flex-direction: column; gap: 0.5em; }
.prose li { position: relative; padding-left: 1.2em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--volt);
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.sec-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.sec-note {
  max-width: 46ch;
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- 10. 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   11. 页头
   ============================================================ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--volt);
  color: var(--pitch);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 16px 0 8px;
  transition: padding 0.28s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 21, 15, 0.94) 14%, rgba(6, 21, 15, 0.7) 58%, rgba(6, 21, 15, 0) 100%);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--volt), var(--ice) 55%, var(--flare));
  transition: transform 0.12s linear;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
  padding: 0.5rem;
  border: 1px solid var(--seam);
  border-radius: 999px;
  background: rgba(12, 42, 32, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 46px -28px rgba(3, 12, 8, 0.95);
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

/* 品牌浮岛 */
.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.brand-island:hover { background: rgba(27, 68, 54, 0.55); }
.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  background: var(--volt);
  color: var(--pitch);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.04em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.brand-glyph { transform: translateY(-1px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--chalk);
}
.brand-slogan {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

/* 栏目胶囊 */
.nav-capsule {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { display: block; }
.nav-item--cta { display: none; }
.nav-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover { color: var(--chalk); background: rgba(27, 68, 54, 0.7); }
.nav-link[aria-current="page"] {
  color: var(--pitch);
  background: var(--volt);
  font-weight: 700;
}

/* 右侧状态区 */
.header-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--seam);
  border-radius: 999px;
  background: rgba(6, 21, 15, 0.6);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--mist);
  white-space: nowrap;
}
.status-lamp {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ice);
  animation: lamp 2s ease-out infinite;
}
.status-text { display: inline-flex; align-items: center; gap: 0.35rem; }
.status-label { color: var(--volt); font-weight: 700; }
.status-divider { color: var(--seam); }
.status-fixed { color: var(--mist); }
.status-countdown { color: var(--chalk); font-weight: 700; }

.header-cta { padding: 0.72rem 1.15rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.9rem;
  border: 1px solid var(--seam);
  border-radius: 999px;
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover { border-color: var(--ice); color: var(--ice); }
.nav-toggle-bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.site-header[data-open] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 下滚收拢 */
.site-header.is-compact { padding-top: 8px; }
.site-header.is-compact .header-inner {
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
  background: rgba(6, 21, 15, 0.92);
  border-color: rgba(27, 68, 54, 0.9);
}
.site-header.is-compact .brand-slogan { display: none; }
.site-header.is-compact .status-chip { display: none; }

/* ============================================================
   12. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--seam);
  background: linear-gradient(180deg, rgba(12, 42, 32, 0.6), rgba(6, 21, 15, 1) 44%);
}

.footer-rail {
  height: 6px;
  background-color: var(--seam);
  background-image: repeating-linear-gradient(90deg, var(--volt) 0 2px, transparent 2px 16px);
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 72px 0 44px;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; max-width: 36ch; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--chalk);
}
.footer-slogan {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--volt);
}
.footer-note { color: var(--mist); font-size: 0.92rem; line-height: 1.75; }
.footer-cta { align-self: flex-start; margin-top: 0.35rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ice);
  text-transform: uppercase;
}

.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list--plain { gap: 1.05rem; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--chalk);
  opacity: 0.78;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s var(--ease);
}
.footer-link::before {
  content: "";
  width: 12px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--seam);
  transition: width 0.2s ease, background-color 0.2s ease;
}
.footer-link:hover { color: var(--volt); opacity: 1; transform: translateX(3px); }
.footer-link:hover::before { width: 20px; background: var(--volt); }

.footer-item { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.footer-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--mist);
  opacity: 0.72;
}
.footer-val {
  color: var(--chalk);
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.footer-val--mono {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.copy-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--seam);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--mist);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.copy-btn:hover { border-color: var(--flare); color: var(--flare); background: rgba(255, 122, 26, 0.08); }
.copy-btn[data-copied="true"] { border-color: var(--volt); color: var(--volt); background: rgba(232, 255, 58, 0.08); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 22px 0 40px;
  border-top: 1px solid var(--seam);
}
.footer-signoff {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  font-size: 0.78rem;
  color: var(--mist);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal-link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-legal-link:hover { color: var(--ice); border-bottom-color: var(--ice); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ============================================================
   13. 响应式
   ============================================================ */
@media (max-width: 1180px) {
  .status-chip { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { justify-content: space-between; border-radius: 26px; }
  .header-cta { display: none; }
  .nav-item--cta { display: block; }

  .nav-capsule {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.6rem);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.9rem;
    border: 1px solid var(--seam);
    border-radius: 24px;
    background: rgba(6, 21, 15, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -30px rgba(3, 12, 8, 0.98);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .site-header[data-open] .nav-capsule { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; width: 100%; }
  .nav-link { padding: 0.85rem 1rem; border-radius: 14px; font-size: 1rem; }
  .nav-cta { width: 100%; margin-top: 0.4rem; }

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

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  body { font-size: 1rem; }
  .brand-island { padding-right: 0.4rem; }
  .brand-slogan { display: none; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .nav-toggle-text { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .index-row { grid-template-columns: minmax(0, 1fr) auto; }
  .index-row > :nth-child(2) { grid-column: 1 / -1; }
}

/* ---------- 14. 无障碍：减少动效 ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover,
  .panel--hover:hover,
  .footer-link:hover { transform: none; }
}
