/* ==========================================================================
   新宝体育主站 · 共享样式 /assets/site.css
   夜间看台 + 数据台：墨绿基底、冷灰骨架、青柠通电、橙红警示
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-900: #0B1F1A;
  --ink-800: #12352B;
  --ink-700: #17453A;
  --steel-700: #2E3A38;
  --steel-500: #6F7F7C;
  --mist-100: #E9F1EE;
  --lime-400: #B7F34A;
  --lime-300: #D2FF7A;
  --flare-500: #FF5A36;
  --flare-300: #FFA07A;
  --white: #FFFFFF;

  --line-soft: rgba(233, 241, 238, 0.1);
  --line-mid: rgba(233, 241, 238, 0.2);
  --lime-line: rgba(183, 243, 74, 0.28);

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --head-h: 74px;
  --ease: cubic-bezier(0.3, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--mist-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 42% at 84% -8%, rgba(183, 243, 74, 0.075), transparent 70%),
    radial-gradient(48% 36% at 2% 6%, rgba(255, 90, 54, 0.05), transparent 72%);
}

img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(183, 243, 74, 0.16);
  border-radius: 8px;
}

::selection { background: var(--lime-400); color: var(--ink-900); }

.skip-link {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--lime-400);
  color: var(--ink-900);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
}

h1 { font-size: clamp(30px, 5.2vw, 58px); }
h2 { font-size: clamp(23px, 3.4vw, 36px); }
h3 { font-size: clamp(18px, 2.2vw, 23px); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.index,
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.mono,
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4.2vw, 44px);
}

.split {
  display: grid;
  grid-template-columns: minmax(190px, 3fr) 9fr;
  gap: clamp(20px, 3.4vw, 52px);
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--head-h) + 22px);
}

.stack > * + * { margin-top: clamp(14px, 2vw, 22px); }

.read-zone {
  background: var(--mist-100);
  color: #1B2A26;
  border-radius: var(--r-lg);
  padding: clamp(24px, 4.4vw, 60px);
}

.read-body {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(233, 241, 238, 0.84);
}
.read-body p { margin: 0 0 1.15em; }
.read-body h2,
.read-body h3 { color: var(--white); margin-top: 1.6em; }
.read-body ul,
.read-body ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.read-body li { margin-bottom: 0.4em; }
.read-body strong { color: var(--lime-300); font-weight: 700; }
.read-zone .read-body { color: #26362F; }
.read-zone .read-body h2,
.read-zone .read-body h3 { color: #0B1F1A; }
.read-zone .read-body strong { color: #17453A; }

/* ---------- 5. 卡片 / 标签 / 按钮 ---------- */
.panel {
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(16px, 2.4vw, 28px);
}

.panel--edge {
  border-left: 3px solid var(--lime-400);
  border-radius: 6px var(--r-md) var(--r-md) 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--lime-line);
  background: rgba(183, 243, 74, 0.1);
  color: var(--lime-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--flare {
  border-color: rgba(255, 90, 54, 0.38);
  background: rgba(255, 90, 54, 0.13);
  color: var(--flare-300);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn--lime {
  background: var(--lime-400);
  color: var(--ink-900);
}
.btn--lime:hover {
  background: var(--lime-300);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-mid);
  color: var(--mist-100);
}
.btn--ghost:hover {
  border-color: var(--lime-400);
  color: var(--lime-300);
  transform: translateY(-2px);
}

/* ---------- 6. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel-500);
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumbs li + li::before {
  content: "/";
  color: rgba(233, 241, 238, 0.26);
}
.crumbs a {
  color: rgba(233, 241, 238, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 241, 238, 0.24);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.crumbs a:hover {
  color: var(--lime-300);
  border-color: var(--lime-400);
}
.crumbs [aria-current="page"] {
  color: var(--lime-400);
  border-bottom-color: transparent;
}

/* ---------- 7. 图片容器基础规则 ---------- */
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  border-radius: 22px 6px 22px 6px;
  background: var(--ink-800);
}
.shot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot--tall { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 21 / 9; }
.shot--tilt { transform: rotate(-1.4deg); }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist-100);
  background: linear-gradient(to top, rgba(11, 31, 26, 0.92), rgba(11, 31, 26, 0));
}

.shot__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 241, 238, 0.34);
}

/* ---------- 8. 头部：悬浮胶囊 ---------- */
.stand-head {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px 0 14px;
}

.stand-head__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding: 9px clamp(12px, 2vw, 20px) 9px clamp(14px, 2vw, 22px);
  border: 1px solid rgba(183, 243, 74, 0.16);
  border-radius: var(--r-pill);
  background: rgba(11, 31, 26, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.95);
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.stand-head[data-scrolled] .stand-head__inner {
  background: rgba(11, 31, 26, 0.96);
  border-color: rgba(183, 243, 74, 0.34);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(11, 31, 26, 0.6);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--white);
  border-radius: var(--r-sm);
}

.brandmark__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px 5px 14px 5px;
  background: var(--lime-400);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -3px 0 rgba(11, 31, 26, 0.22);
  transition: transform 0.18s var(--ease);
}

.brandmark:hover .brandmark__glyph { transform: translateY(-2px); }

.brandmark__text { display: block; }

.brandmark__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brandmark__tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-400);
  line-height: 1.4;
}

.podnav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 16px);
  margin-left: auto;
}

