/* ==================== 1. Design Tokens ==================== */
:root {
  --navy: #0A1628;
  --navy-deep: #060E1A;
  --navy-soft: #14233C;
  --paper: #F4EFE6;
  --paper-deep: #EDE8DF;
  --gold: #C9A961;
  --gold-light: #DBBF7F;
  --orange: #F26522;
  --steel: #4D6A8F;
  --steel-light: #7B91AD;
  --ink: #1F2430;
  --muted: #6A717C;
  --red: #E23B3B;
  --white: #FFFFFF;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-num: 'DIN Alternate', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --header-h: 72px;
  --header-h-mobile: 64px;
  --container-max: 1200px;
  --radius: 2px;
  --shadow: 0 6px 24px rgba(10, 22, 40, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* {
  margin: 0;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}

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

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

ul,
ol {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

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

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-light);
}

/* ==================== 3. Layout ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.site-main {
  min-height: 60vh;
  display: block;
}

#main-content {
  scroll-margin-top: var(--header-h);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ==================== 4. Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--gold);
  height: var(--header-h);
  box-shadow: 0 2px 10px rgba(6, 14, 26, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--paper);
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-accent {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-left: 0.1em;
  letter-spacing: 0.06em;
}

.brand-caption {
  font-size: 0.68rem;
  color: var(--steel-light);
  letter-spacing: 0.2em;
  white-space: nowrap;
  border-left: 1px solid var(--gold);
  padding-left: 0.6rem;
  text-transform: uppercase;
  line-height: 1.6;
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 5;
  pointer-events: none;
  transition: width 0.12s linear;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: clamp(1rem, 3vw, 2rem);
  z-index: 2000;
  padding: 0.6em 1.2em;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* ==================== 5. Navigation ==================== */
.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nav-counter;
}

.nav-item {
  counter-increment: nav-counter;
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.55em 0.55em;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--off-white, #EDE8DF);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::before {
  content: counter(nav-counter, decimal-leading-zero);
  font-family: var(--font-num);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--steel-light);
  line-height: 1;
  transform: translateY(-0.2em);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.55em;
  right: 0.55em;
  bottom: 0.3em;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.nav-link:hover::before {
  color: var(--gold);
}

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

.nav-link[aria-current="page"] {
  color: var(--gold);
}

.nav-link[aria-current="page"]::before {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(201, 169, 97, 0.4);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.06);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--orange);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.2s ease;
}

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

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

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

/* ==================== 6. Footer ==================== */
.site-footer {
  position: relative;
  background: var(--navy);
  font-family: var(--font-body);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  border-top: 3px solid var(--gold);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: min(28%, 320px);
  height: 3px;
  background: var(--orange);
  pointer-events: none;
}

.footer-top,
.footer-end {
  max-width: var(--container-max);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1.5fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: 3.25rem 0 2.25rem;
}

.footer-brand {
  padding-right: 1.5rem;
}

.footer-logo {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.1;
}

.footer-accent {
  color: var(--gold);
  font-size: 1.25rem;
  margin-left: 0.1em;
}

.footer-about {
  margin: 0 0 0.9rem;
  max-width: 30em;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--off-white, #EDE8DF);
}

.footer-trust {
  margin: 0;
  max-width: 31em;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(237, 232, 223, 0.68);
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
  line-height: 1.4;
}

.footer-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 169, 97, 0));
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-list a {
  display: inline-block;
  color: var(--off-white, #EDE8DF);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--off-white, #EDE8DF);
}

.contact-label {
  display: inline-block;
  min-width: 2.4em;
  margin-right: 0.6em;
  padding-bottom: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  line-height: 1.4;
}

.contact-note {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(201, 169, 97, 0.22);
  font-size: 0.78rem;
  color: rgba(237, 232, 223, 0.7);
  line-height: 1.6;
}

.footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  font-size: 0.82rem;
  color: rgba(237, 232, 223, 0.62);
}

