/* =========================================================
   华体会体育 · 全站共享样式  /assets/site.css
   深墨绿转播间底色 + 赛道橙行动入口 + 电光青数据高亮
   ========================================================= */

/* ---------- 1. 重置 ---------- */
*,
*::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-position: inside; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --c-deep: #061813;
  --c-panel: #0C2A22;
  --c-raised: #123B30;
  --c-orange: #FF7A2F;
  --c-orange-lift: #FF9257;
  --c-orange-soft: rgba(255, 122, 47, 0.14);
  --c-cyan: #39E6CF;
  --c-cyan-soft: rgba(57, 230, 207, 0.12);
  --c-amber: #F2B544;
  --c-amber-soft: rgba(242, 181, 68, 0.12);
  --c-ink: #E9F6F0;
  --c-ink-soft: #CBE2D8;
  --c-muted: #9DB9AE;
  --c-line: #2B4C40;
  --c-line-strong: #3C6A59;
  --c-focus: #7FE9FF;

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

  --w-max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-soft: 0 18px 40px -30px #000, 0 2px 10px -8px #000;
  --shadow-lift: 0 30px 60px -34px #000, 0 0 0 1px rgba(57, 230, 207, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-deep);
  background-image:
    radial-gradient(900px 520px at 84% -14%, rgba(57, 230, 207, 0.10), transparent 62%),
    radial-gradient(760px 440px at 4% 2%, rgba(255, 122, 47, 0.09), transparent 64%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.5vw + 13.7px, 17px);
  line-height: 1.72;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p { text-wrap: pretty; }

strong, b { font-weight: 700; color: var(--c-ink); }

::selection {
  background: var(--c-cyan);
  color: #04120E;
}

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

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

/* ---------- 4. 无障碍跳转 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--c-focus);
  color: #04120E;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 4px;
}

/* ---------- 5. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 10px var(--gutter);
  background: linear-gradient(180deg, rgba(6, 24, 19, 0.95) 0%, rgba(6, 24, 19, 0.78) 60%, rgba(6, 24, 19, 0) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: linear-gradient(102deg, rgba(18, 59, 48, 0.94) 0%, rgba(12, 42, 34, 0.88) 100%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(233, 246, 240, 0.07);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header[data-scrolled="true"] .header-inner {
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(233, 246, 240, 0.10);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 8px 4px 4px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--c-ink);
  transition: background-color 0.2s var(--ease);
}

.brand-mark:hover { background: rgba(57, 230, 207, 0.08); }

.brand-mark__glyph {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 34px;
  padding-inline: 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #04120E;
  background: linear-gradient(150deg, var(--c-cyan) 0%, #1FB9A4 100%);
  box-shadow: 0 0 0 1px rgba(57, 230, 207, 0.35), 0 10px 22px -14px rgba(57, 230, 207, 0.95);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--c-ink);
}

.brand-mark__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  background: rgba(6, 24, 19, 0.6);
  color: var(--c-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-cyan);
  background: rgba(57, 230, 207, 0.10);
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: background-color 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform 0.25s var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-muted);
}

.primary-nav {
  margin-inline: auto;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.primary-nav__item { display: flex; }

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.primary-nav__link:hover {
  color: var(--c-ink);
  background: rgba(57, 230, 207, 0.09);
  border-color: rgba(57, 230, 207, 0.24);
}

.primary-nav__link[aria-current="page"] {
  color: var(--c-cyan);
  background: rgba(57, 230, 207, 0.12);
  border-color: rgba(57, 230, 207, 0.44);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--c-cyan);
}

.header-cta {
  flex: 0 0 auto;
  display: flex;
}

/* ---------- 6. 按钮族 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn--primary {
  background: var(--c-orange);
  color: #140700;
  box-shadow: 0 12px 26px -18px rgba(255, 122, 47, 0.95);
}

.btn--primary:hover {
  background: var(--c-orange-lift);
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -18px rgba(255, 122, 47, 1);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-line-strong);
  color: var(--c-ink);
}

.btn--ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  background: rgba(57, 230, 207, 0.08);
}

.btn:active { transform: translateY(0); }

/* ---------- 7. 页脚：目录型内容地图 ---------- */
.site-footer {
  margin-top: clamp(56px, 9vw, 120px);
  padding-block: clamp(40px, 6vw, 76px) 26px;
  border-top: 1px solid var(--c-line);
  background:
    radial-gradient(820px 360px at 10% 0%, rgba(57, 230, 207, 0.08), transparent 66%),
    linear-gradient(180deg, #08211B 0%, var(--c-deep) 76%);
}

.footer-inner {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--c-line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand__line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--c-ink);
}

