/* ==========================================================================
   欧帝体育 · /assets/site.css
   气质：深夜战术板 × 赛后数据室
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { list-style: none; 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;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

:focus { outline: none; }

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

/* ---------- 2. 变量 ---------- */
:root {
  /* 底色：墨黑 → 深靛 → 靛蓝层 */
  --ink: #05070D;
  --indigo-deep: #0E1730;
  --indigo: #17244A;

  /* 强调：荧光青绿主控，暖橙只点一处 */
  --mint: #2BF0B5;
  --mint-press: #12A97C;
  --orange: #FF8A3D;
  --amber: #FFC46B;

  /* 文字与线 */
  --silver: #F2F6FF;
  --mist: #C9D3E4;
  --line: #2A3550;

  /* 字体 */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "PingFang SC", system-ui, sans-serif;
  --font-headline: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 形状节奏 */
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --edge: clamp(32px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 页面底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(43, 240, 181, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 240, 181, .035) 1px, transparent 1px),
    radial-gradient(1100px 620px at 12% -8%, rgba(43, 240, 181, .10), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(255, 138, 61, .07), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #070A14 46%, var(--ink) 100%);
  background-size: 104px 104px, 104px 104px, auto, auto, auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 13, .84);
  border-bottom: 1px solid rgba(42, 53, 80, .7);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .22s var(--ease), border-color .22s var(--ease);
}

.site-header[data-state="compact"] {
  background: rgba(5, 7, 13, .95);
  border-bottom-color: rgba(43, 240, 181, .28);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1440px, calc(100% - var(--edge)));
  margin-inline: auto;
  padding-block: 13px;
  transition: padding .22s var(--ease);
}

.site-header[data-state="compact"] .header-inner { padding-block: 7px; }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--mint), var(--mint-press));
  box-shadow: 0 0 0 1px rgba(43, 240, 181, .35), 0 8px 20px rgba(43, 240, 181, .18);
}

.brand-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .06em;
  color: var(--silver);
  white-space: nowrap;
}

.brand-line {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .14em;
  color: rgba(201, 211, 228, .55);
  white-space: nowrap;
  transition: opacity .2s var(--ease);
}

.site-header[data-state="compact"] .brand-line { opacity: 0; }

/* 胶囊导航 */
.site-nav {
  justify-self: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(23, 36, 74, .82);
  border: 1px solid var(--line);
}

.nav-item { display: flex; }

.nav-link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--mist);
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-link:hover {
  color: var(--silver);
  background: rgba(43, 240, 181, .12);
}

.nav-link:focus-visible {
  outline-offset: -2px;
  border-radius: var(--radius-pill);
}

.nav-link[aria-current="page"] {
  color: #04231A;
  background: var(--mint);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(43, 240, 181, .22);
}

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #1B0C02;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(255, 138, 61, .24);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.header-cta::after {
  content: "›";
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: #FF9A56;
  box-shadow: 0 16px 30px rgba(255, 138, 61, .34);
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(23, 36, 74, .8);
  color: var(--silver);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.nav-toggle:hover { border-color: rgba(43, 240, 181, .45); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle-label { display: inline-block; }

/* 页头刻度带 */
.header-scan {
  display: block;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(43, 240, 181, .55) 0 2px, transparent 2px 18px);
  opacity: .45;
  transition: opacity .22s var(--ease);
}

.site-header[data-state="compact"] .header-scan { opacity: .95; }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(72px, 9vw, 128px);
  background: linear-gradient(180deg, rgba(14, 23, 48, .5), rgba(5, 7, 13, 1) 62%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 26px, transparent 26px 52px);
  opacity: .3;
}

.footer-inner {
  width: min(1240px, calc(100% - var(--edge)));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--silver);
}

.footer-brand-note {
  margin-top: 10px;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(201, 211, 228, .68);
}

.footer-brand-meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: rgba(43, 240, 181, .72);
}

.footer-col-title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer-links li + li { margin-top: 9px; }

.footer-links a {
  font-size: 14.5px;
  color: rgba(201, 211, 228, .78);
  transition: color .16s var(--ease);
}

