@charset "UTF-8";

/* =========================================================
   冠竞体育 · 共享样式 /assets/site.css
   设计语言：运动数据编辑部 · 深海军蓝 + 亮金 + 紫红渐变
   ========================================================= */

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

/* ---------- Variables ---------- */
:root {
  --navy-deep: #0B1026;
  --navy-panel: #121B3E;
  --gold: #F5B82E;
  --gold-soft: #FFE0A3;
  --violet: #7A3BFF;
  --magenta: #E4438A;
  --paper: #F6F3EC;
  --slate: #A6B3D0;
  --cyan: #22D3EE;
  --border-line: #2A3E75;
  --violet-glow: #5B2A9D;

  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Noto Serif SC", "Source Han Serif SC", serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  --container-max: 1280px;
  --space-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-card: 14px;
  --radius-cap: 999px;
  --radius-panel: 18px;

  --shadow-card: 0 8px 30px rgba(5, 8, 25, 0.35);
  --shadow-gold: 0 4px 18px rgba(245, 184, 46, 0.25);
  --t-fast: 0.18s ease;
  --t-mid: 0.3s ease;
}

/* ---------- Base / 中文排版 ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--navy-deep);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  display: block;
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  color: var(--paper);
  margin-bottom: 0.6em;
  text-wrap: balance;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

address {
  font-style: normal;
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.3rem;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-gold);
  transition: top var(--t-fast);
  white-space: nowrap;
}

.skip-link:focus {
  top: 0;
}

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

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

/* ---------- Section 章节基础 ---------- */
.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  position: relative;
}

.section--panel {
  background: var(--navy-panel);
  border-block: 1px solid var(--border-line);
}

.section--violet {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(91, 42, 157, 0.45), transparent 60%),
    var(--navy-deep);
}

.chapter {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.chapter__no {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

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

/* ---------- Split Screen 分屏首屏 ---------- */
.split-screen {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* ---------- Theme Band 横向主题带 ---------- */
.theme-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--border-line);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(91, 42, 157, 0.4), transparent 60%),
    linear-gradient(180deg, var(--navy-panel), var(--navy-deep));
}

.theme-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(70%, 42rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--violet), transparent);
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

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

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

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

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--slate);
  list-style: none;
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb__sep {
  color: var(--slate);
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-cap);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

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

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

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

.btn--ghost:hover {
  background: rgba(245, 184, 46, 0.1);
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
  border: 1px solid var(--border-line);
  color: var(--slate);
  background: var(--navy-panel);
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}

.tag--gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.tag--magenta {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
}

.tag--cyan {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- Paper Card ---------- */
.paper-card {
  position: relative;
  background: var(--navy-panel);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}

.paper-card::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(42, 62, 117, 0.35);
  border-radius: calc(var(--radius-card) - 5px);
  pointer-events: none;
}

.paper-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 36px rgba(5, 8, 25, 0.5);
}

.paper-card--gold {
  border-color: rgba(245, 184, 46, 0.55);
}

.paper-card--gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* ---------- Data Row ---------- */
.data-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--border-line);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.data-row:last-child {
  border-bottom: none;
}

.data-row__label {
  color: var(--slate);
}

.data-row__value {
  color: var(--paper);
  font-weight: 600;
}

.data-row__accent {
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- Media Frame ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(122, 59, 255, 0.16), transparent 60%),
    linear-gradient(145deg, var(--navy-panel), var(--navy-deep));
  border: 1px solid var(--border-line);
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(245, 184, 46, 0.09), transparent);
  pointer-events: none;
  z-index: 1;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

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

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

/* ---------- Divider ---------- */
.divider {
  display: block;
  height: 1px;
  border: none;
  margin-block: 2.5rem;
  background: linear-gradient(90deg, transparent, var(--border-line) 25%, var(--border-line) 75%, transparent);
}

/* ---------- Scroll Reveal ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 16, 38, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(5, 8, 25, 0.3);
}

/* --- 顶部声明条 --- */
.header-statement {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(11, 16, 38, 0.9), rgba(18, 27, 62, 0.7));
  border-bottom: 1px solid var(--border-line);
}

