/* =========================================================
   体育手机登录 · 共享样式表 /assets/site.css
   深墨绿赛场底 + 荧光数据线 + 粗野主义展签
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--orange); color: #0A1C18; }

/* ---------- 2. Tokens ---------- */
:root {
  --bg-deep: #0A1C18;
  --panel: #12302A;
  --frame: #38463F;
  --ink: #EDE8DC;
  --ink-2: #B6BDB4;
  --cyan: #6FF2D8;
  --orange: #FF8A3C;
  --clay: #B4573A;
  --mist: #2E5F55;
  --paper: #F7F3E8;

  --rail-w: 88px;
  --topbar-h: 68px;
  --bottombar-h: 64px;
  --wrap-max: 1180px;
  --gutter: clamp(16px, 4vw, 48px);

  --font-body: "Inter", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-display: "HarmonyOS Sans SC Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.42);
  --shadow-soft: 4px 4px 0 rgba(0, 0, 0, 0.32);
  --shadow-cyan: 5px 5px 0 rgba(111, 242, 216, 0.26);
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
  --line: 2px solid var(--frame);
}

/* ---------- 3. 基础排版与页面底色 ---------- */
body {
  background-color: var(--bg-deep);
  background-image:
    repeating-linear-gradient(0deg, rgba(111, 242, 216, 0.035) 0 1px, rgba(0, 0, 0, 0) 1px 5px),
    radial-gradient(120% 70% at 78% -12%, rgba(46, 95, 85, 0.38), rgba(0, 0, 0, 0) 62%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) {
  body { padding-left: var(--rail-w); padding-top: var(--topbar-h); }
}
@media (max-width: 899px) {
  body { padding-bottom: var(--bottombar-h); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--ink);
}
p { text-wrap: pretty; }
strong { color: var(--ink); }

.display-1 { font-size: clamp(34px, 6vw, 68px); }
.display-2 { font-size: clamp(28px, 4.4vw, 48px); }
.display-3 { font-size: clamp(22px, 2.8vw, 32px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.lede { font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.8; color: var(--ink-2); max-width: 62ch; }
.note { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.data { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. 布局容器 ---------- */
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1400px; }
.section { padding-block: clamp(48px, 7vw, 110px); }
.section--tight { padding-block: clamp(26px, 4vw, 56px); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 70ch; margin-bottom: clamp(20px, 3vw, 40px); }

.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
@media (max-width: 899px) {
  .grid--2, .grid--3, .grid--split { grid-template-columns: minmax(0, 1fr); }
}

.rule { height: 2px; background: var(--frame); border: 0; }
.rule--dashed { height: 0; border: 0; border-top: 2px dashed var(--frame); background: none; }
.stack { display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 22px); }
.stack--tight { gap: 10px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- 5. 通用组件 ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.breadcrumb a { color: var(--cyan); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-bottom-color: var(--cyan); }
.breadcrumb__sep { color: var(--frame); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800;
  font-size: 14px; letter-spacing: 0.08em;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-cyan); }
.btn--primary { background: var(--orange); border-color: var(--orange); color: #0A1C18; }
.btn--ghost { background: transparent; border-color: var(--frame); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--cyan { background: var(--cyan); border-color: var(--cyan); color: #0A1C18; }

.card {
  position: relative; transform-origin: center;
  background: var(--panel); border: var(--line);
  padding: clamp(18px, 2.2vw, 28px); box-shadow: var(--shadow-hard);
}
.card--tilt { transform: rotate(-1.1deg); }
.card--tilt-alt { transform: rotate(1.1deg); }
.card--accent { border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em; }
.card__body { color: var(--ink-2); font-size: 15.5px; }
.card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--frame); }

.data-figure {
  display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: clamp(46px, 9vw, 104px);
  line-height: 0.86; letter-spacing: -0.05em; color: var(--orange);
}
.data-figure--cyan { color: var(--cyan); }
.data-figure--ink { color: var(--ink); }
.data-figure--sm { font-size: clamp(30px, 4.4vw, 56px); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--frame);
  background: rgba(46, 95, 85, 0.3);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.tag--cyan { color: var(--cyan); border-color: var(--cyan); background: rgba(111, 242, 216, 0.08); }
.tag--orange { color: #0A1C18; background: var(--orange); border-color: var(--orange); }
.tag--clay { color: var(--paper); background: var(--clay); border-color: var(--clay); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 2px solid var(--frame);
  font-size: 13px; letter-spacing: 0.06em; color: var(--ink-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { color: #0A1C18; background: var(--cyan); border-color: var(--cyan); font-weight: 700; }

/* 图像容器：页面阶段投放图片时使用 */
.media {
  position: relative; overflow: hidden;
  border: var(--line); background: var(--panel); box-shadow: var(--shadow-hard);
}
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--panel), var(--mist));
  color: var(--ink-2); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(10, 28, 24, 0) 0%, rgba(10, 28, 24, 0.9) 100%);
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink);
}
.media__badge { position: absolute; top: 12px; left: 12px; }

/* 可展开内容组 */
.accordion { border-top: var(--line); }
.accordion__item { border-bottom: var(--line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: 0.01em; transition: color 0.18s var(--ease);
}
.accordion__trigger:hover { color: var(--cyan); }
.accordion__trigger[aria-expanded="true"] { color: var(--cyan); }
.accordion__icon {
  flex: none; width: 22px; height: 22px; position: relative;
  border: 2px solid currentColor;
  transition: transform 0.22s var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: currentColor;
}
.accordion__icon::before { width: 10px; height: 2px; }
.accordion__icon::after { width: 2px; height: 10px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel { padding: 0 4px 20px; font-size: 15.5px; color: var(--ink-2); }
.accordion__panel > * + * { margin-top: 12px; }

/* 入场显现 */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(24px); }
.has-reveal [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.3s var(--ease), transform 0.32s var(--ease);
}

/* 返回顶部（由 JS 注入） */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 85;
  width: 48px; height: 48px; display: none; align-items: center; justify-content: center;
  background: var(--panel); border: 2px solid var(--cyan); color: var(--cyan);
  font-family: var(--font-mono); font-size: 17px; line-height: 1;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.to-top.is-visible { display: inline-flex; }
.to-top:hover { transform: translate(-2px, -2px); background: rgba(111, 242, 216, 0.12); }

/* ---------- 6. 顶部：品牌轨道 + 栏目组 ---------- */
.site-header { position: relative; z-index: 60; }

.skip-link {
  position: fixed; top: 10px; left: 50%; z-index: 200;
  transform: translate(-50%, -240%);
  padding: 10px 20px; background: var(--orange); color: #0A1C18;
  border: 2px solid #0A1C18;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.08em;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.brand-rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail-w);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 26px 0 30px;
  background: linear-gradient(180deg, #12302A 0%, #0B211C 62%, #0A1C18 100%);
  border-right: 2px solid var(--frame);
  z-index: 70;
}
.brand-rail::before {
  content: ""; position: absolute; top: 0; right: -2px; width: 2px; height: 116px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(111, 242, 216, 0) 100%);
}
.brand-rail__brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.brand-rail__glyph {
  display: block; width: 26px; height: 26px; position: relative;
  border: 2px solid var(--cyan); background: rgba(111, 242, 216, 0.1);
}
.brand-rail__glyph::after { content: ""; position: absolute; inset: 6px; background: var(--orange); }
.brand-rail__name {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.34em; color: var(--ink);
  transition: color 0.18s var(--ease);
}
.brand-rail__brand:hover .brand-rail__name { color: var(--cyan); }
.brand-rail__season {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.28em; color: var(--ink-2);
}

.nav-bar {
  position: fixed; top: 0; left: var(--rail-w); right: 0;
  height: var(--topbar-h); z-index: 65;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(16px, 2.6vw, 36px);
  background: rgba(10, 28, 24, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--frame);
}
.nav-bar__status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}
.nav-bar__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(111, 242, 216, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.nav-bar__home {
  display: none;
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.06em; color: var(--ink);
}
.nav-bar__end { display: flex; align-items: center; gap: 14px; }

.site-nav__list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.site-nav__item { display: block; }
.site-nav__link {
  display: inline-block; padding: 8px 12px;
  border: 2px solid transparent;
  font-size: 13.5px; letter-spacing: 0.06em; color: var(--ink-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__link:hover { color: var(--ink); border-color: var(--frame); }
.site-nav__link[aria-current="page"] {
  color: var(--cyan); border-color: var(--cyan);
  background: rgba(111, 242, 216, 0.08);
  box-shadow: 3px 3px 0 rgba(111, 242, 216, 0.18);
}

.nav-bar__cta {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 10px 16px; background: var(--orange); color: #0A1C18;
  border: 2px solid var(--orange);
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 rgba(255, 138, 60, 0.22);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-bar__cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(255, 138, 60, 0.3); }

.nav-toggle {
  display: none; align-items: center; gap: 9px;
  padding: 9px 13px; border: 2px solid var(--frame); color: var(--ink);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bar { display: block; height: 2px; background: currentColor; }
.nav-toggle__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 110px);
  background: linear-gradient(180deg, #0A1C18 0%, #0C2320 100%);
  border-top: 2px solid var(--frame);
}
.site-footer::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 180px; height: 2px; background: var(--orange);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr 1.1fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(34px, 5vw, 64px);
}
.footer-col { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 18px; }
.footer-col::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--frame); }
.footer-col--index::before { background: var(--cyan); }
.footer-col--registry::before { background: var(--clay); }
.footer-col__eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2);
}
.footer-col__lede {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; color: var(--ink);
}
.footer-col__note { font-size: 14px; line-height: 1.7; color: var(--ink-2); max-width: 34ch; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-tag {
  padding: 3px 8px; border: 1px solid var(--frame);
  background: rgba(46, 95, 85, 0.28); color: var(--ink-2);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  position: relative; display: inline-block;
  font-size: 14.5px; color: var(--ink-2);
  transition: color 0.18s var(--ease);
}
.footer-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.footer-link:hover { color: var(--cyan); }
.footer-link:hover::after { transform: scaleX(1); }
.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-meta__row {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
  padding-bottom: 8px; border-bottom: 1px dashed var(--frame);
}
.footer-meta__k {
  min-width: 72px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.footer-meta__v {
  font-family: var(--font-mono); font-size: 13.5px;
  letter-spacing: 0.01em; color: var(--ink); word-break: break-word;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }
.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; padding-block: 20px; border-top: 2px solid var(--frame);
}
.footer-base__note { font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-2); }

/* ---------- 8. 响应式：平板与手机 ---------- */
@media (max-width: 1099px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--registry { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .brand-rail { display: none; }

  .nav-bar {
    top: auto; bottom: 0; left: 0; right: 0; height: var(--bottombar-h);
    padding: 0 12px; gap: 10px;
    border-bottom: 0; border-top: 2px solid var(--frame);
    background: rgba(10, 28, 24, 0.97);
  }
  .nav-bar__status { display: none; }
  .nav-bar__home { display: inline-flex; align-items: center; min-width: 0; }
  .nav-bar__end { flex: 1 1 auto; justify-content: flex-end; gap: 10px; }
  .nav-bar__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed; left: 0; right: 0; bottom: var(--bottombar-h);
    max-height: 0; overflow: hidden;
    background: var(--panel); border-top: 2px solid var(--frame);
    transition: max-height 0.26s var(--ease);
  }
  .site-nav[data-open] { max-height: min(72vh, 540px); overflow-y: auto; }
  .site-nav__list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px; padding: 12px 12px 16px;
  }
  .site-nav__link { display: block; padding: 12px 10px; border-color: var(--frame); font-size: 14px; }
  .site-nav__link[aria-current="page"] { border-color: var(--cyan); }

  .to-top { right: 12px; bottom: calc(var(--bottombar-h) + 14px); width: 44px; height: 44px; }
}
@media (max-width: 679px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col--registry { grid-column: auto; }
}

/* ---------- 9. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .nav-bar__pulse { animation: none; }
  .card--tilt, .card--tilt-alt { transform: none; }
}
