/* ============ U体育 共享样式 /assets/site.css ============ */

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

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

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

ul, ol { margin: 0; }

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

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

a { color: inherit; }

/* ---------- 变量 ---------- */
:root {
  --ink: #04090F;
  --space: #081826;
  --panel: #10293D;
  --cyan: #2CE0E0;
  --cyan-soft: #B8F5F2;
  --amber: #FFA22B;
  --mint: #6FE3B4;
  --paper: #F2F6F8;
  --mist: #93A7B8;
  --red: #FF6B6B;

  --line: rgba(184, 245, 242, 0.13);
  --line-strong: rgba(184, 245, 242, 0.32);

  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --u-max: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --stack: clamp(20px, 3vw, 36px);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--space);
  background-image:
    radial-gradient(120% 80% at 88% -12%, rgba(44, 224, 224, 0.11), transparent 58%),
    radial-gradient(90% 70% at -8% 18%, rgba(255, 162, 43, 0.07), transparent 62%),
    linear-gradient(rgba(184, 245, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 245, 242, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; }

p { max-width: 42em; }

a { text-decoration: none; }

strong { font-weight: 700; }

::selection {
  background: rgba(44, 224, 224, 0.32);
  color: var(--paper);
}

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

/* ---------- 跳转链接 ---------- */
.u-skip {
  position: absolute;
  left: var(--gutter);
  top: -72px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04212a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: top 0.2s ease;
}

.u-skip:focus {
  top: 10px;
}

/* ---------- 布局工具 ---------- */
.u-container {
  width: 100%;
  max-width: var(--u-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.u-section {
  padding-block: clamp(28px, 5vw, 64px);
}

.u-grid {
  display: grid;
  gap: var(--stack);
}

.u-grid--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

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

/* ---------- 标题体系 ---------- */
.u-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.u-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.u-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.u-h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.u-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: rgba(242, 246, 248, 0.82);
}

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

.u-muted { color: var(--mist); }

.u-vertical-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(147, 167, 184, 0.78);
}

/* ---------- 按钮 ---------- */
.u-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-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease,
    border-color 0.22s ease, transform 0.22s ease;
}

.u-btn:active { transform: translateY(1px); }

.u-btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04212a;
}

.u-btn--primary:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.u-btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cyan-soft);
}

.u-btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.u-btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #241200;
}

.u-btn--amber:hover {
  background: #ffb757;
  border-color: #ffb757;
}

.u-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---------- 胶囊标签 ---------- */
.u-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  border: 1px solid rgba(184, 245, 242, 0.28);
  border-radius: var(--r-pill);
  background: rgba(44, 224, 224, 0.08);
  color: var(--cyan-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}

.u-chip--amber {
  border-color: rgba(255, 162, 43, 0.42);
  background: rgba(255, 162, 43, 0.1);
  color: var(--amber);
}

.u-chip--mint {
  border-color: rgba(111, 227, 180, 0.42);
  background: rgba(111, 227, 180, 0.1);
  color: var(--mint);
}

/* ---------- 面板 ---------- */
.u-panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(16, 41, 61, 0.94), rgba(8, 24, 38, 0.92));
}

.u-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.u-panel__body { display: grid; gap: 12px; }

/* ---------- 图片容器 ---------- */
.u-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  background:
    linear-gradient(148deg, rgba(44, 224, 224, 0.18), rgba(255, 162, 43, 0.14) 58%, rgba(8, 24, 38, 0.92));
}

.u-media > img,
.u-media > picture > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 15, 0) 42%, rgba(4, 9, 15, 0.78));
  pointer-events: none;
}

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

.u-media--thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
}

.u-media__tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 10px;
  border: 1px solid rgba(184, 245, 242, 0.32);
  border-radius: var(--r-pill);
  background: rgba(4, 9, 15, 0.78);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------- 面包屑 ---------- */
.u-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mist);
}

.u-crumbs a {
  color: var(--mist);
  transition: color 0.2s ease;
}

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

.u-crumbs__sep { color: rgba(147, 167, 184, 0.5); }

.u-crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 动效协议 ---------- */
.u-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.u-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============ 头部 ============ */
.u-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--paper);
  background: rgba(8, 24, 38, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.u-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(var(--u-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transition: transform 0.12s linear;
}

.u-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  width: 100%;
  max-width: var(--u-max);
  margin-inline: auto;
  padding: 14px var(--gutter);
}

.u-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

/* 品牌 */
.u-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.u-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--cyan), #1193a4);
  color: #04212a;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(44, 224, 224, 0.4), 0 8px 22px rgba(44, 224, 224, 0.18);
}

