/* ============================================================
   非凡体育 · 全站共享样式 /assets/site.css
   深墨绿夜间数据面板底 + 荧光青强调 + 切角面板语言
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, hr { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

hr { border: 0; }

[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --ink: #061A16;
  --panel: #0C2B24;
  --panel-2: #123B32;
  --cyan: #35F0D0;
  --teal: #17A79B;
  --flare: #FF5B2E;
  --amber: #FFC24B;
  --fog: #E9F5F0;
  --muted: #7C9A92;
  --violet: #7B5CFF;
  --paper: #F3EFE4;

  --line: rgba(53, 240, 208, 0.18);
  --line-soft: rgba(124, 154, 146, 0.26);
  --panel-deep: #08211B;
  --footer-bg: #04120F;

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --cut: 12px;
  --cut-sm: 7px;
  --dur: 0.24s;
  color-scheme: dark;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(53, 240, 208, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 240, 208, 0.028) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 7vw, 64px); }
h2 { font-size: clamp(26px, 3.8vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; letter-spacing: 0.04em; }

p { text-wrap: pretty; }

::selection { background: var(--cyan); color: var(--ink); }

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

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 100px); }
.section--tight { padding-block: clamp(30px, 4vw, 56px); }

.section--paper {
  background: var(--paper);
  color: #0B1F1A;
  border-top: 1px solid rgba(11, 31, 26, 0.1);
  border-bottom: 1px solid rgba(11, 31, 26, 0.1);
}
.section--paper .eyebrow { color: #0E6B5E; }
.section--paper .lede { color: rgba(11, 31, 26, 0.78); }
.section--paper .rule { background: rgba(11, 31, 26, 0.16); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rule { height: 1px; background: var(--line-soft); }

/* ---------- text helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(233, 245, 240, 0.82);
  max-width: 720px;
}

.prose {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(233, 245, 240, 0.86);
}

.prose p + p { margin-top: 1.05em; }
.prose h2, .prose h3 { margin-top: 1.7em; margin-bottom: 0.55em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(53, 240, 208, 0.45);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--cyan); }

.prose ul, .prose ol { display: grid; gap: 0.62em; margin-top: 1em; }

.prose li { position: relative; padding-left: 22px; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--cyan);
}

.section--paper .prose { color: rgba(11, 31, 26, 0.86); }
.section--paper .prose a { color: #0E6B5E; text-decoration-color: rgba(14, 107, 94, 0.45); }
.section--paper .prose li::before { background: #0E6B5E; }

/* ---------- chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42em 0.85em;
  color: var(--cyan);
  background: rgba(53, 240, 208, 0.08);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

.chip--flare { color: var(--flare); background: rgba(255, 91, 46, 0.1); border-color: rgba(255, 91, 46, 0.36); }
.chip--amber { color: var(--amber); background: rgba(255, 194, 75, 0.1); border-color: rgba(255, 194, 75, 0.36); }
.chip--violet { color: var(--violet); background: rgba(123, 92, 255, 0.12); border-color: rgba(123, 92, 255, 0.4); }

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  color: var(--muted);
  border: 1px solid var(--line-soft);
}
.tag--cyan { color: var(--cyan); border-color: rgba(53, 240, 208, 0.45); background: rgba(53, 240, 208, 0.08); }
.tag--flare { color: var(--flare); border-color: rgba(255, 91, 46, 0.4); background: rgba(255, 91, 46, 0.08); }
.tag--amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.4); background: rgba(255, 194, 75, 0.08); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 0.72em 1.5em;
  color: var(--ink);
  background: var(--cyan);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform var(--dur) ease, background-color var(--dur) ease, color var(--dur) ease, box-shadow var(--dur) ease;
}

.btn:hover { background: #5cf7dd; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  color: var(--cyan);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(53, 240, 208, 0.42);
}
.btn--ghost:hover { background: rgba(53, 240, 208, 0.12); color: #5cf7dd; }

.btn--flare { color: #1A0703; background: var(--flare); }
.btn--flare:hover { background: #ff7a52; }

.btn--sm { font-size: 13px; padding: 0.5em 1.05em; letter-spacing: 0.06em; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 300;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--cyan);
  transition: top 0.18s ease;
}

.skip-link:focus { top: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: relative; z-index: 90; }

/* --- 上层品牌说明条 --- */
.hud {
  background: linear-gradient(180deg, #08211B 0%, #061A16 100%);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hud__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 11px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 38px);
  flex-wrap: wrap;
}

.hud__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.brand-mark {
  width: 10px;
  height: 10px;
  flex: none;
  align-self: center;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hud__readouts {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  flex: 1 1 auto;
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
}

.readout { display: flex; align-items: center; gap: 7px; white-space: nowrap; }

.readout__key {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--teal);
}

.readout__val { color: rgba(233, 245, 240, 0.8); letter-spacing: 0.04em; }

.hud__cta { flex: none; font-size: 13px; padding: 0.5em 1.05em; letter-spacing: 0.06em; }

/* --- 下层栏目条 --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 26, 22, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.navbar__inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.nav { flex: 1 1 auto; min-width: 0; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.6vw, 26px);
}

.nav__link {
  position: relative;
  display: block;
  padding: 16px 2px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: rgba(233, 245, 240, 0.76);
  transition: color var(--dur) ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur) ease, background-color var(--dur) ease;
}

.nav__link:hover { color: var(--fog); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--cyan); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--flare); }

/* --- 移动端按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line);
  transition: background-color var(--dur) ease, color var(--dur) ease;
}

.nav-toggle:hover { background: rgba(53, 240, 208, 0.1); }

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] { background: rgba(53, 240, 208, 0.14); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--footer-bg);
  border-top: 1px solid var(--line-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--teal) 34%, rgba(53, 240, 208, 0) 78%);
}

.footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 66px) var(--gutter) clamp(22px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.5fr;
  gap: clamp(22px, 3vw, 40px);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fog);
}

.footer__sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer__note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__list { display: grid; gap: 9px; }

.footer__link {
  display: inline-block;
  font-size: 14px;
  color: rgba(233, 245, 240, 0.72);
  transition: color var(--dur) ease, transform var(--dur) ease;
}

.footer__link:hover { color: var(--cyan); transform: translateX(3px); }

.contact-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.7;
}

.contact-line__key {
  flex: none;
  width: 52px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.contact-line__val { color: rgba(233, 245, 240, 0.78); }

.footer__base { border-top: 1px solid rgba(124, 154, 146, 0.18); }

.footer__base-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

/* ============================================================
   通用组件
   ============================================================ */
.panel {
  position: relative;
  background: linear-gradient(158deg, var(--panel) 0%, #0A211C 72%, #08201A 100%);
  padding: clamp(18px, 2.4vw, 28px);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform var(--dur) ease, background-color var(--dur) ease;
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cut);
  height: var(--cut);
  background: var(--cyan);
  opacity: 0.78;
  pointer-events: none;
}

.panel--flare::after { background: var(--flare); }
.panel--amber::after { background: var(--amber); }

.panel--paper {
  background: var(--paper);
  color: #0B1F1A;
}
.panel--paper::after { background: var(--teal); }

.panel--hover:hover {
  transform: translateY(-4px);
  background: linear-gradient(158deg, var(--panel-2) 0%, #0C2B24 72%, #0A2620 100%);
}

.stat { display: grid; gap: 6px; }

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb {
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(124, 154, 146, 0.5);
}

.breadcrumb a { color: var(--muted); transition: color var(--dur) ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__item[aria-current="page"] { color: var(--cyan); }

/* --- 图片容器 --- */
.figure {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.figure__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #123B32 0%, #0C2B24 45%, #061A16 100%);
}

.figure--tall .figure__img { aspect-ratio: 3 / 4; }
.figure--square .figure__img { aspect-ratio: 1 / 1; }
.figure--cinema .figure__img { aspect-ratio: 21 / 9; }

.figure__cap {
  display: block;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(6, 26, 22, 0.66);
}

/* --- 筛选 --- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; }

.filter__btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55em 0.95em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  background: transparent;
  transition: color var(--dur) ease, border-color var(--dur) ease, background-color var(--dur) ease;
}

.filter__btn:hover { color: var(--fog); border-color: var(--line); }

.filter__btn.is-active,
.filter__btn[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.filter__empty {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 10px 0;
}

/* --- 入场显现 --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .hud__readouts { gap: 14px; }
  .readout:nth-child(3) { display: none; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__contact { grid-column: span 3; }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-sub { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #08211B;
    border-bottom: 1px solid var(--line-soft);
    transition: max-height 0.3s ease, opacity 0.22s ease;
  }

  .nav[data-open="true"] {
    max-height: 74vh;
    overflow-y: auto;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
  }

  .nav__link {
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px dashed rgba(124, 154, 146, 0.24);
  }

  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { padding-left: 12px; border-left: 2px solid var(--flare); }

  .hud__readouts { display: none; }
  .hud__inner { justify-content: space-between; }
  .hud__cta { margin-left: auto; }
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 2; }
  .footer__contact { grid-column: span 2; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__brand, .footer__contact { grid-column: auto; }
  .footer__base-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- 动效偏好 --- */
@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;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .navbar__scan { display: none; }
}
