/* ============================================================
   /assets/site.css — 新利体育主站共享层
   深墨绿基底 · 蓝图网格 · 荧光青路径 · 洋红数据高光
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #061713;
  background-color: var(--ink-800);
  color: #F2FAF6;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink-900: #020806;
  --ink-800: #061713;
  --ink-700: #0C2A23;
  --line: #1B463A;
  --mist: #F2FAF6;
  --sage: #B8C9C2;
  --cyan: #35F2CF;
  --mint: #A8FFE8;
  --magenta: #FF2E88;
  --warn: #FFD166;

  /* 结构 */
  --shell-max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 66px;
  --radius: 2px;
  --border: 1px solid var(--line);
  --shadow-hard: 6px 6px 0 var(--ink-900);
  --shadow-soft: 0 18px 40px rgba(2, 8, 6, .55);

  /* 字体 */
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue", system-ui, -apple-system,
                  "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Courier New", monospace;
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  letter-spacing: .01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.005em;
  color: var(--mist);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5.2vw, 60px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
h4 { font-size: clamp(15px, 1.6vw, 18px); }

p {
  max-width: 72ch;
}

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

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

/* ---------- 4. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  display: inline-block;
  padding: 11px 20px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: top .2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 14px;
}

/* ---------- 5. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

/* ---------- 6. 通用文字元素 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.metric {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.metric--cyan { color: var(--cyan); }
.metric--magenta { color: var(--magenta); }

/* ---------- 7. 按钮 ---------- */
.btn {
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease,
              background-color .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink-900);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--mint);
  border-color: rgba(168, 255, 232, .45);
}

.btn--ghost:hover {
  --btn-fg: var(--mist);
  background: rgba(53, 242, 207, .12);
  border-color: var(--cyan);
}

.btn--magenta {
  --btn-bg: var(--magenta);
  --btn-fg: #FFFFFF;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: .04em;
}

/* ---------- 8. 标签 / 徽标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  color: var(--sage);
  background: rgba(12, 42, 35, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag--cyan {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.tag--magenta {
  color: #FFFFFF;
  background: var(--magenta);
  border-color: var(--magenta);
  font-weight: 700;
}

.tag--warn {
  color: var(--ink-900);
  background: var(--warn);
  border-color: var(--warn);
  font-weight: 700;
}

.tag--live {
  color: var(--cyan);
  border-color: rgba(53, 242, 207, .55);
  background: rgba(53, 242, 207, .08);
}

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: tag-pulse 1.8s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(.7); }
}

/* ---------- 9. 区块骨架 ---------- */
.section {
  padding-block: clamp(40px, 6vw, 84px);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}

.section__title {
  margin: 0;
}

.panel {
  padding: clamp(16px, 2.4vw, 28px);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel--hard {
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: var(--sage);
  transition: color .16s ease;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.breadcrumbs__sep {
  color: var(--line);
  user-select: none;
}

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

/* ---------- 11. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(53, 242, 207, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 242, 207, .07) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: screen;
}

.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 100%;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mint);
  background: rgba(2, 8, 6, .82);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media--diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* ============================================================
   12. 头部：紧凑命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(6, 23, 19, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 30px);
  min-height: var(--header-h);
  padding-block: 8px;
}

/* 品牌锁形 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 0;
  color: var(--mist);
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--cyan);
  background:
    linear-gradient(135deg, transparent 46%, rgba(53, 242, 207, .16) 46%, rgba(53, 242, 207, .16) 54%, transparent 54%),
    var(--ink-700);
  border-radius: var(--radius);
  flex: 0 0 auto;
}

.brand__mark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 242, 207, .18), 0 0 12px rgba(53, 242, 207, .7);
}

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

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

.brand__descriptor {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: .18em;
  color: var(--sage);
  white-space: nowrap;
}

/* 主导航 */
.nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  counter-reset: navidx;
}

.nav__item {
  counter-increment: navidx;
  display: block;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--sage);
  border-bottom: 2px solid transparent;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.nav__link::before {
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(27, 70, 58, 1);
  color: #4C7A6B;
  transition: color .18s ease;
}

.nav__link:hover {
  color: var(--mist);
  background: rgba(53, 242, 207, .07);
  border-bottom-color: rgba(53, 242, 207, .45);
}

.nav__link:hover::before {
  color: var(--cyan);
}

.nav__link[aria-current="page"] {
  color: var(--mist);
  background: rgba(53, 242, 207, .09);
  border-bottom-color: var(--cyan);
}

.nav__link[aria-current="page"]::before {
  color: var(--cyan);
}

/* 头部动作区 */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--mint);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.nav-toggle:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

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

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

