/* ============================================================
   多米体育 /assets/site.css
   设计主题：夜色数据竞技场 · 动感体育信息板
   ============================================================ */

:root {
  --night: #0A1A33;
  --night-deep: #050F22;
  --paper: #F5F7FB;
  --card: #FFFFFF;
  --orange: #FF5A1F;
  --violet: #7C5CFF;
  --cyan: #14C8CC;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #D8DEE9;
  --success: #0F9960;
  --radius: 6px;
  --header-h: 76px;
  --max-w: 1280px;
  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "DIN Alternate", "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --shadow-sm: 0 2px 8px rgba(10, 26, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 26, 51, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

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

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

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.site-main {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ============================================================
   容器与章节节奏
   ============================================================ */

.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding-block: 80px;
}

.section--tight {
  padding-block: 48px;
}

.page-shell {
  padding-top: var(--header-h);
}

/* ============================================================
   跳过链接
   ============================================================ */

.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 2000;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   头部
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 26, 51, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(5, 15, 34, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header__inner {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  position: relative;
  width: 26px;
  height: 34px;
  display: block;
}

.brand__stripe {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--orange);
  transform: skewX(-30deg);
}

.brand__stripe:first-child {
  top: 4px;
}

.brand__stripe:nth-child(2) {
  top: 16px;
  background: var(--cyan);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.brand__slogan {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

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

.nav-toggle__label {
  font-size: 0.9rem;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 4px;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: #fff;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: #fff;
}

.site-nav__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
}

.site-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(20, 200, 204, 0.5);
  animation: signal-ping 2s infinite;
}

@keyframes signal-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 200, 204, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(20, 200, 204, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 200, 204, 0);
  }
}

/* ============================================================
   内页头图
   ============================================================ */

.page-hero {
  background: var(--night);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--violet), transparent);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 24px,
    rgba(255, 255, 255, 0.04) 24px 28px
  );
}

.page-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
}

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

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-top: 8px;
}

.page-hero__sub {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  max-width: 56ch;
}

/* ============================================================
   按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--orange);
  border-radius: 2px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--violet);
  transform: translateX(3px);
}

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

.btn:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 0 3px var(--violet));
}

.btn--ghost {
  background: transparent;
  color: var(--night);
  box-shadow: inset 0 0 0 2px var(--night);
}

.btn--ghost:hover {
  background: var(--night);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--night);
}

.btn--white:hover {
  background: var(--violet);
  color: #fff;
}

/* ============================================================
   徽章与状态
   ============================================================ */

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--cyan);
  border-radius: 2px;
}

.badge--orange {
  background: var(--orange);
  color: #fff;
}

.badge--violet {
  background: var(--violet);
  color: #fff;
}

.badge--outline {
  background: transparent;
  border: 1px solid currentColor;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  vertical-align: 1px;
}

/* ============================================================
   标题与章节组件
   ============================================================ */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head__caption {
  max-width: 60%;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--violet);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-top: 4px;
}

.section-intro {
  max-width: 46ch;
  color: var(--muted);
}

.orient-note {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--violet);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   Bento 信息板
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento__cell {
  grid-column: span 4;
}

.bento__cell--half {
  grid-column: span 6;
}

.bento__cell--two {
  grid-column: span 8;
}

.bento__cell--full {
  grid-column: span 12;
}

/* ============================================================
   面板与卡片
   ============================================================ */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px;
  --panel-cut: 16px;
}

.panel--cut {
  clip-path: polygon(
    0 0,
    calc(100% - var(--panel-cut)) 0,
    100% var(--panel-cut),
    100% 100%,
    var(--panel-cut) 100%,
    0 calc(100% - var(--panel-cut))
  );
}

.panel--night {
  background: var(--night);
  color: #fff;
  border-color: transparent;
}

.panel--tint {
  background: linear-gradient(160deg, var(--paper), #fff);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 4px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card--flat {
  box-shadow: none;
}

/* ============================================================
   数据组件
   ============================================================ */

.display-stat {
  display: grid;
  gap: 4px;
}

.display-stat__value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.display-stat__label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.display-stat--on-dark {
  color: #fff;
}

.display-stat--on-dark .display-stat__label {
  color: rgba(255, 255, 255, 0.62);
}

.tick-list {
  display: grid;
  gap: 10px;
}

.tick-list__item {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.tick-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.tick-list__item strong {
  font-family: var(--font-num);
  color: var(--night);
}

/* ============================================================
   媒体与图形
   ============================================================ */

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--night) 0%, var(--violet) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.1) 42.2%, transparent 42.6%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 18px);
}

.media-frame img,
.media-frame video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--4-3 {
  aspect-ratio: 4 / 3;
}

.media-frame--cover {
  height: 100%;
}

.track-lines {
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 12px,
    rgba(255, 255, 255, 0.08) 12px 16px
  );
}

/* ============================================================
   面包屑
   ============================================================ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

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

.breadcrumbs__sep::before {
  content: "/";
  margin-left: 4px;
  opacity: 0.5;
}

/* ============================================================
   手风琴
   ============================================================ */

.accordion {
  display: grid;
  gap: 8px;
}

.accordion__item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion__item[data-open] {
  border-color: var(--violet);
  box-shadow: var(--shadow-sm);
}

.accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--night);
  text-align: left;
}

.accordion__toggle:hover {
  background: var(--paper);
}

.accordion__toggle::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 1.3rem;
  color: var(--orange);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.accordion__item[data-open] .accordion__toggle::after {
  transform: rotate(45deg);
}

.accordion__panel {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   滚动显现
   ============================================================ */

.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  background: var(--night-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.site-footer__signal {
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--violet), transparent);
  position: relative;
}

.site-footer__signal::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40%;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0 8px,
    transparent 8px 16px
  );
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.site-footer__brand {
  max-width: 420px;
}

.brand--footer {
  margin-bottom: 16px;
  color: #fff;
}

.brand--footer .brand__slogan {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__tagline {
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.site-footer__trust {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.72;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-nav__title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav__list {
  display: grid;
  gap: 4px;
}

.footer-nav__link {
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav__link:hover {
  color: #fff;
  transform: translateX(3px);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__contact {
  letter-spacing: 0.02em;
}

/* ============================================================
   响应式调整
   ============================================================ */

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 100%);
    background: var(--night);
    padding: calc(var(--header-h) + 24px) 24px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -12px 0 40px rgba(5, 15, 34, 0.35);
    overflow-y: auto;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

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

  .site-nav__link {
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 6px;
  }

  .site-nav__link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(255, 90, 31, 0.15);
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__note {
    padding-left: 12px;
    white-space: normal;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .bento__cell,
  .bento__cell--half,
  .bento__cell--two {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 48px;
  }

  .site-header__inner {
    width: min(100% - 32px, var(--max-w));
    padding: 0;
  }

  .brand__slogan {
    display: none;
  }

  .container {
    width: min(100% - 32px, var(--max-w));
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    padding: 48px 0 32px;
  }

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

  .bento__cell,
  .bento__cell--half,
  .bento__cell--two {
    grid-column: span 12;
  }

  .section-head__caption {
    max-width: 100%;
  }
}

/* ============================================================
   动效偏好
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