.podnav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.podnav__list a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(233, 241, 238, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.podnav__list a:hover {
  color: var(--white);
  background: rgba(183, 243, 74, 0.12);
}

.podnav__list a[aria-current="page"] {
  color: var(--ink-900);
  background: var(--lime-400);
  box-shadow: 0 0 18px rgba(183, 243, 74, 0.3);
}

.podnav__link--pin::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime-400);
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(183, 243, 74, 0.9);
}

.podnav__list a[aria-current="page"]::before {
  background: var(--ink-900);
  box-shadow: none;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1.5px solid var(--lime-400);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--lime-300);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.cta-chip::after {
  content: "↓";
  font-size: 14px;
  line-height: 1;
}

.cta-chip:hover {
  background: var(--lime-400);
  color: var(--ink-900);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--mist-100);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime-400); color: var(--lime-300); }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.scroll-line {
  display: block;
  height: 2px;
  margin: 6px clamp(16px, 4.2vw, 44px) 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime-400), var(--flare-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.24s var(--ease);
  pointer-events: none;
}
.stand-head[data-scrolled] .scroll-line { opacity: 0.95; }

/* ---------- 9. 页脚 ---------- */
.stand-foot {
  position: relative;
  margin-top: clamp(52px, 9vw, 120px);
  background: var(--ink-900);
  border-top: 1px solid rgba(183, 243, 74, 0.2);
  overflow: hidden;
}

.stand-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(233, 241, 238, 0.045) 0 1px, transparent 1px 76px),
    radial-gradient(120% 92% at 6% 0%, rgba(183, 243, 74, 0.1), transparent 62%),
    radial-gradient(80% 70% at 98% 100%, rgba(255, 90, 54, 0.07), transparent 66%);
}

.stand-foot__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(44px, 6vw, 78px) clamp(26px, 4vw, 40px);
}

.stand-foot__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) 1fr 1fr minmax(250px, 1.25fr);
  gap: clamp(24px, 3.2vw, 56px);
}

.brandmark--foot { margin-bottom: 4px; }

.foot-brand__line {
  max-width: 22ch;
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--white);
}

.foot-brand__meta {
  max-width: 34ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(233, 241, 238, 0.6);
}

.foot-col__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.foot-list {
  display: grid;
  gap: 2px;
}

.foot-list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(233, 241, 238, 0.76);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.foot-list a:hover {
  color: var(--lime-300);
  border-bottom-color: var(--lime-line);
}

.foot-contact {
  display: grid;
  gap: 9px;
}

.copyline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(233, 241, 238, 0.06);
  color: var(--mist-100);
  font-family: var(--font-mono);
  font-size: 12.8px;
  letter-spacing: -0.01em;
  text-align: left;
  word-break: break-all;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}
.copyline:hover {
  border-color: var(--lime-line);
  background: rgba(183, 243, 74, 0.1);
  color: var(--lime-300);
}
.copyline[data-copied] {
  border-color: var(--lime-400);
  color: var(--lime-300);
}
.copyline[data-copied]::after {
  content: "已复制";
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime-400);
}

.foot-contact__addr,
.foot-contact__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(233, 241, 238, 0.6);
}
.foot-contact__note { color: rgba(233, 241, 238, 0.48); }

.stand-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  margin-top: clamp(30px, 4.4vw, 54px);
  padding-top: 18px;
  border-top: 1px dashed rgba(233, 241, 238, 0.16);
  font-size: 12.5px;
  color: var(--steel-500);
}
.stand-foot__base p { margin: 0; }
.stand-foot__icp {
  padding: 4px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(233, 241, 238, 0.62);
}

/* ---------- 10. 显现与动效协议 ---------- */
[data-reveal].reveal-init {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].reveal-init.is-in {
  opacity: 1;
  transform: none;
}

#main-content { scroll-margin-top: calc(var(--head-h) + 24px); }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1120px) {
  .stand-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 4vw, 34px);
  }
  .rail {
    position: static;
    top: auto;
  }
}

@media (max-width: 880px) {
  :root { --head-h: 68px; }

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

  .podnav {
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(16px, 4.2vw, 44px);
    right: clamp(16px, 4.2vw, 44px);
    z-index: 80;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    padding: 14px;
    border: 1px solid var(--lime-line);
    border-radius: 22px;
    background: var(--ink-800);
    box-shadow: 0 32px 64px -26px rgba(0, 0, 0, 0.95);
  }

  .podnav[data-open] { display: flex; }

  .podnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .podnav__list a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    color: rgba(233, 241, 238, 0.82);
  }

  .podnav__list a[aria-current="page"] {
    color: var(--ink-900);
    background: var(--lime-400);
  }

  .podnav .cta-chip {
    justify-content: center;
    margin-top: 4px;
    padding: 12px 18px;
  }

  .stand-head__inner { position: relative; }
}

@media (max-width: 620px) {
  .stand-foot__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .brandmark__tag { font-size: 9.5px; letter-spacing: 0.16em; }
  .shot--tilt { transform: none; }
  .read-zone { border-radius: 20px; }
}

@media (max-width: 420px) {
  .brandmark__tag { display: none; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 10px 12px; }
}

/* ---------- 12. 动效偏好 ---------- */
@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].reveal-init {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .brandmark:hover .brandmark__glyph { transform: none; }
}
