/* =========================================================
   完美体育官网 Site Kit / /assets/site.css
   系统代号：Command Deck —— 深色竞技场 + 金色命令轨 + 荧光绿数据点
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

/* ---------- 设计变量 ---------- */
:root {
  --bg-deep: #0B0D0F;
  --bg-raised: #14181C;
  --bg-ink: #08090A;
  --gold: #FFBB33;
  --gold-soft: rgba(255, 187, 51, .14);
  --neon: #33FF99;
  --off-white: #EDEDED;
  --muted: #9AA5AD;
  --red: #FF4B4B;
  --blue: #4D9FFF;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(255, 187, 51, .32);
  --font-display: 'Barlow Condensed', 'Roboto Condensed', 'DIN Alternate', Impact, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container: 1280px;
  --pad: clamp(18px, 4vw, 32px);
  --radius: 3px;
}

/* ---------- 基础排版 ---------- */
body {
  background: var(--bg-deep);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}
::selection { background: var(--gold); color: #0B0D0F; }
a { color: inherit; transition: color .18s ease, border-color .18s ease, background .18s ease; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
#main-content { scroll-margin-top: 14px; }
.data-num { font-variant-numeric: tabular-nums; }

/* ---------- 容器与章节 ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--dark { background: var(--bg-ink); }
.section-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--off-white);
  line-height: 1.1;
  text-transform: uppercase;
}
.section-head__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.v-note {
  writing-mode: vertical-rl;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--gold {
  background: linear-gradient(120deg, #FFBB33, #FF9E45);
  border-color: var(--gold);
  color: #0B0D0F;
  box-shadow: 0 4px 18px rgba(255, 187, 51, .2);
}
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--off-white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.tag--live { border-color: rgba(51, 255, 153, .4); color: var(--neon); }
.tag--warn { border-color: rgba(255, 75, 75, .4); color: var(--red); }

/* ---------- 资料卡 ---------- */
.card {
  background: linear-gradient(155deg, var(--bg-raised), #111418);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: clamp(18px, 3vw, 28px);
}
.card--accent { border-top-color: var(--neon); }
.card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--off-white); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(18px, 2.6vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* ---------- 图片占位容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1F24, #0B0D0F);
  border: 1px solid var(--line);
}
.img-frame::before { content: ""; display: block; padding-top: 60%; }
.img-frame--wide::before { padding-top: 52%; }
.img-frame--tall::before { padding-top: 76%; }
.img-frame__slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.img-frame__slot::before {
  content: "IMG";
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: .65rem;
  letter-spacing: .1em;
}

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  color: var(--muted);
}
.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb li:not(:last-child)::after { content: "/"; color: rgba(255, 187, 51, .6); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb [aria-current="page"] { color: var(--gold); }

/* ---------- 状态点 ---------- */
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}
.status-dot--live { background: var(--neon); box-shadow: 0 0 8px rgba(51, 255, 153, .75); }

/* ---------- 显现协议 ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal][data-revealed] { opacity: 1; transform: none; }

/* =========================================================
   页头
   ========================================================= */
.skip-link {
  position: fixed;
  top: -48px;
  left: 0;
  z-index: 2000;
  padding: 10px 20px;
  background: var(--gold);
  color: #0B0D0F;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.site-header { position: relative; z-index: 100; background: var(--bg-deep); }

/* LIVE 提示条 */
.promo-strip {
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(90deg, #0B0D0F 0%, #10141A 30%, #0B0D0F 100%);
}
.promo-strip__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 6px clamp(18px, 4vw, 32px);
  min-height: 34px;
}
.promo-strip__text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--off-white);
}
.promo-strip__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(51, 255, 153, .85), 0 0 3px rgba(51, 255, 153, .9);
}
.promo-strip__tag {
  padding: 2px 7px 1px;
  border-radius: 2px;
  background: var(--gold);
  color: #0B0D0F;
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.promo-strip__meta { margin: 0 0 0 auto; font-size: .75rem; color: var(--muted); }

/* 页头主体 */
.header-main { border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(18px, 4vw, 32px);
  min-height: 72px;
}

/* 品牌 */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #FFBB33, #FF8C42);
  color: #0B0D0F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  transform: skew(-8deg);
  box-shadow: 0 4px 16px rgba(255, 187, 51, .28);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: .02em;
  color: var(--gold);
  text-transform: uppercase;
}
.brand__domain { font-size: .66rem; letter-spacing: .22em; color: var(--muted); }

