/* ==========================================================================
   火博体育在线平台 · 共享样式 Site Kit
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #E8ECF1;
  background: #0A1628;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding: 0;
}

ul[class],
ol[class] {
  list-style: none;
}

a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #F5D061;
}

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

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

address {
  font-style: normal;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 32px 0;
}

::selection {
  background: #D4AF37;
  color: #0A1628;
}

/* ---------- 变量 ---------- */
:root {
  --color-bg: #0A1628;
  --color-bg-light: #132233;
  --color-gold: #D4AF37;
  --color-gold-light: #F5D061;
  --color-red: #E63946;
  --color-white: #FFFFFF;
  --color-off-white: #F5F7FA;
  --color-text: #E8ECF1;
  --color-text-muted: #B0B8C4;
  --color-border: rgba(255, 255, 255, 0.08);
  --gradient-sport: linear-gradient(135deg, #0A1628, #1B2E4F);
  --gradient-gold: linear-gradient(135deg, #D4AF37, #F5D061);
  --gradient-gold-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(245, 208, 97, 0.08));
  --gradient-fire: linear-gradient(135deg, #E63946, #B0202C);
  --font-display: "Montserrat", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 6px 24px rgba(212, 175, 55, 0.25);
  --header-w: 300px;
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.3s;
}

/* ---------- 焦点与可访问性 ---------- */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 300;
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section--alt {
  background: var(--color-off-white);
  color: #132233;
}

.section--dark {
  background: var(--gradient-sport);
  color: var(--color-text);
}

.section--alt .section-head__title {
  color: #132233;
}

.section--alt .section-head__desc,
.section--alt .card__text,
.section--alt .news-card__excerpt,
.section--alt .news-card__meta,
.section--alt .timeline__text,
.section--alt p {
  color: #5A6572;
}

.section--alt .section-head__eyebrow,
.section--alt .news-card__link {
  color: #B8860B;
}

.section--alt .card,
.section--alt .news-card {
  background: #FFFFFF;
  border-color: #E5E9F0;
}

.section--alt .card:hover {
  box-shadow: 0 8px 24px rgba(19, 34, 51, 0.12);
}

@media (min-width: 1024px) {
  body {
    margin-left: var(--header-w);
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 240;
  background: var(--gradient-gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .scroll-progress {
    left: var(--header-w);
    width: calc(100% - var(--header-w));
  }
}

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: var(--header-h);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__topbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter);
}

.site-header__meta {
  display: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(212, 175, 55, 0.045) 8px 16px);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .site-header::after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .site-header {
    width: var(--header-w);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
      var(--color-bg);
  }

  .site-header__topbar {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 24px 20px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
  }

  .site-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    flex-shrink: 0;
  }
}

.site-header__meta-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* ---------- 品牌 ---------- */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
}

.site-brand:hover {
  color: var(--color-white);
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--gradient-gold);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease);
}

.site-brand:hover .site-brand__mark {
  transform: rotate(0deg) scale(1.04);
}

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

.site-brand__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-brand__sub {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-brand__badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.site-brand--footer .site-brand__mark {
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 14px;
}

@media (min-width: 1024px) {
  .site-brand__badge {
    display: none;
  }
}

/* ---------- 导航切换按钮 ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  transition: background 0.25s, border-color 0.25s;
}

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

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-gold);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-gold);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* ---------- 主导航 ---------- */
.site-nav {
  display: none;
}

.site-nav__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 14px 10px;
}

.site-nav__list {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  display: flex;
  align-items: center;
  position: relative;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: color 0.25s, background 0.25s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--gradient-gold);
  transform: translateY(-50%);
  transition: height 0.3s var(--ease);
}

.site-nav__link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-gold);
  background: var(--gradient-gold-soft);
}

.site-nav__link[aria-current="page"]::after {
  height: 20px;
}

.site-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
}

.site-nav__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 1023px) {
  .site-nav {
    display: block;
    position: fixed;
    top: calc(var(--header-h) + 1px);
    left: 0;
    bottom: 0;
    z-index: 190;
    width: min(320px, 86vw);
    padding: 24px 20px;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s;
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
  }

  .site-nav__label {
    display: block;
    margin-bottom: 14px;
  }

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

  .site-nav__link {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 16px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 28px 12px;
    overflow-y: auto;
    visibility: visible;
  }

  .site-nav__label {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav__link {
    padding: 13px 16px;
  }

  .site-nav__foot {
    margin-top: auto;
  }
}

/* ---------- 抽屉遮罩 ---------- */
.nav-backdrop {
  position: fixed;
  inset: calc(var(--header-h) + 1px) 0 0 0;
  z-index: 185;
  background: rgba(4, 10, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .nav-backdrop {
    display: none;
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn--gold {
  background: var(--gradient-gold);
  color: var(--color-bg);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  color: var(--color-bg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn--ghost {
  border-color: rgba(212, 175, 55, 0.55);
  color: var(--color-gold);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.06);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(212, 175, 55, 0.1), transparent 70%),
    var(--color-bg);
  color: var(--color-text);
  padding-top: 64px;
}

.site-footer__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 30%, var(--color-red) 70%, transparent);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
  }

  .site-footer__col--brand {
    grid-column: auto;
  }
}

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

.site-footer__slogan {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}

.site-footer__note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-gold);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: var(--color-text-muted);
  font-size: 15px;
  transition: color 0.25s, padding-left 0.25s;
}

