/* ==========================================================================
   FB赛事 · 共享站点样式  /assets/site.css
   夜赛蓝底 + 球场深绿画板 + 奶油纸实色层 + 荧光黄交互 + 暖橙回看标记
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background: #0B1F33;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

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

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --night: #0B1F33;
  --night-deep: #07131F;
  --green: #10382B;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --cream: #F3EAD3;
  --ink: #241A12;
  --ink-soft: #4A3527;
  --neon: #E9FF57;
  --neon-soft: rgba(233, 255, 87, 0.12);
  --orange: #FF7A2F;
  --cyan: #6FD8C8;
  --mist: #A9BCCB;
  --mist-dim: rgba(169, 188, 203, 0.42);
  --paper-line: rgba(169, 188, 203, 0.16);
  --white: #FFFFFF;
  --text-on-dark: #DBE6EE;

  /* 字体 */
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --wrap: 1200px;
  --narrow: 760px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms;
  --t-mid: 180ms;
  --t-slow: 200ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--night);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { text-wrap: pretty; }

::selection {
  background: var(--neon);
  color: #12210A;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(var(--narrow), 100% - 40px);
  margin-inline: auto;
}

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

.section__head {
  max-width: 46em;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.section__num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.section__lead {
  margin-top: 14px;
  max-width: 42em;
  font-size: 16.5px;
  color: var(--mist);
}

.divider {
  height: 1px;
  border: 0;
  background: var(--paper-line);
}

/* 网格 */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.grid--split { grid-template-columns: 1.15fr 0.85fr; }

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

/* ---------- 5. 面板与内容层 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: var(--green);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}

.panel--glass {
  background: var(--glass);
  border-color: var(--glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.panel--cream {
  background: var(--cream);
  border-color: rgba(36, 26, 18, 0.14);
  color: var(--ink);
}

.panel--cream h1,
.panel--cream h2,
.panel--cream h3,
.panel--cream h4 { color: var(--ink); }

.panel--cream .section__lead,
.panel--cream .section__num { color: var(--ink-soft); }

.panel--cream .prose { color: var(--ink-soft); }
.panel--cream .prose a { color: #A2400A; }

.panel--lift {
  transition: transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}

.panel--lift:hover,
.panel--lift:focus-within {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
}

.panel--cream.panel--lift:hover,
.panel--cream.panel--lift:focus-within {
  background-color: #FAF3E2;
}

/* ---------- 6. 标签与按钮 ---------- */
.slant-tag {
  display: inline-block;
  padding: 4px 13px 4px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--neon);
  background: var(--neon-soft);
  border: 1px solid rgba(233, 255, 87, 0.38);
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  white-space: nowrap;
}

.slant-tag--orange {
  color: var(--orange);
  background: rgba(255, 122, 47, 0.12);
  border-color: rgba(255, 122, 47, 0.42);
}

.slant-tag--cyan {
  color: var(--cyan);
  background: rgba(111, 216, 200, 0.12);
  border-color: rgba(111, 216, 200, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t-mid) var(--ease),
              color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}

.btn--sm {
  padding: 9px 17px;
  font-size: 13.5px;
}

.btn--neon {
  background: var(--neon);
  color: #12210A;
}

.btn--neon:hover {
  background: #F3FF91;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(233, 255, 87, 0.22);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--mist-dim);
}

.btn--ghost:hover {
  color: var(--neon);
  border-color: var(--neon);
  transform: translateY(-2px);
}

.btn--orange {
  background: var(--orange);
  color: #2B1000;
}

.btn--orange:hover {
  background: #FF9356;
  transform: translateY(-2px);
}

.btn:active { transform: translateY(1px); }

/* ---------- 7. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  top: -72px;
  left: 16px;
  z-index: 200;
  padding: 11px 20px;
  background: var(--neon);
  color: #12210A;
  font-size: 14px;
  font-weight: 800;
  border-radius: 0 0 12px 12px;
  transition: top var(--t-mid) var(--ease);
}

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

/* ---------- 8. 头部：双层信息导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 31, 51, 0.94);
  border-bottom: 1px solid var(--paper-line);
  color: var(--white);
}

.header-top {
  overflow: hidden;
  max-height: 120px;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease);
}

.site-header.is-compact .header-top {
  max-height: 0;
  opacity: 0;
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--neon);
  color: #12210A;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__text {
  display: block;
  min-width: 0;
}

.brand__name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--white);
}

.brand__tag {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-top__cta {
  flex: 0 0 auto;
}

/* 主栏目条 */
.header-main {
  position: relative;
  background: rgba(16, 56, 43, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 6px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--mist-dim);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: border-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars > span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}