/* 命令栏导航 */
.command-nav { margin-left: auto; }
.command-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.command-nav__link {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 26px 12px 20px;
  font-size: .9rem;
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.command-nav__idx { font-family: var(--font-display); font-size: .72rem; letter-spacing: .08em; color: var(--gold); }
.command-nav__link:hover { color: var(--gold); border-color: var(--gold); background: rgba(255, 187, 51, .05); }
.command-nav__link[aria-current="page"] { color: var(--gold); border-color: var(--neon); background: rgba(255, 187, 51, .07); }

/* 页头快速入口 */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; flex: none; }
.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: .84rem;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.action-pill:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.action-pill--gold { background: var(--gold); border-color: var(--gold); color: #0B0D0F; font-weight: 700; }
.action-pill--gold:hover { background: #FFC952; color: #0B0D0F; }
.action-pill__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); }
.action-pill--gold .action-pill__dot { background: #0B0D0F; }

/* 滚动进度条 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--neon));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* 右下角命令键 */
.nav-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .55), 0 0 0 5px rgba(255, 187, 51, .08);
  transition: transform .18s ease, background .18s ease;
}
.nav-toggle:hover { background: #1A1F24; transform: translateY(-2px); }
.nav-toggle__icon { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle__icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: top .22s ease, transform .22s ease, opacity .2s ease;
}
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 6px; }
.nav-toggle__icon span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-toggle__label {
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* 侧边命令面板 */
.command-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  width: min(420px, 94vw);
  background: linear-gradient(165deg, #15191D 0%, #0B0D0F 72%);
  border-left: 1px solid var(--line-gold);
  box-shadow: -18px 0 40px rgba(0, 0, 0, .5);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
  overflow-x: hidden;
  overflow-y: auto;
}
.command-panel[data-open] { transform: translateX(0); visibility: visible; }
.command-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.command-panel__index {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
}
.command-panel__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--off-white);
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.command-panel__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.command-panel__nav { display: flex; flex-direction: column; padding: 10px 12px 6px; }
.command-panel__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  color: var(--off-white);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease, color .18s ease;
}
.command-panel__link:hover { background: rgba(255, 187, 51, .055); color: var(--gold); }
.command-panel__num { font-family: var(--font-display); font-size: .95rem; color: var(--gold); width: 30px; flex: none; }
.command-panel__label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .05em;
}
.command-panel__en { font-family: var(--font-body); font-size: .62rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.command-panel__arrow { color: var(--muted); font-size: 1rem; transition: transform .18s ease, color .18s ease; }
.command-panel__link:hover .command-panel__arrow { transform: translate(3px, -3px); color: var(--gold); }
.command-panel__link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 187, 51, .14), transparent 80%);
  border-left: 3px solid var(--neon);
}
.command-panel__link[aria-current="page"] .command-panel__label { color: var(--gold); }
.command-panel__link[aria-current="page"] .command-panel__en { color: var(--gold); }
.command-panel__quick { margin: 4px 22px 20px; border-top: 1px solid var(--line); }
.command-panel__hint {
  margin: 16px 0 10px;
  font-size: .68rem;
  letter-spacing: .24em;
  color: var(--muted);
  text-transform: uppercase;
}
.command-panel__link--quick {
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .88rem;
}
.command-panel__link--quick .status-dot { margin-right: 2px; }
.command-panel__link--quick:hover { border-color: var(--line-gold); }
.command-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: .7rem;
  color: var(--muted);
}

/* 遮罩 */
.command-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(3, 5, 6, .7);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s;
}
.command-panel[data-open] ~ .command-backdrop { opacity: 1; visibility: visible; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0B0D0F 0%, #08090A 100%);
  border-top: 1px solid var(--line-gold);
  color: var(--muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 42%;
  background: linear-gradient(90deg, var(--gold), rgba(255, 187, 51, 0));
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px) clamp(18px, 4vw, 32px);
}

.footer-brand__logo {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gold);
  text-decoration: none;
}
.footer-brand__logo:hover { color: #FFC952; }
.footer-brand__about { max-width: 46ch; margin-bottom: 18px; font-size: .9rem; line-height: 1.75; }
.footer-brand__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-brand__tags li {
  padding: 4px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: .74rem;
  color: var(--off-white);
}

.footer-nav__title,
.footer-meta__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav li { padding: 6px 0; }
.footer-nav a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: color .18s ease, transform .18s ease;
}
.footer-nav a::before { content: "▸"; position: absolute; left: -14px; opacity: 0; color: var(--gold); transition: opacity .18s ease; }
.footer-nav a:hover { color: var(--off-white); transform: translateX(14px); }
.footer-nav a:hover::before { opacity: 1; }

.footer-meta__links { margin: 0 0 20px; padding: 0; list-style: none; }
.footer-meta__links li { padding: 4px 0; }
.footer-meta__links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-meta__links a:hover { color: var(--gold); }
.footer-contact { margin: 0; padding: 0; list-style: none; font-size: .84rem; line-height: 1.9; }
.footer-contact li::before { content: "·"; margin-right: 6px; color: var(--gold); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px clamp(18px, 4vw, 32px) 24px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
}
.site-footer__bottom p { margin: 0; }

/* =========================================================
   响应式断点
   ========================================================= */
@media (max-width: 1200px) {
  .command-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .header-actions { display: none; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-footer__main { grid-template-columns: 1fr; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .promo-strip__meta { display: none; }
  .brand__name { font-size: 1.4rem; }
  .brand__domain { display: none; }
  .header-main__inner { min-height: 62px; }
  .nav-toggle { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .command-panel__label { font-size: 1.2rem; }
  .command-panel__link { gap: 10px; }
  .command-panel__num { width: 24px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .scroll-progress { display: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nav-toggle:hover { transform: none; }
}