.site-footer__links a:hover {
  color: var(--color-gold-light);
  padding-left: 6px;
}

.site-footer__contact-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__contact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-footer__contact-value {
  font-size: 14px;
  color: var(--color-text);
  word-break: break-all;
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.25);
  padding: 20px 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 768px) {
  .site-footer__bottom-inner {
    flex-direction: row;
  }
}

.site-footer__copyright {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

.site-footer__icp {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ---------- 返回顶部 ---------- */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-md);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.scroll-top__icon {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* ---------- 页头视觉 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0;
  background: var(--gradient-sport);
  color: var(--color-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 65%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red) 70%, transparent);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.page-hero__title {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  max-width: 14em;
}

.page-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-muted);
  max-width: 42em;
  margin-bottom: 28px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  list-style: none;
  padding: 0;
}

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

.breadcrumb li + li::before {
  content: "→";
  color: var(--color-gold);
  opacity: 0.7;
  font-size: 12px;
}

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

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-gold);
  font-weight: 700;
}

/* ---------- 章节标题 ---------- */
.section-head {
  margin-bottom: 40px;
  max-width: 50em;
}

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-head__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-gold);
}

.section-head__title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-head__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 栅格 ---------- */
.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Bento 网格 ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.bento-grid__item {
  grid-column: span 6;
  min-height: 180px;
}

@media (min-width: 640px) {
  .bento-grid__item {
    grid-column: span 3;
  }
}

@media (min-width: 900px) {
  .bento-grid__item {
    grid-column: span 2;
  }

  .bento-grid__item--span2 {
    grid-column: span 4;
  }

  .bento-grid__item--full {
    grid-column: span 6;
  }
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.25);
}

.card--gold-edge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0.8;
}

.card__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 新闻卡片 ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.3);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.news-card__title {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.news-card__link {
  margin-top: auto;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__link::after {
  content: "→";
  transition: transform 0.25s;
}

.news-card__link:hover::after {
  transform: translateX(4px);
}

/* ---------- 标签与徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient-gold-soft);
  color: var(--color-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold-light);
  border: 1px solid transparent;
}

.tag--red {
  background: rgba(230, 57, 70, 0.12);
  color: #FF8A93;
  border-color: rgba(230, 57, 70, 0.3);
}

.tag--plain {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

/* ---------- 数据统计 ---------- */
.stat {
  text-align: center;
  padding: 24px 16px;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  position: relative;
  padding: 0 0 36px 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.12), 0 0 16px rgba(212, 175, 55, 0.5);
  z-index: 2;
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 24px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.6), rgba(230, 57, 70, 0.25));
}

.timeline__item:last-child::after {
  display: none;
}

.timeline__date {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  margin-bottom: 8px;
}

.timeline__title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 手风琴 ---------- */
.accordion {
  border-top: 1px solid var(--color-border);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  transition: color 0.25s;
}

.accordion__trigger:hover {
  color: var(--color-gold-light);
}

.accordion__mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  position: relative;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}

.accordion__mark::before,
.accordion__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-gold);
  transform: translate(-50%, -50%);
}

.accordion__mark::before {
  width: 10px;
  height: 2px;
}

.accordion__mark::after {
  width: 2px;
  height: 10px;
}

.accordion__item[data-open="true"] .accordion__mark {
  transform: rotate(135deg);
  background: var(--gradient-gold);
  border-color: var(--color-gold);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
  padding-right: 24px;
}

.accordion__item[data-open="true"] .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__text {
  padding: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- 标签页 ---------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
}

.tabs__btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
}

.tabs__btn:hover {
  color: var(--color-white);
  border-color: var(--color-gold);
}

.tabs__btn[aria-selected="true"] {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
  box-shadow: var(--shadow-gold);
}

.tabs__panel[hidden] {
  display: none;
}

/* ---------- 图片容器 ---------- */
.img-ratio {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gradient-sport);
}

.img-ratio::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.img-ratio--16x9::before {
  padding-top: 56.25%;
}

.img-ratio--4x3::before {
  padding-top: 75%;
}

.img-ratio--3x2::before {
  padding-top: 66.67%;
}

.img-ratio--1x1::before {
  padding-top: 100%;
}

.img-ratio--portrait::before {
  padding-top: 125%;
}

.img-ratio > img,
.img-ratio > .img-ratio__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-ratio__ph {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.14), transparent 50%),
    var(--gradient-sport);
}

.img-ratio__ph::after {
  content: "火";
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.25);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

/* ---------- 章节链接跟随 ---------- */
[data-toc-link][aria-current="true"] {
  color: var(--color-gold);
  font-weight: 800;
}

/* ---------- 滚动显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------- 分割线 ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  height: auto;
  background: none;
  margin: 40px 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* ---------- 工具类 ---------- */
.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
