/* ==========================================================================
   球王会赛场 · /assets/site.css
   主题：夜场球场灯光下的数据看台（深墨绿 / 荧光青柠 / 琥珀金）
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --pitch-ink: #08251C;
  --tunnel-green: #0E3A2C;
  --lime-pulse: #C6FF3D;
  --amber-gold: #F2B84B;
  --warm-white: #F7F3E8;
  --mist-green: #9DB8AA;
  --line-green: #2A5748;
  --charcoal: #1B2420;
  --lime-soft: #E6FF9E;
  --signal-coral: #FF7A5C;

  --font-display: "Oswald", "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-numeric: "IBM Plex Mono", "Roboto Mono", "Noto Sans Mono", ui-monospace, monospace;
  --font-body: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "IBM Plex Mono", "Noto Sans SC", "Noto Sans Mono", ui-monospace, monospace;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-pill: 999px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --line: 1px solid var(--line-green);
  --shadow-soft: 0 18px 44px -30px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset & 中文排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--warm-white);
  background-color: var(--pitch-ink);
  background-image:
    radial-gradient(900px 520px at 90% -10%, rgba(198, 255, 61, .085), transparent 68%),
    radial-gradient(720px 460px at -8% 14%, rgba(242, 184, 75, .07), transparent 72%),
    repeating-linear-gradient(90deg, rgba(157, 184, 170, .05) 0 1px, transparent 1px 104px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--warm-white);
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
hr { border: 0; border-top: var(--line); margin: 0; }
strong, b { font-weight: 700; color: var(--warm-white); }
::selection { background: var(--lime-pulse); color: var(--charcoal); }

#main-content { display: block; scroll-margin-top: 104px; }

/* ---------- 3. 可访问性 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime-pulse);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--lime-pulse);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8, 37, 28, .95) 0%,
    rgba(8, 37, 28, .74) 58%,
    rgba(8, 37, 28, 0) 100%);
}

/* 状态带 */
.status-strip {
  height: 36px;
  overflow: hidden;
  background: var(--tunnel-green);
  border-bottom: 1px solid rgba(42, 87, 72, .85);
  color: var(--mist-green);
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: .1em;
  transition: height .32s var(--ease), opacity .32s var(--ease), border-color .32s var(--ease);
}
.status-strip__inner {
  height: 36px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.status-strip__pulse {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-pulse);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, .65);
  animation: statusPulse 2.6s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(198, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}
.status-strip__item { flex: 0 0 auto; }
.status-strip__item--gold { color: var(--amber-gold); }
.status-strip__item--muted { margin-left: auto; color: var(--mist-green); }
.status-strip__divider {
  flex: 0 0 auto;
  width: 1px;
  height: 12px;
  background: var(--line-green);
}

/* 悬浮胶囊浮岛 */
.nav-dock {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  transition: padding .32s var(--ease);
}
.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(42, 87, 72, .95);
  border-radius: var(--radius-pill);
  background: rgba(14, 58, 44, .84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 16px 36px -24px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(247, 243, 232, .07);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease);
}
.nav-pill[data-open="true"] { border-color: rgba(198, 255, 61, .8); }

.site-header.is-condensed .status-strip { height: 0; opacity: 0; border-bottom-color: transparent; }
.site-header.is-condensed .nav-dock { padding-top: 8px; }

/* 品牌锁定 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime-pulse);
  color: var(--charcoal);
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -.02em;
  box-shadow: 0 0 22px -6px rgba(198, 255, 61, .8);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--warm-white);
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--mist-green);
  padding-left: 10px;
  border-left: 1px solid var(--line-green);
  white-space: nowrap;
}
.brand--footer .brand__name { font-size: 20px; }
.brand--footer .brand__mark { width: 40px; height: 40px; font-size: 13px; }

/* 导航 */
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 1.4;
  color: var(--mist-green);
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--lime-pulse);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.site-nav__link:hover { color: var(--warm-white); transform: translateY(-1px); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] {
  background: var(--lime-pulse);
  color: var(--charcoal);
  font-weight: 700;
  box-shadow: 0 8px 20px -14px rgba(198, 255, 61, .95);
}
.site-nav__link[aria-current="page"]::after { display: none; }
.site-nav__foot { display: none; }
.site-nav__foot-link {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist-green);
}
.site-nav__foot-link:hover { color: var(--lime-soft); }

