/* ===== /assets/site.css — 诺亚体育 共享外壳 ===== */

/* --- 变量 --- */
:root {
  --ink: #080A0E;
  --ink-soft: #0C0F15;
  --slate: #2A2F38;
  --away: #1E4BFF;
  --away-lift: #3B63FF;
  --neon: #2BE8B0;
  --alert: #FF6A2B;
  --bone: #F2EFE6;
  --moss: #4C6B4A;
  --clay: #C0663E;
  --line: #3C4350;
  --peak: #FFFFFF;

  --shell: 1320px;
  --pad: clamp(18px, 4vw, 44px);
  --pill: 999px;

  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    "SF Mono", Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(30, 75, 255, 0.18), transparent 62%),
    radial-gradient(780px 520px at 3% 10%, rgba(43, 232, 176, 0.06), transparent 60%);
  background-repeat: no-repeat;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.32vw + 14px, 17px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--away); color: var(--peak); }

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

/* --- 布局容器 --- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--tight { max-width: 1040px; }

main { display: block; padding-top: clamp(96px, 13vw, 142px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.grid-12 > * { min-width: 0; }
.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; }

/* --- 排版基元 --- */
.display {
  font-size: clamp(40px, 8.4vw, 118px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--bone);
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(242, 239, 230, 0.55);
}
.lede {
  font-size: clamp(16px, 0.9vw + 13px, 19px);
  line-height: 1.72;
  color: rgba(242, 239, 230, 0.78);
  max-width: 62ch;
}
.num, .stat-value, .footer-contact {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* --- 分区与容器 --- */
.section { padding-block: clamp(40px, 7vw, 88px); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  align-items: end;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.panel {
  position: relative;
  background: rgba(42, 47, 56, 0.42);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(16px, 2.4vw, 28px);
}
.panel--solid { background: var(--slate); }
.panel--edge { border-left: 2px solid var(--away); }

/* --- 数据组件 --- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--peak);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(242, 239, 230, 0.55);
}
.stat--up .stat-value { color: var(--neon); }
.stat--down .stat-value { color: var(--alert); }
.stat--clay .stat-value { color: var(--clay); }

/* --- chip 筛选 --- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(242, 239, 230, 0.78);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.chip:hover { border-color: var(--away); color: var(--peak); }
.chip[aria-pressed="true"] {
  background: var(--away);
  border-color: var(--away);
  color: var(--peak);
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease;
}
.btn-away {
  background: var(--away);
  border-color: var(--away);
  color: var(--peak);
}
.btn-away:hover {
  background: var(--away-lift);
  border-color: var(--away-lift);
  box-shadow: 0 0 0 1px rgba(43, 232, 176, 0.5), 0 10px 26px -14px rgba(30, 75, 255, 0.95);
}
.btn-ghost { background: transparent; color: var(--bone); }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

/* --- 面包屑 --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 230, 0.55);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumbs a:hover { color: var(--neon); }

/* --- 图片容器（页面阶段放置图片占位） --- */
.img-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--slate) 0%, #10141B 72%);
}
.img-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(60, 67, 80, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 67, 80, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
}
.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--map { aspect-ratio: 21 / 9; }
.img-cap {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(242, 239, 230, 0.5);
}

/* --- 纵向数据轴 --- */
.data-axis {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.data-axis::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 38%;
  background: linear-gradient(180deg, var(--away), transparent);
}
.axis-mark {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 230, 0.55);
}
.axis-mark::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 17px;
  width: 9px;
  height: 1px;
  background: var(--clay);
}

/* --- 显现 --- */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- skip link --- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--away);
  color: var(--peak);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--pill);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ===== 页头 ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 14px var(--pad) 0;
  pointer-events: none;
  transition: padding 0.24s ease;
}
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(60, 67, 80, 0.55);
  z-index: 90;
  pointer-events: none;
}
.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--away) 0%, var(--neon) 72%, var(--clay) 100%);
}

