/* ============================================
   Site Kit — 亚体育中国官网 Asian Sports APP
   /assets/site.css
   Sports Energy / Brutalist Grid / Left-Right Split
   ============================================ */

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  line-height: 1.7;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--c-black);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

::selection {
  background: var(--c-yellow);
  color: var(--c-blue);
}

/* 02 Variables */
:root {
  --c-red: #E63946;
  --c-red-deep: #C1121F;
  --c-blue: #14213D;
  --c-blue-2: #1D3557;
  --c-blue-dark: #0D1B2A;
  --c-blue-deep: #0A111F;
  --c-gray: #6C757D;
  --c-gray-light: #ADB5BD;
  --c-yellow: #FFC300;
  --c-green: #A7C957;
  --c-cream: #F8F5F0;
  --c-white: #FFFFFF;
  --c-black: #101418;

  --font-display: "DIN Condensed", "Bahnschrift", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, "Liberation Mono", monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --container-w: 1440px;
  --container-pad: clamp(1rem, 4vw, 3rem);
  --border-thick: 3px;
  --border-thin: 1px;
  --shadow: 6px 6px 0 rgba(20, 33, 61, 0.16);
  --shadow-strong: 10px 10px 0 rgba(20, 33, 61, 0.22);
}

/* 03 Layout & Container */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-16);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-red);
}

.section-label::before {
  content: "";
  width: 30px;
  height: 6px;
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.section-title {
  margin-top: var(--space-2);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  color: var(--c-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-8);
  align-items: start;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }

/* 04 Utilities */
.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;
}

.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.index-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--c-red);
}

/* 05 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-blue);
  border-bottom: var(--border-thick) solid var(--c-red);
  box-shadow: 0 6px 0 rgba(10, 17, 31, 0.14);
}

.header-shell {
  position: relative;
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.header-top {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--c-cream);
  transition: color 0.2s ease;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  position: relative;
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 20% 100%);
  transition: background 0.25s ease;
}

.brand-mark-core {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 44%, var(--c-yellow) 44%, var(--c-yellow) 58%, transparent 58%);
  transition: background 0.25s ease;
}

.brand:hover .brand-mark {
  background: var(--c-yellow);
}

.brand:hover .brand-mark-core {
  background: linear-gradient(135deg, transparent 44%, var(--c-blue) 44%, var(--c-blue) 58%, transparent 58%);
}

.brand-ident {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-white);
  transition: color 0.2s ease;
}

.brand:hover .brand-name {
  color: var(--c-yellow);
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.header-slogan {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--c-gray-light);
  letter-spacing: 0.02em;
}

.header-slogan::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
}

/* 06 Navigation */
.site-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-item {
  flex: none;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 20px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-cream);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--c-red);
  transition: color 0.2s ease;
}

.nav-item:hover .nav-link {
  background: var(--c-red);
  color: var(--c-white);
}

.nav-item:hover .nav-index {
  color: var(--c-yellow);
}

.nav-link[aria-current="page"] {
  background: var(--c-yellow);
  color: var(--c-blue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

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

/* 07 Nav Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--c-red);
  color: var(--c-white);
  border: 0;
  cursor: pointer;
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: var(--c-yellow);
  color: var(--c-blue);
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 6px; }

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-toggle-label {
  display: inline-block;
}

/* 08 Skip Link */
.skip-link {
  position: fixed;
  top: 12px;
  left: -999px;
  z-index: 300;
  display: inline-block;
  padding: 12px 20px;
  background: var(--c-yellow);
  color: var(--c-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 rgba(20, 33, 61, 0.3);
}

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

/* 09 Scroll Progress */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.scroll-progress-track {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-red), var(--c-yellow));
}

/* 10 Back To Top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-red);
  color: var(--c-white);
  border: 2px solid var(--c-blue);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 5px 5px 0 rgba(20, 33, 61, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.to-top:hover {
  background: var(--c-yellow);
  color: var(--c-blue);
}

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

/* 11 Footer */
.site-footer {
  background: var(--c-blue-deep);
  color: var(--c-cream);
  border-top: var(--border-thick) solid var(--c-red);
}

.footer-shell {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: var(--space-8);
  padding-block: var(--space-12) var(--space-8);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer-brand-en {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.footer-desc {
  margin-top: var(--space-4);
  max-width: 46ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-gray-light);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
}

.footer-heading::before {
  content: "";
  flex: none;
  width: 24px;
  height: 7px;
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-cream);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--c-red);
  transition: background 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-yellow);
  padding-left: 6px;
}