.footer-copyright,
.footer-icp {
  margin: 0;
  color: inherit;
}

/* ==================== 7. Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65em 1.3em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--paper);
}

.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.btn-ghost-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ==================== 8. Cards, Tables, Tags ==================== */
.card {
  position: relative;
  background: var(--off-white, #EDE8DF);
  border: 1px solid var(--gold);
  padding: 1.5rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.card-value {
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th {
  text-align: left;
  padding: 0.7rem 0.8rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--gold);
}

.data-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--ink);
}

.data-table tbody tr:nth-child(even) {
  background: var(--off-white, #EDE8DF);
}

.data-table tbody tr:hover {
  background: rgba(201, 169, 97, 0.12);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}

.live-indicator::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 1.6s ease-in-out infinite;
}

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

.tag {
  display: inline-block;
  padding: 0.2em 0.65em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  line-height: 1.5;
}

.tag-gold {
  background: rgba(201, 169, 97, 0.15);
  color: #8A6E2F;
  border: 1px solid var(--gold);
}

.tag-orange {
  background: rgba(242, 101, 34, 0.12);
  color: var(--orange);
  border: 1px solid rgba(242, 101, 34, 0.4);
}

.tag-navy {
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
}

/* ==================== 9. Breadcrumb, Section Label, Note ==================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--gold);
}

.breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
  text-decoration: underline;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 2.5em;
  height: 1px;
  background: var(--gold);
}

.section-label::after {
  content: '';
  width: 0.4em;
  height: 0.4em;
  background: var(--orange);
  transform: rotate(45deg);
}

.note-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.74rem;
  line-height: 1.9;
  letter-spacing: 0.34em;
  color: var(--muted);
  max-height: 100%;
}

.note-vertical--gold {
  color: var(--gold);
}

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 169, 97, 0.25), transparent);
  margin: 2.5rem 0;
}

/* ==================== 10. Image Frames ==================== */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--off-white, #EDE8DF);
  border: 1px solid var(--gold);
  aspect-ratio: 16 / 9;
}

.img-frame::after {
  content: '赛事影像';
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--steel);
  background: linear-gradient(135deg, var(--off-white, #EDE8DF) 0%, var(--paper) 55%, rgba(201, 169, 97, 0.18) 100%);
  pointer-events: none;
}

.img-frame img,
.img-frame > * {
  position: relative;
  z-index: 1;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-ratio-wide {
  aspect-ratio: 21 / 9;
}

.img-ratio-square {
  aspect-ratio: 1 / 1;
}

.img-ratio-portrait {
  aspect-ratio: 3 / 4;
}

/* ==================== 11. Reveal Interaction ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ==================== 12. Utility ==================== */
.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;
}

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

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

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

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

.bg-navy {
  background: var(--navy);
  color: var(--paper);
}

.bg-paper {
  background: var(--paper);
  color: var(--ink);
}

.bg-offwhite {
  background: var(--off-white, #EDE8DF);
}

/* ==================== 13. Responsive ==================== */
@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  #main-content {
    scroll-margin-top: var(--header-h-mobile);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: var(--navy-deep);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 16px 32px rgba(6, 14, 26, 0.5);
    transition: max-height 0.35s var(--ease), opacity 0.25s ease, visibility 0.25s;
  }

  .primary-nav[data-open] {
    max-height: 560px;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
  }

  .nav-item {
    border-bottom: 1px solid rgba(201, 169, 97, 0.14);
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-link {
    padding: 0.9rem 0.4rem;
    font-size: 1rem;
    gap: 0.6em;
  }

  .nav-link::before {
    font-size: 0.68rem;
    transform: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.12), transparent);
  }

  .nav-toggle {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

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

@media (max-width: 640px) {
  .brand-caption {
    display: none;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 1.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-end {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ==================== 14. Reduced Motion & Accessibility ==================== */
@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;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .live-indicator::before {
    animation: none;
  }

  .card:hover,
  .btn:active {
    transform: none;
  }
}