.header-capsule {
  position: relative;
  pointer-events: auto;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 12px 14px 12px 18px;
  background: rgba(12, 15, 21, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px -40px rgba(0, 0, 0, 0.95);
  transition: padding 0.24s ease, background-color 0.24s ease,
    border-color 0.24s ease, box-shadow 0.24s ease;
}
[data-header][data-scrolled] .header-capsule {
  padding: 7px 12px 7px 14px;
  background: rgba(8, 10, 14, 0.94);
  border-color: rgba(60, 67, 80, 0.9);
}

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--away);
  color: var(--peak);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.brand:hover .brand-mark { background: var(--neon); color: var(--ink); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--bone);
}
.brand-sub {
  display: block;
  max-height: 20px;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: rgba(242, 239, 230, 0.5);
  transition: max-height 0.24s ease, opacity 0.24s ease;
}
[data-header][data-scrolled] .brand-sub { max-height: 0; opacity: 0; }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(242, 239, 230, 0.78);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.nav-list a:hover {
  background: rgba(30, 75, 255, 0.16);
  border-color: rgba(30, 75, 255, 0.45);
  color: var(--peak);
}
.nav-list a[aria-current="page"] {
  background: rgba(43, 232, 176, 0.1);
  border-color: rgba(43, 232, 176, 0.35);
  color: var(--neon);
}
.nav-cta { margin-left: 8px; }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(242, 239, 230, 0.8);
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] {
  color: var(--neon);
  border-color: rgba(43, 232, 176, 0.5);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(42, 47, 56, 0.45), rgba(8, 10, 14, 0) 42%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.footer-bevel {
  height: clamp(30px, 5vw, 58px);
  background: linear-gradient(96deg, var(--clay) 0%, var(--moss) 48%, var(--away) 100%);
  clip-path: polygon(0 0, 100% 58%, 100% 100%, 0 100%);
  opacity: 0.6;
}
.footer-body { display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(24px, 3.4vw, 48px);
  padding-block: clamp(32px, 5vw, 62px);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.brand--footer .brand-name { font-size: 18px; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 239, 230, 0.66);
  max-width: 34ch;
}
.footer-contact {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(242, 239, 230, 0.72);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--clay);
}
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--neon);
  margin-bottom: 14px;
}
.footer-list li { line-height: 1.9; }
.footer-list a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: rgba(242, 239, 230, 0.7);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-list a:hover { color: var(--peak); border-bottom-color: var(--away); }

.footer-venue {
  background: rgba(76, 107, 74, 0.22);
  border-top: 1px solid rgba(76, 107, 74, 0.55);
  border-bottom: 1px solid var(--line);
}
.footer-venue-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-block: 14px;
  font-size: 13px;
}
.venue-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--neon);
}
.venue-address { color: rgba(242, 239, 230, 0.72); }

.footer-legal { border-top: 1px solid var(--line); }
.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(242, 239, 230, 0.5);
}
.footer-note { color: rgba(242, 239, 230, 0.38); }

/* ===== 响应式 ===== */
@media (max-width: 1180px) {
  .nav-list a { padding: 9px 11px; font-size: 13.5px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.13em; }
}

@media (max-width: 1040px) {
  .brand-sub { display: none; }
}

@media (max-width: 900px) {
  .site-header { padding-top: 10px; }
  .header-capsule { padding: 8px 10px 8px 12px; gap: 10px; }
  .brand-mark { width: 32px; height: 32px; font-size: 15px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 12px;
    background: rgba(12, 15, 21, 0.97);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 26px 64px -32px rgba(0, 0, 0, 0.95);
  }
  .site-nav[data-open] { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }
  .nav-cta { margin-left: 0; width: 100%; }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .display { letter-spacing: -0.02em; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal-inner { justify-content: flex-start; }
  .breadcrumbs { font-size: 11px; letter-spacing: 0.1em; }
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-enabled [data-reveal] { opacity: 1; transform: none; }
  .progress-bar { transition: none; }
}