.footer-brand__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-muted);
}

.footer-brand__meta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-orange), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
}

.footer-link {
  display: inline-block;
  color: var(--c-muted);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-cyan);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  padding-block: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--c-line);
}

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer-contact__value {
  color: var(--c-ink);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  grid-column: 1 / -1;
  padding-left: 14px;
  border-left: 2px solid rgba(57, 230, 207, 0.45);
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-top: 22px;
  color: var(--c-muted);
  font-size: 12.5px;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
}

.footer-legal__link {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal__link:hover { color: var(--c-cyan); }

.footer-legal__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.footer-legal__copy {
  font-size: 12.5px;
  color: var(--c-muted);
}

/* ---------- 8. 页面通用外壳 ---------- */
.wrap {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(36px, 5.5vw, 84px);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 36px;
  margin-bottom: clamp(18px, 2.8vw, 34px);
}

.section__title {
  font-size: clamp(24px, 3.4vw, 40px);
  color: var(--c-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-orange), transparent);
}

.lede {
  max-width: 62ch;
  color: var(--c-muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.78;
}

/* ---------- 9. 网格与面板 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(18, 59, 48, 0.6) 0%, rgba(12, 42, 34, 0.92) 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.panel:hover {
  border-color: var(--c-line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* ---------- 10. 维护提示条 ---------- */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 20px;
  border: 1px solid rgba(242, 181, 68, 0.38);
  border-radius: var(--r-pill);
  background: var(--c-amber-soft);
  color: #F7DFAE;
  font-size: 13.5px;
  line-height: 1.6;
}

.notice__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumbs {
  font-size: 12.5px;
  color: var(--c-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

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

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--c-line-strong);
}

.breadcrumbs__link {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumbs__link:hover { color: var(--c-cyan); }

.breadcrumbs__current {
  color: var(--c-ink);
  font-weight: 600;
}

/* ---------- 12. 长文正文容器 ---------- */
.prose {
  max-width: 68ch;
  color: var(--c-ink-soft);
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(20px, 2vw, 27px);
  color: var(--c-ink);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--c-ink);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style-position: outside;
}

.prose ul { list-style-type: square; }
.prose ol { list-style-type: decimal; }

.prose li + li { margin-top: 0.5em; }

.prose a {
  color: var(--c-cyan);
  text-underline-offset: 3px;
}

/* ---------- 13. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(57, 230, 207, 0.14) 0%, rgba(6, 24, 19, 0.92) 58%),
    var(--c-panel);
  box-shadow: var(--shadow-soft);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(57, 230, 207, 0.12);
}

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-ink);
  background: linear-gradient(180deg, rgba(6, 24, 19, 0) 0%, rgba(6, 24, 19, 0.88) 72%);
}

/* ---------- 14. 数字与标签 ---------- */
.numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

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

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

/* ---------- 16. 响应式：平板 ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--r-lg);
    background: rgba(9, 32, 26, 0.98);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--shadow-lift);
  }

  .site-header[data-open="true"] .primary-nav { display: block; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-nav__link {
    padding: 13px 16px;
    border-radius: var(--r-md);
    font-size: 15px;
  }

  .primary-nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--c-cyan); }

  .header-cta { display: none; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 17. 响应式：小屏 ---------- */
@media (max-width: 760px) {
  .brand-mark__tagline { display: none; }

  .brand-mark__glyph {
    min-width: 46px;
    height: 30px;
    font-size: 12px;
  }

  .notce, .notice { border-radius: var(--r-md); }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .media-frame { border-radius: var(--r-md); }
}

@media (max-width: 480px) {
  .nav-toggle__label { display: none; }

  .nav-toggle { padding: 9px 13px; }

  .footer-contact { grid-template-columns: minmax(0, 1fr); }

  .header-inner { padding-left: 10px; }
}

/* ---------- 18. 降低动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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