.header-statement::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 14%;
  background:
    linear-gradient(135deg, transparent 33%, rgba(245, 184, 46, 0.12) 33% 66%, transparent 66%),
    linear-gradient(45deg, transparent 33%, rgba(122, 59, 255, 0.1) 33% 66%, transparent 66%);
  background-size: 16px 16px;
  pointer-events: none;
}

.header-statement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.header-statement__brand {
  font-family: var(--font-editorial);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  margin-bottom: 0;
  white-space: nowrap;
}

.header-statement__descriptor {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  margin-bottom: 0;
  white-space: nowrap;
}

/* --- 导航区 --- */
.header-nav {
  border-bottom: 1px solid var(--border-line);
}

.header-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  position: relative;
}

.header-nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  padding: 0.3rem 0;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.header-nav__brand:hover {
  color: var(--gold-soft);
}

.header-nav__brand small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 0.08rem 0.35rem;
  letter-spacing: 0.1em;
}

/* --- 胶囊菜单 --- */
.header-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-cap);
  background: var(--navy-panel);
  border: 1px solid var(--border-line);
  box-shadow: 0 4px 20px rgba(5, 8, 25, 0.3);
}

.header-nav__menu a {
  display: block;
  padding: 0.48rem 1rem;
  border-radius: var(--radius-cap);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.header-nav__menu a:hover {
  background: rgba(245, 184, 46, 0.14);
  color: var(--gold-soft);
}

.header-nav__menu a[aria-current="page"] {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

/* --- 汉堡按钮 --- */
.header-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-line);
  border-radius: 12px;
  background: var(--navy-panel);
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.header-nav__toggle:hover {
  border-color: var(--gold);
  background: var(--navy-panel);
}

.header-nav__toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.header-nav__toggle[aria-expanded="true"] .header-nav__toggle-line--top {
  transform: translateY(7px) rotate(45deg);
}

.header-nav__toggle[aria-expanded="true"] .header-nav__toggle-line--middle {
  opacity: 0;
}

.header-nav__toggle[aria-expanded="true"] .header-nav__toggle-line--bottom {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  margin-top: auto;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 100%, rgba(91, 42, 157, 0.34), transparent 60%),
    radial-gradient(ellipse at 85% 0%, rgba(18, 27, 62, 0.7), transparent 50%),
    var(--navy-deep);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--violet) 25%, var(--magenta) 55%, var(--border-line) 100%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

/* --- 品牌块 --- */
.site-footer__brand {
  padding-right: 1rem;
}

.site-footer__brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-bottom: 0.3rem;
}

.site-footer__brand-statement {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.site-footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- 栏目块 --- */
.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-line);
  position: relative;
}

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

.site-footer__nav,
.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer__nav a,
.site-footer__legal a {
  display: inline-block;
  color: var(--slate);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.18rem 0;
  transition: color var(--t-fast), transform var(--t-fast);
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

/* --- 联系块 --- */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.site-footer__contact-line {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 0;
}

.site-footer__contact-line--mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.site-footer__hours {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-line);
  margin-bottom: 0;
}

/* --- 底部 --- */
.site-footer__bottom {
  background: rgba(5, 8, 20, 0.45);
  border-top: 1px solid var(--border-line);
  padding-block: 1.4rem;
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__statement {
  font-size: 0.78rem;
  color: var(--slate);
  max-width: 80ch;
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer__trust {
  font-size: 0.75rem;
  color: rgba(166, 179, 208, 0.7);
  max-width: 90ch;
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer__copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer__copyright a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer__copyright a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1024px) {
  .header-nav__toggle {
    display: inline-flex;
  }

  .header-nav__menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-panel);
    padding: 0.5rem;
    margin-top: 0.35rem;
  }

  .header-nav__menu[data-open] {
    display: flex;
  }

  .header-nav__menu a {
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    white-space: normal;
    text-align: left;
  }

  .split-screen {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (max-width: 560px) {
  .header-statement__descriptor {
    display: none;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* =========================================================
   Reduced Motion
   ========================================================= */

@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;
  }

  .paper-card:hover {
    transform: none;
  }

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