/* ===========================================================
   易倍体育 · 共享样式 /assets/site.css
   夜场墨绿底 + 荧光青数据 + 亮橙单点强调
   =========================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 136px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* ---------- tokens ---------- */
:root {
  --ink-900: #061410;
  --ink-800: #0A1F19;
  --surface-1: #122E25;
  --surface-2: #1A4034;
  --line: #24473B;
  --neon: #3DF2CE;
  --orange: #FF8A2B;
  --paper: #EAF2EE;
  --muted: #9FB6AE;
  --warn: #FFC24B;

  --radius-sm: 12px;
  --radius-card: 24px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: 20px;
  --section-space: 96px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-data: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-editorial: "Songti SC", Georgia, "Times New Roman", "Noto Serif SC", serif;

  --ease: cubic-bezier(.2, .65, .25, 1);
  --shadow-card: 0 26px 52px -34px rgba(0, 0, 0, .9);
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 84% -12%, rgba(61, 242, 206, .08), transparent 62%),
    radial-gradient(820px 520px at 4% 6%, rgba(255, 138, 43, .07), transparent 58%),
    var(--ink-800);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  font-stretch: semi-condensed;
}

.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-editorial); font-weight: 600; letter-spacing: .01em; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--neon);
  color: #04211A;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 90;
  background: linear-gradient(90deg, var(--neon), var(--orange));
  transition: width 90ms linear;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 20, 16, .97), rgba(10, 31, 25, .93));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.brand-mark {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 4px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 43, .14), 0 0 18px rgba(255, 138, 43, .55);
}
.brand-text { color: var(--paper); }
.brand-sub {
  font-family: var(--font-data);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.round-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.round-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(61, 242, 206, .16);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
.round-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--neon);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--paper);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.nav-toggle:hover { border-color: var(--neon); color: var(--neon); }
.nav-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--neon);
  border-bottom: 2px solid var(--neon);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 200ms var(--ease);
}
.site-header[data-open] .nav-toggle-icon { transform: rotate(-135deg) translate(-2px, -2px); }

.site-nav { padding: 10px 0; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-link {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
  white-space: nowrap;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.nav-link:hover { background: var(--surface-1); border-color: var(--line); }
.nav-link[aria-current="page"] {
  color: var(--neon);
  background: var(--surface-1);
  border-color: var(--line);
  box-shadow: inset 0 -2px 0 var(--neon);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .01em;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn-primary {
  background: var(--orange);
  color: #21120A;
  box-shadow: 0 14px 34px -20px rgba(255, 138, 43, .9);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -18px rgba(255, 138, 43, .95); }
.btn-ghost {
  background: var(--surface-1);
  border-color: var(--line);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

/* ---------- layout ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section-space); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 40px;
}
.section-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--neon);
}
.section-title {
  font-size: clamp(28px, 4vw, 52px);
  flex: 1 1 320px;
}
.eyebrow {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }

.grid-auto {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- cards & panels ---------- */
.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  box-shadow: var(--shadow-card);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.card:hover { border-color: var(--neon); }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-1), var(--ink-900));
}

/* ---------- chips & badges ---------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.chip:hover { color: var(--paper); border-color: var(--surface-2); }
.chip[aria-pressed="true"] {
  background: var(--surface-2);
  border-color: var(--neon);
  color: var(--neon);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--neon);
}
.badge--warn {
  border-color: rgba(255, 194, 75, .45);
  background: rgba(255, 194, 75, .1);
  color: var(--warn);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 0 0;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li::after { content: "/"; color: var(--line); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a:hover { color: var(--neon); }

/* ---------- prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper);
}
.prose p { margin-bottom: 1.1em; }
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 1.8em 0 .6em;
}
.prose h3 {
  font-size: 22px;
  margin: 1.6em 0 .5em;
}
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .55em;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 2px;
  background: var(--neon);
}
.prose a {
  color: var(--neon);
  border-bottom: 1px solid rgba(61, 242, 206, .35);
}
.prose a:hover { border-bottom-color: var(--neon); }
.prose strong { color: var(--neon); font-weight: 700; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.7;
  color: var(--paper);
}
.prose code {
  font-family: var(--font-data);
  font-size: 15px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-1);
  color: var(--neon);
}

/* ---------- data rows ---------- */
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.stat-row:last-child { border-bottom: 0; }
.stat-label { font-size: 14px; color: var(--muted); }
.stat-value {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  color: var(--paper);
}
.stat-value--neon { color: var(--neon); }
.stat-value--orange { color: var(--orange); }

/* ---------- media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--night::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 18% 8%, rgba(61, 242, 206, .18), transparent 60%),
    linear-gradient(180deg, rgba(6, 20, 16, 0) 40%, rgba(6, 20, 16, .85));
  pointer-events: none;
}
.media--court::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    repeating-linear-gradient(135deg, rgba(61, 242, 206, .12) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(45deg, rgba(255, 138, 43, .1) 0 1px, transparent 1px 42px);
  pointer-events: none;
}
.media-caption {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- table of contents ---------- */
.toc { position: sticky; top: 136px; }
.toc-title {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc-list { display: grid; gap: 2px; margin-top: 14px; }
.toc-link {
  display: block;
  padding: 8px 14px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.toc-link:hover { color: var(--paper); }
.toc-link.is-active {
  color: var(--neon);
  border-left-color: var(--neon);
  background: var(--surface-1);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--section-space);
  padding: 72px 0 32px;
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 242, 206, .55), transparent);
}
.footer-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 48px;
}
.footer-brand { max-width: 440px; }
.brand--footer { font-size: 20px; margin-right: 0; }
.footer-tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-col-title {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  font-size: 15px;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer-links a:hover { color: var(--neon); border-bottom-color: rgba(61, 242, 206, .5); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-contact-item { display: flex; align-items: baseline; gap: 10px; }
.footer-contact-label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}
.footer-contact-value {
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--paper);
}
.footer-note {
  margin-top: 16px;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 28px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--muted);
}
.footer-legal-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-legal-links a {
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer-legal-links a:hover { color: var(--neon); border-bottom-color: rgba(61, 242, 206, .5); }
.footer-icp { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  :root { --section-space: 80px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 18px; }
  .site-header .header-top {
    flex-wrap: wrap;
    padding: 12px 0 10px;
    border-bottom: 0;
    gap: 12px;
  }
  .brand { font-size: 19px; }
  .brand-sub { display: none; }
  .header-meta {
    display: none;
    order: 4;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0 4px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }
  .site-header[data-open] .header-meta { display: flex; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    padding: 4px 0 10px;
    border-top: 1px solid var(--line);
  }
  .nav-list { gap: 8px; }
  .site-header[data-open] .nav-list {
    flex-wrap: wrap;
    overflow: visible;
  }
  .site-header[data-open] .nav-link {
    border-color: var(--line);
    background: var(--surface-1);
  }
}

@media (max-width: 960px) {
  .grid-12 > [class^="col-"] { grid-column: span 12; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; }
}

@media (max-width: 767px) {
  :root { --section-space: 64px; }
  body { font-size: 16px; line-height: 1.8; }
  .section-head { margin-bottom: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-contact { flex-direction: column; gap: 12px; }
  .footer-icp { margin-left: 0; }
  .btn { padding: 10px 20px; font-size: 14px; }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress { transition: none; }
}