.nav-toggle__label {
  display: inline-block;
}

/* 滚动进度线 */
.site-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  box-shadow: 0 0 12px rgba(53, 242, 207, .65);
  transition: width .12s linear;
  pointer-events: none;
}

/* ============================================================
   13. 页脚：坐标式三段结构
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding-block: clamp(40px, 6vw, 76px) clamp(20px, 3vw, 32px);
  background: var(--ink-900);
  border-top: 2px solid var(--line);
  color: var(--sage);
  overflow: hidden;
}

.site-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27, 70, 58, .6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 70, 58, .6) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 72%);
}

.site-footer > .shell {
  position: relative;
  z-index: 1;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.site-footer__identity {
  min-width: 0;
}

.site-footer__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-footer__brand {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.16;
  letter-spacing: .02em;
  color: var(--mist);
}

.site-footer__summary {
  margin: 0 0 16px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sage);
}

.site-footer__coord {
  display: inline-block;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mint);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sage);
  transition: color .16s ease, transform .16s ease;
}

.site-footer__link::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--line);
  transition: width .16s ease, background-color .16s ease;
}

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

.site-footer__link:hover::before {
  width: 12px;
  background: var(--cyan);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer__contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
}

.site-footer__contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-footer__contact-value {
  color: var(--mist);
  word-break: break-word;
}

.site-footer__note {
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(184, 201, 194, .78);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: clamp(16px, 2.4vw, 24px);
}

.site-footer__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--sage);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 12.5px;
}

.site-footer__legal-links a {
  color: var(--sage);
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.site-footer__legal-links a:hover {
  color: var(--mint);
  border-bottom-color: var(--cyan);
}

.site-footer__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(184, 201, 194, .72);
}

/* ============================================================
   14. 响应式
   ============================================================ */
@media (max-width: 1080px) {
  .site-header {
    position: sticky;
  }

  .site-header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: 0 0 100%;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--ink-900);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 24px 48px rgba(2, 8, 6, .8);
    transition: max-height .3s ease, visibility .3s ease;
  }

  .nav[data-open] {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 10px var(--gutter) 22px;
  }

  .nav__item {
    border-bottom: 1px solid rgba(27, 70, 58, .7);
  }

  .nav__item:last-child {
    border-bottom: 0;
  }

  .nav__link {
    padding: 15px 4px;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .nav__link[aria-current="page"] {
    border-bottom-color: transparent;
    box-shadow: inset 3px 0 0 var(--cyan);
    padding-left: 12px;
  }

  .nav__list {
    counter-reset: navidx;
  }

  .nav__link::before {
    font-size: 10.5px;
    color: var(--mint);
    opacity: .65;
  }

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

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .brand__descriptor {
    display: none;
  }

  .brand__name {
    font-size: 16px;
  }

  .site-header__actions .btn--ghost {
    display: none;
  }

  .site-footer__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--12 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section__head {
    align-items: flex-start;
  }

  .media--diagonal {
    clip-path: none;
  }
}

/* ============================================================
   15. 减少动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover {
    transform: none;
  }

  .site-footer__link:hover {
    transform: none;
  }
}