.footer-links a:hover { color: var(--mint); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-contact-line {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(201, 211, 228, .58);
}

.footer-contact-strong {
  font-weight: 500;
  color: var(--silver);
  word-break: break-word;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 30px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(42, 53, 80, .9);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: rgba(201, 211, 228, .5);
}

.footer-legal-text { color: rgba(201, 211, 228, .62); }

.footer-legal-note { max-width: 56ch; }

/* ---------- 7. 容器与节奏 ---------- */
.container {
  width: min(1240px, calc(100% - var(--edge)));
  margin-inline: auto;
}

.container--wide {
  width: min(1440px, calc(100% - var(--edge)));
  margin-inline: auto;
}

.section { padding-block: clamp(52px, 7vw, 104px); }

.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(42, 53, 80, 0));
}

/* ---------- 8. 文字层级 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.26;
  letter-spacing: .02em;
  color: var(--silver);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: rgba(201, 211, 228, .8);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: rgba(201, 211, 228, .72);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 132px);
  line-height: .9;
  letter-spacing: -.005em;
  font-variant-numeric: tabular-nums;
  color: var(--silver);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #1B0C02;
  box-shadow: 0 10px 26px rgba(255, 138, 61, .26);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 138, 61, .36);
}

.btn--ghost {
  border-color: rgba(43, 240, 181, .5);
  background: rgba(43, 240, 181, .06);
  color: var(--mint);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  background: rgba(43, 240, 181, .14);
}

.btn--quiet {
  border-color: var(--line);
  background: rgba(23, 36, 74, .6);
  color: var(--mist);
}

.btn--quiet:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 240, 181, .45);
  color: var(--silver);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: rgba(201, 211, 228, .55);
}

.breadcrumb-item { display: inline-flex; align-items: center; gap: 9px; }

.breadcrumb a {
  color: rgba(201, 211, 228, .75);
  transition: color .16s var(--ease);
}

.breadcrumb a:hover { color: var(--mint); }

.breadcrumb-sep { color: var(--line); }

.breadcrumb [aria-current="page"] { color: var(--mint); }

/* ---------- 11. 栅格与卡片 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.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)); }

.card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(23, 36, 74, .9), rgba(14, 23, 48, .88));
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 240, 181, .5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .42);
}

/* 展签 */
.exhibit-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 196, 107, .4);
  background: rgba(255, 196, 107, .08);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ---------- 12. 图像容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(23, 36, 74, .92), rgba(5, 7, 13, .96));
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0) 42%, rgba(5, 7, 13, .84) 100%),
    linear-gradient(96deg, rgba(43, 240, 181, .16), transparent 48%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame--cut {
  border-radius: var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.media-frame--tactics::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .75;
  background-image:
    linear-gradient(to right, rgba(43, 240, 181, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 240, 181, .12) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px;
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: rgba(201, 211, 228, .6);
}

/* ---------- 13. 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint), var(--orange));
  opacity: 0;
  transition: opacity .24s var(--ease);
}

.scroll-progress[data-visible="true"] { opacity: 1; }

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

[data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 平板 ---------- */
@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    gap: 0 12px;
    padding-block: 10px;
  }

  .brand { grid-area: brand; }
  .header-actions { grid-area: actions; }
  .site-nav { grid-area: nav; justify-self: stretch; width: 100%; }

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

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 10px 0 14px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: rgba(14, 23, 48, .96);
    border-color: rgba(43, 240, 181, .22);
  }

  .site-nav[data-open="true"] .nav-list { display: flex; }

  .nav-item { display: block; }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-link:hover { background: rgba(43, 240, 181, .1); }

  .brand-line { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand-note { max-width: 46ch; }
}

/* ---------- 16. 平板窄幅与手机 ---------- */
@media (max-width: 900px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }

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

  .header-cta { padding: 9px 15px; font-size: 13px; }
  .header-cta::after { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-toggle { padding: 8px 13px; }
}

/* ---------- 17. 减少动效 ---------- */
@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;
  }

  .card:hover,
  .btn:hover,
  .header-cta:hover { transform: none; }
}