.nav-toggle.is-open .nav-toggle__bars > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bars > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端导航面板 */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: min(72vh, 540px);
  overflow-y: auto;
  padding: 6px 0 14px;
  background: rgba(11, 31, 51, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(169, 188, 203, 0.24);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.5);
}

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

.site-nav__list {
  display: flex;
  flex-direction: column;
}

.site-nav__item {
  border-bottom: 1px solid rgba(169, 188, 203, 0.12);
}

.site-nav__item:last-child { border-bottom: 0; }

.site-nav__link {
  display: block;
  padding: 15px 22px;
  border-left: 3px solid transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--mist);
  transition: color var(--t-mid) var(--ease),
              background-color var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}

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

.site-nav__link[aria-current="page"] {
  color: var(--white);
  border-left-color: var(--neon);
  background: rgba(233, 255, 87, 0.07);
}

/* 桌面端导航 */
@media (min-width: 881px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: block;
    flex: 1 1 auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
  }

  .site-nav__item {
    border-bottom: 0;
  }

  .site-nav__link {
    padding: 14px 14px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--mist);
  }

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

  .site-nav__link[aria-current="page"] {
    color: var(--white);
    border-bottom-color: var(--neon);
    background: transparent;
  }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, #0A1A2B 0%, var(--night-deep) 100%);
  border-top: 1px solid var(--paper-line);
  color: #C9D8E3;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  grid-template-columns: 1.25fr 0.9fr 0.95fr 1.35fr;
}

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

.footer-col__title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
}

.footer-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
}

.footer-brand::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  background: var(--neon);
  border-radius: 2px;
}

.footer-note {
  margin-top: 16px;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-list li + li { margin-top: 9px; }

.footer-list a,
.legal-links a,
.footer-link {
  color: #DCE7EF;
  border-bottom: 1px solid transparent;
  transition: color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}

.footer-list a:hover,
.legal-links a:hover,
.footer-link:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(169, 188, 203, 0.1);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-contact__label {
  flex: 0 0 auto;
  width: 4.6em;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.footer-contact__value {
  min-width: 0;
  color: #E3EDF4;
  word-break: break-word;
}

.footer-note-line {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(28px, 4vw, 52px);
  padding-block: 18px 28px;
  border-top: 1px solid var(--paper-line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.rhythm-note {
  color: var(--cyan);
}

.copyright {
  color: var(--mist);
}

/* ---------- 10. 通用正文与页头 ---------- */
.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-on-dark);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-top: 1.6em;
}

.prose a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover { text-decoration-thickness: 2px; }

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

.prose blockquote {
  padding-left: 20px;
  border-left: 3px solid var(--orange);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--cream);
}

.page-head {
  padding-block: clamp(34px, 5vw, 66px) clamp(20px, 3vw, 36px);
}

.page-head__title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-head__lead {
  margin-top: 16px;
  max-width: 44em;
  font-size: 17px;
  color: var(--mist);
}

/* 面包屑 */
.breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--mist);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  padding: 0 10px;
  color: var(--mist-dim);
}

.breadcrumb__list a {
  color: var(--mist);
  transition: color var(--t-mid) var(--ease);
}

.breadcrumb__list a:hover { color: var(--neon); }

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

/* ---------- 11. 图片容器基础规则 ---------- */
.media-figure {
  display: block;
  margin: 0;
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-strong);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(111, 216, 200, 0.18), transparent 62%),
    radial-gradient(90% 70% at 100% 100%, rgba(233, 255, 87, 0.12), transparent 58%),
    linear-gradient(160deg, var(--green) 0%, var(--night) 100%);
}

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

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 12. 滚动进度与回到顶部 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--neon), var(--cyan) 70%, var(--orange));
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(233, 255, 87, 0.5);
  background: rgba(11, 31, 51, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--neon);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease),
              visibility var(--t-slow) var(--ease),
              background-color var(--t-mid) var(--ease);
}

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

.to-top:hover {
  background: rgba(233, 255, 87, 0.14);
  color: var(--white);
}

/* ---------- 13. 显现协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .wrap,
  .wrap--narrow { width: min(100% - 32px, var(--wrap)); }

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

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

  .to-top {
    right: 14px;
    bottom: 16px;
    padding: 10px 15px;
    font-size: 12.5px;
  }
}

@media (max-width: 520px) {
  .brand__tag { display: none; }
  .header-top__cta { padding: 8px 14px; font-size: 13px; }
  .page-head__title { font-size: clamp(30px, 9vw, 42px); }
}

/* ---------- 15. 无障碍与动效偏好 ---------- */
@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;
  }

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

  .panel--lift:hover,
  .panel--lift:focus-within,
  .btn:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .scroll-meter { display: none; }
}