.u-brand__text { display: block; }

.u-brand__name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--paper);
}

.u-brand__line {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--mist);
}

/* 今日场次角标 */
.u-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: none;
  padding: 5px 13px 5px 11px;
  border: 1px solid rgba(255, 162, 43, 0.38);
  border-radius: var(--r-pill);
  background: rgba(255, 162, 43, 0.09);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}

.u-badge__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 162, 43, 0.6);
  animation: u-pulse 2.6s ease-out infinite;
}

@keyframes u-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 162, 43, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 162, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 162, 43, 0); }
}

/* 移动端切换按钮 */
.u-nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

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

.u-nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

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

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

/* 右侧导航区 */
.u-header__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-left: auto;
  min-width: 0;
}

.u-nav { min-width: 0; }

.u-nav__list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-nav__item { position: relative; }

.u-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid rgba(184, 245, 242, 0.16);
  border-radius: var(--r-pill);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color 0.22s ease, color 0.22s ease,
    background-color 0.22s ease, box-shadow 0.22s ease;
}

.u-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(147, 167, 184, 0.9);
  transition: color 0.22s ease;
}

.u-nav__label { display: inline-block; }

.u-nav__link:hover,
.u-nav__link:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(44, 224, 224, 0.1);
}

.u-nav__link:hover .u-nav__num,
.u-nav__link:focus-visible .u-nav__num { color: var(--cyan); }

.u-nav__link[aria-current="page"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(44, 224, 224, 0.1);
  box-shadow: inset 0 0 0 1px rgba(44, 224, 224, 0.35);
}

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

.u-nav__hint {
  position: absolute;
  left: 6px;
  top: calc(100% + 8px);
  z-index: 12;
  width: max-content;
  max-width: 220px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(4, 9, 15, 0.96);
  color: var(--cyan-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.u-nav__item:hover .u-nav__hint,
.u-nav__link:focus-visible .u-nav__hint {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.u-header__cta { flex: 0 0 auto; }

/* ============ 页脚 ============ */
.u-footer {
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(44, 224, 224, 0.1), transparent 62%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 162, 43, 0.06), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.u-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
  max-width: var(--u-max);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(24px, 4vw, 40px);
}

.u-footer__logo {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.u-footer__logo::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.u-footer__tagline {
  margin-bottom: 20px;
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.u-footer__cta { margin-top: 4px; }

.u-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.u-footer__col-title {
  margin-bottom: 14px;
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.u-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-footer__list a {
  color: var(--paper);
  font-size: 15px;
  opacity: 0.86;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.u-footer__list a:hover {
  color: var(--cyan);
  opacity: 1;
}

.u-footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 32px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.u-footer__contact-card { min-width: 0; }

.u-footer__contact-label {
  margin-bottom: 5px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.6;
}

.u-footer__contact-value {
  max-width: none;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.u-footer__contact-note {
  grid-column: 1 / -1;
  max-width: 72ch;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.8;
}

.u-footer__bar { border-top: 1px solid var(--line); }

.u-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  width: 100%;
  max-width: var(--u-max);
  margin-inline: auto;
  padding: 16px var(--gutter) 22px;
  color: var(--mist);
  font-size: 13px;
}

.u-footer__legal {
  max-width: none;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .u-brand__line { display: none; }
  .u-nav__link { padding: 7px 12px; font-size: 13px; }
  .u-header__cta { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 960px) {
  .u-grid--split,
  .u-grid--halves { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 900px) {
  .u-header__inner { flex-wrap: wrap; padding-block: 12px; gap: 12px; }

  .u-nav-toggle { display: inline-flex; margin-left: auto; }

  .u-header__badge { display: none; }

  .u-header__right {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    display: none;
    margin: 6px 0 0;
    padding: 18px 0 10px;
    border-top: 1px solid var(--line);
  }

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

  .u-nav__list {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .u-nav__link {
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 15px;
  }

  .u-nav__hint { display: none; }

  .u-header__cta { width: 100%; }
}

@media (max-width: 560px) {
  .u-brand__mark { width: 34px; height: 34px; border-radius: 12px; font-size: 16px; }
  .u-brand__name { font-size: 16px; }

  .u-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-footer__contact { grid-template-columns: minmax(0, 1fr); }
  .u-footer__bar-inner { justify-content: flex-start; }

  .u-media--wide { aspect-ratio: 16 / 9; }
}

/* ============ 可访问性与动效降级 ============ */
@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;
  }

  .u-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .u-progress { transition: none; }

  .u-nav__hint { transition: none; }
}