.footer-links a:hover::before {
  background: var(--c-green);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--c-gray-light);
  line-height: 1.6;
}

.footer-contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  background: var(--c-green);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.footer-worktime {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--c-gray);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: var(--c-gray-light);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--c-yellow);
}

.footer-legal-sep {
  color: var(--c-red);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--c-gray);
}

/* 12 Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 26px;
  border: 2px solid var(--c-blue);
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

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

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

.btn-primary {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-blue);
}

.btn-outline {
  background: transparent;
  color: var(--c-blue);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--shadow);
}

/* 13 Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag[data-tone="yellow"] {
  background: var(--c-yellow);
  color: var(--c-blue);
}

.tag[data-tone="green"] {
  background: var(--c-green);
  color: var(--c-blue);
}

.tag[data-tone="blue"] {
  background: var(--c-blue);
  color: var(--c-white);
}

/* 14 Breadcrumb */
.breadcrumb {
  padding-block: var(--space-4);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--c-gray);
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--c-red);
}

.breadcrumb-link {
  color: var(--c-gray);
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--c-red);
}

.breadcrumb-current {
  color: var(--c-blue);
  font-weight: 700;
}

/* 15 Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 2px solid var(--c-blue);
  box-shadow: var(--shadow);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-gray);
}

/* 16 Media Frame */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-blue-dark);
  border: 2px solid var(--c-blue);
}

.media-frame::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.media-frame[data-ratio="4/3"]::before { padding-top: 75%; }
.media-frame[data-ratio="3/2"]::before { padding-top: 66.6667%; }
.media-frame[data-ratio="1/1"]::before { padding-top: 100%; }
.media-frame[data-ratio="3/4"]::before { padding-top: 133.3333%; }
.media-frame[data-ratio="21/9"]::before { padding-top: 42.8571%; }

.media-content,
.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.media-placeholder {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: var(--c-gray-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.media-placeholder::before {
  content: "";
  width: 46px;
  height: 46px;
  border: 3px solid var(--c-red);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

/* 17 Prose */
.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-black);
}

.prose p {
  margin-bottom: 1.25em;
}

.prose strong {
  color: var(--c-red);
  font-weight: 700;
}

.prose a {
  color: var(--c-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose a:hover {
  color: var(--c-blue);
}

.prose h2 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-size: 1.6rem;
}

.prose h3 {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  font-size: 1.2rem;
}

.prose ul {
  margin-bottom: 1.25em;
  padding-left: 1.4em;
  list-style: disc;
}

.prose ol {
  margin-bottom: 1.25em;
  padding-left: 1.4em;
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5em;
}

/* 18 Reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 19 Focus */
:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

/* 20 Responsive */
@media (max-width: 992px) {
  .header-slogan {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .grid-12 .col-3,
  .grid-12 .col-4 {
    grid-column: span 6;
  }

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

@media (min-width: 769px) {
  .site-nav,
  .site-nav[data-open] {
    display: block;
  }
}

@media (max-width: 768px) {
  .section {
    padding-block: var(--space-8);
  }

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

  .header-top {
    padding-block: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .site-nav {
    display: none;
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 4px;
    border-right: 0;
  }

  .nav-link[aria-current="page"] {
    clip-path: none;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  .grid-12 .col-3,
  .grid-12 .col-4,
  .grid-12 .col-6,
  .grid-12 .col-8 {
    grid-column: span 12;
  }
}

/* 21 Reduced Motion */
@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 !important;
  }

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

  .to-top {
    transition: none;
  }
}