/* 右侧行动区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.nav-actions__link {
  font-size: 13px;
  color: var(--mist-green);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-actions__link:hover { color: var(--lime-soft); border-bottom-color: var(--lime-pulse); }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line-green);
  border-radius: var(--radius-pill);
  color: var(--warm-white);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle[data-open="true"] { border-color: var(--lime-pulse); color: var(--lime-pulse); }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .26s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav-toggle__text {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist-green);
}
.nav-toggle[data-open="true"] .nav-toggle__text { color: var(--lime-pulse); }

/* 滚动进度脉冲线 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime-pulse) 0%, var(--amber-gold) 100%);
  pointer-events: none;
}

/* ---------- 5. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.3;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn--pulse {
  background: var(--lime-pulse);
  color: var(--charcoal);
  box-shadow: 0 12px 26px -16px rgba(198, 255, 61, .95);
}
.btn--pulse:hover { background: var(--lime-soft); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line-green);
  color: var(--warm-white);
}
.btn--ghost:hover { border-color: var(--lime-pulse); color: var(--lime-soft); transform: translateY(-2px); }
.btn--amber {
  background: var(--amber-gold);
  color: var(--charcoal);
  box-shadow: 0 12px 26px -18px rgba(242, 184, 75, .95);
}
.btn--amber:hover { background: #ffc866; transform: translateY(-2px); }
.btn--sm { padding: 9px 17px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
  background: var(--tunnel-green);
  border-top: var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 300px at 92% -12%, rgba(198, 255, 61, .12), transparent 70%),
    radial-gradient(560px 280px at 4% 108%, rgba(242, 184, 75, .08), transparent 72%);
}
.footer-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}
.footer-summary {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist-green);
}
.footer-note {
  margin: 14px 0 0;
  max-width: 36ch;
  font-family: var(--font-label);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(157, 184, 170, .78);
  padding-left: 12px;
  border-left: 1px solid var(--line-green);
}
.footer-title {
  margin: 0 0 16px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-gold);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--mist-green);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-link:hover { color: var(--warm-white); transform: translateX(3px); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: 22px;
  border-top: var(--line);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mist-green);
}
.footer-contact__item { display: inline-flex; align-items: baseline; gap: 8px; }
.footer-contact__key {
  color: var(--warm-white);
  letter-spacing: .14em;
  opacity: .62;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 87, 72, .6);
}
.footer-legal {
  margin: 0;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(157, 184, 170, .82);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-green);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--warm-white);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.to-top:hover {
  border-color: var(--lime-pulse);
  color: var(--charcoal);
  background: var(--lime-pulse);
  transform: translateY(-2px);
}

/* ---------- 7. 版式与内容组件 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 60px); }
.section--tunnel { background: var(--tunnel-green); border-block: var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(28px, 4.2vw, 52px);
  margin: 14px 0 14px;
  color: var(--warm-white);
}
.lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--mist-green);
}
.numeric {
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--amber-gold);
}

/* 面包屑 */
.crumbs {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist-green);
  padding-block: 12px;
}
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--line-green); }
.crumbs a { color: var(--mist-green); }
.crumbs a:hover { color: var(--lime-soft); }
.crumbs [aria-current="page"] { color: var(--warm-white); }

/* 网格 */
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (min-width: 961px) {
  .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-12 { grid-column: span 12; }
}

/* 图片容器（页面阶段放置图片占位） */
.media {
  position: relative;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--tunnel-green);
  box-shadow: var(--shadow-soft);
}
.media__img,
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--cut { border-radius: 26px 0 26px 0; }
.media__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(157, 184, 170, .9);
  background:
    repeating-linear-gradient(135deg, rgba(42, 87, 72, .55) 0 1px, transparent 1px 13px),
    var(--tunnel-green);
}
.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--warm-white);
  background: linear-gradient(to top, rgba(8, 37, 28, .92), rgba(8, 37, 28, 0));
}

/* 轻量显现 */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1120px) {
  .brand__tag { display: none; }
  .site-nav__link { padding: 9px 11px; font-size: 13.5px; }
  .nav-actions__link { display: none; }
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .site-header.is-condensed .status-strip { height: 0; opacity: 0; }

  .nav-pill { gap: 10px; padding: 8px 10px 8px 14px; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--line-green);
    border-radius: 22px;
    background: rgba(10, 42, 32, .985);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 1);
  }
  .site-nav[data-open="true"] { display: block; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; justify-content: flex-start; }
  .site-nav__link { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
  .site-nav__link::after { display: none; }
  .site-nav__link:hover { transform: none; background: rgba(198, 255, 61, .08); }
  .site-nav__link[aria-current="page"] { border-radius: 12px; }

  .site-nav__foot {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line-green);
  }

  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .scroll-progress { height: 2px; }
}

@media (max-width: 760px) {
  .status-strip__divider,
  .status-strip__item--muted { display: none; }
  .status-strip { font-size: 11px; letter-spacing: .06em; }
  .status-strip__inner { gap: 10px; }

  .footer-inner { padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-contact { font-size: 11.5px; gap: 8px 18px; }
}

@media (max-width: 560px) {
  .nav-actions { display: none; }
  .brand__name { font-size: 16px; }
  .nav-dock { padding: 10px var(--gutter); }
  .nav-pill { padding: 7px 8px 7px 12px; }
}

/* ---------- 9. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { background-attachment: scroll; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .site-nav__link:hover,
  .footer-link:hover,
  .btn:hover,
  .to-top:hover { transform: none; }
}
