/* ==========================================================================
   博业体育看台 · 全站共享样式  /assets/site.css
   夜底看台 + 戈壁暖沙 + 松石绿 + 荧光橙，控制台式共享外壳
   ========================================================================== */

/* --- 1. Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* --- 2. 变量 ------------------------------------------------------------ */
:root {
  --kt-night: #0E1416;
  --kt-ink: #05090A;
  --kt-jade: #12655C;
  --kt-jade-light: #4FD1C5;
  --kt-flame: #FF6A2B;
  --kt-sand: #E8D5B7;
  --kt-sand-deep: #C9A87C;
  --kt-paper: #F5F1EA;
  --kt-mist: #8FA3A0;
  --kt-warn: #FFC24B;
  --kt-on-flame: #150D07;
  --kt-on-sand: #1B1712;

  --kt-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --kt-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono",
    "Courier New", monospace;

  --kt-header-h: 76px;
  --kt-radius: 2px;
  --kt-line: rgba(201, 168, 124, 0.24);
  --kt-line-strong: rgba(201, 168, 124, 0.46);
  --kt-glass: rgba(5, 9, 10, 0.95);
}

/* --- 3. 基础排版 -------------------------------------------------------- */
body {
  background-color: var(--kt-night);
  color: var(--kt-paper);
  font-family: var(--kt-font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--kt-flame); color: var(--kt-on-flame); }
:focus-visible { outline: 2px solid var(--kt-flame); outline-offset: 3px; border-radius: var(--kt-radius); }

#main-content { display: block; padding-top: var(--kt-header-h); }
#main-content.kt-main--overlay { padding-top: 0; }

.kt-display {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 900;
  font-stretch: 87.5%;
  letter-spacing: -0.03em;
}
.kt-h2 {
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  font-stretch: 87.5%;
  letter-spacing: -0.02em;
}
.kt-h3 {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.kt-lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.84);
}
.kt-prose { max-width: 38em; }
.kt-prose p + p { margin-top: 1.05em; }
.kt-prose ul { margin-top: 1em; display: grid; gap: 0.5em; }
.kt-prose li { padding-left: 1.1em; position: relative; }
.kt-prose li::before {
  content: ""; position: absolute; left: 0; top: 0.75em;
  width: 6px; height: 6px; background: var(--kt-jade-light); border-radius: 50%;
}
.kt-mist { color: var(--kt-mist); }
.kt-num {
  font-family: var(--kt-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.kt-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;
}

/* --- 4. 容器与栅格 ------------------------------------------------------ */
.kt-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.kt-container--wide { max-width: 1520px; }
.kt-container--narrow { max-width: 880px; }

.kt-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.kt-col-3 { grid-column: span 3; }
.kt-col-4 { grid-column: span 4; }
.kt-col-5 { grid-column: span 5; }
.kt-col-6 { grid-column: span 6; }
.kt-col-7 { grid-column: span 7; }
.kt-col-8 { grid-column: span 8; }
.kt-col-12 { grid-column: span 12; }

/* --- 5. 区块节奏 -------------------------------------------------------- */
.kt-section { position: relative; padding-block: clamp(48px, 7.5vw, 120px); }
.kt-section--tight { padding-block: clamp(32px, 4vw, 72px); }
.kt-section__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 10px 22px; margin-bottom: clamp(24px, 3vw, 48px);
}
.kt-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--kt-jade-light);
}

/* --- 6. 面板 / 纸张 / 数据 ---------------------------------------------- */
.kt-panel {
  position: relative;
  overflow: hidden;
  background-color: var(--kt-ink);
  border: 1px solid var(--kt-line);
  border-radius: var(--kt-radius);
  padding: clamp(18px, 2.4vw, 32px);
}
.kt-panel--jade {
  background-image: linear-gradient(158deg, rgba(18, 101, 92, 0.9) 0%, rgba(5, 9, 10, 1) 72%);
}
.kt-panel--turf::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: repeating-linear-gradient(90deg,
    #4FD1C5 0 5%, rgba(0, 0, 0, 0) 5% 10%);
}
.kt-paper {
  position: relative;
  background-color: var(--kt-sand);
  color: var(--kt-on-sand);
  border: 1px solid var(--kt-sand-deep);
  border-radius: var(--kt-radius);
  padding: clamp(20px, 2.6vw, 36px);
  box-shadow: 10px 10px 0 -1px rgba(201, 168, 124, 0.22);
}
.kt-paper .kt-mist { color: #6B5B44; }

.kt-stat { display: flex; flex-direction: column; gap: 6px; }
.kt-stat__value {
  font-family: var(--kt-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--kt-flame);
}
.kt-stat__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--kt-mist);
}

/* --- 7. 标签 ------------------------------------------------------------ */
.kt-tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.3em 0.62em;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--kt-sand);
  background-color: rgba(232, 213, 183, 0.07);
  border: 1px solid var(--kt-line-strong);
  border-radius: var(--kt-radius);
}
.kt-tag--jade { color: #04110F; background-color: var(--kt-jade-light); border-color: transparent; }
.kt-tag--warn { color: var(--kt-warn); border-color: rgba(255, 194, 75, 0.5); background-color: rgba(255, 194, 75, 0.08); }

/* --- 8. 按钮 ------------------------------------------------------------ */
.kt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55em;
  padding: 0.72em 1.15em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--kt-radius);
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out,
    color 0.2s ease-out, border-color 0.2s ease-out;
}
.kt-btn--primary {
  background-color: var(--kt-flame);
  color: var(--kt-on-flame);
  box-shadow: 0 6px 22px rgba(255, 106, 43, 0.22);
}
.kt-btn--primary:hover { background-color: #FF7C45; transform: translateY(-1px); }
.kt-btn--ghost { border-color: var(--kt-line-strong); color: var(--kt-paper); }
.kt-btn--ghost:hover { border-color: var(--kt-jade-light); color: var(--kt-jade-light); }
.kt-btn--sm { padding: 0.5em 0.85em; font-size: 13px; }
.kt-btn--block { width: 100%; }

/* --- 9. 面包屑 ---------------------------------------------------------- */
.kt-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5em;
  font-size: 13px;
  color: var(--kt-mist);
}
.kt-breadcrumb a { color: var(--kt-jade-light); }
.kt-breadcrumb a:hover { color: var(--kt-sand); }
.kt-breadcrumb__sep { color: var(--kt-sand-deep); }

/* --- 10. 图片容器基础规则 ---------------------------------------------- */
.kt-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--kt-line);
  border-radius: var(--kt-radius);
  overflow: hidden;
  background-image: linear-gradient(155deg, #101A1B 0%, #0A1113 58%, #05090A 100%);
}
.kt-figure__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-image: repeating-linear-gradient(115deg,
    rgba(18, 101, 92, 0.34) 0 14px, rgba(18, 101, 92, 0.12) 14px 28px);
}
.kt-figure__media img,
.kt-figure__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.kt-figure__media--wide { aspect-ratio: 21 / 9; }
.kt-figure__media--square { aspect-ratio: 1 / 1; }
.kt-figure__media--tall { aspect-ratio: 3 / 4; }
.kt-figure__tag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.kt-figure__caption {
  display: block;
  padding: 0.85em 1em 1em;
  font-size: 13px;
  line-height: 1.6;
  color: var(--kt-mist);
  border-top: 1px solid var(--kt-line);
}
@supports not (aspect-ratio: 16 / 9) {
  .kt-figure__media { height: 0; padding-bottom: 56.25%; }
  .kt-figure__media--wide { padding-bottom: 42.85%; }
  .kt-figure__media--square { padding-bottom: 100%; }
  .kt-figure__media--tall { padding-bottom: 133.33%; }
}

/* --- 11. 滚动显现 ------------------------------------------------------- */
.kt-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
  transition-delay: var(--kt-delay, 0ms);
}
.kt-js [data-reveal].is-in { opacity: 1; transform: none; }

/* --- 12. 跳转链接 ------------------------------------------------------- */
.kt-skip {
  position: fixed;
  left: 16px; top: -120px;
  z-index: 200;
  padding: 0.7em 1.1em;
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-on-flame);
  background-color: var(--kt-flame);
  border-radius: var(--kt-radius);
  transition: top 0.2s ease-out;
}
.kt-skip:focus { top: 14px; }

/* --- 13. 头部 ----------------------------------------------------------- */
.kt-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  color: var(--kt-paper);
  transition: background-color 0.35s ease-out, border-color 0.35s ease-out;
}
.kt-header[data-scrolled],
.kt-header[data-nav-open] {
  background-color: var(--kt-glass);
  border-bottom-color: var(--kt-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.kt-progress {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--kt-flame), var(--kt-warn));
}
.kt-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand ticker nav cta";
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding: clamp(10px, 1.4vw, 18px) clamp(16px, 3vw, 40px);
}
.kt-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.kt-brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background-color: var(--kt-jade);
  border: 1px solid rgba(79, 209, 197, 0.45);
  border-radius: var(--kt-radius);
}
.kt-brand__mark svg { width: 20px; height: 20px; display: block; }
.kt-brand__text { display: block; min-width: 0; }
.kt-brand__name {
  display: block;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 900;
  font-stretch: 87.5%;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--kt-paper);
  white-space: nowrap;
}
.kt-brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--kt-mist);
  white-space: nowrap;
}
.kt-ticker {
  grid-area: ticker;
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--kt-mist);
}
.kt-ticker__dot {
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background-color: var(--kt-flame);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.18);
  animation: kt-pulse 2.4s ease-out infinite;
}
.kt-ticker__text { color: var(--kt-sand); white-space: nowrap; }
.kt-ticker__sep { color: var(--kt-sand-deep); }
.kt-ticker__meta { white-space: nowrap; }
@keyframes kt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0.34); }
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0); }
}
.kt-nav { grid-area: nav; }
.kt-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 1.1vw, 18px);
}
.kt-nav__link {
  position: relative;
  display: block;
  padding: 0.5em 0.2em;
  font-size: 15px;
  font-weight: 600;
  color: rgba(245, 241, 234, 0.8);
  white-space: nowrap;
  transition: color 0.2s ease-out;
}
.kt-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15em;
  height: 2px;
  background-color: var(--kt-flame);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.25s ease-out;
}
.kt-nav__link:hover { color: var(--kt-paper); }
.kt-nav__link:hover::after { transform: scaleX(1); }
.kt-nav__link[aria-current="page"] { color: var(--kt-jade-light); }
.kt-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background-color: var(--kt-jade-light);
}
.kt-header__cta { grid-area: cta; }
.kt-nav__action { display: none; }
.kt-nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 0.75em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--kt-paper);
  background-color: rgba(18, 101, 92, 0.35);
  border: 1px solid var(--kt-line-strong);
  border-radius: var(--kt-radius);
  cursor: pointer;
}
.kt-nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.kt-nav-toggle__bars span {
  display: block; height: 2px; width: 100%;
  background-color: var(--kt-jade-light);
  transition: transform 0.24s ease-out, opacity 0.24s ease-out;
}
.kt-nav-toggle[aria-expanded="true"] .kt-nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.kt-nav-toggle[aria-expanded="true"] .kt-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.kt-nav-toggle[aria-expanded="true"] .kt-nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- 14. 页脚 ----------------------------------------------------------- */
.kt-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 6vw, 88px);
  background-color: var(--kt-ink);
  border-top: 1px solid var(--kt-line);
  color: var(--kt-paper);
}
.kt-footer::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(18, 101, 92, 0.16) 0 2px, rgba(0, 0, 0, 0) 2px 78px);
}
.kt-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
  gap: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(36px, 4vw, 64px);
}
.kt-footer__brand { min-width: 0; }
.kt-brand--footer .kt-brand__mark { width: 30px; height: 30px; }
.kt-footer__tagline {
  margin-top: 18px;
  max-width: 30em;
  font-size: 15px;
  color: var(--kt-mist);
}
.kt-footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.kt-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}
.kt-footer__col-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--kt-jade-light);
}
.kt-footer__list { display: grid; gap: 10px; }
.kt-footer__link {
  display: inline-block;
  font-size: 15px;
  color: rgba(245, 241, 234, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
}
.kt-footer__link:hover { color: var(--kt-flame); border-bottom-color: var(--kt-flame); }
.kt-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(201, 168, 124, 0.18);
  font-size: 13px;
  color: var(--kt-mist);
}
.kt-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.kt-footer__contact-item { display: inline-flex; gap: 0.4em; align-items: baseline; }
.kt-footer__contact-item .kt-num { color: var(--kt-sand); }
.kt-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.kt-footer__icp { color: var(--kt-mist); }
.kt-footer__copy { color: var(--kt-mist); }

/* --- 15. 响应式 --------------------------------------------------------- */
@media (max-width: 1200px) {
  .kt-ticker { display: none; }
  .kt-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav cta"; }
}
@media (max-width: 900px) {
  .kt-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle" "nav nav";
    gap: 10px;
  }
  .kt-nav-toggle { display: inline-flex; }
  .kt-header__cta { display: none; }
  .kt-nav { display: none; position: relative; }
  .kt-nav[data-open] { display: block; animation: kt-nav-in 0.26s ease-out; }
  .kt-nav[data-open]::after {
    content: "";
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 44px;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(5, 9, 10, 0), rgba(5, 9, 10, 0.95));
  }
  .kt-nav__list {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 44px 14px 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .kt-nav__list::-webkit-scrollbar { display: none; }
  .kt-nav__item { flex: 0 0 auto; scroll-snap-align: start; }
  .kt-nav[data-open] .kt-nav__link {
    padding: 0.55em 0.9em;
    border: 1px solid rgba(79, 209, 197, 0.28);
    background-color: rgba(18, 101, 92, 0.35);
    color: var(--kt-paper);
  }
  .kt-nav[data-open] .kt-nav__link::after { display: none; }
  .kt-nav[data-open] .kt-nav__link[aria-current="page"] {
    border-color: var(--kt-jade-light);
    color: var(--kt-jade-light);
  }
  .kt-nav__action { display: flex; width: 100%; margin: 4px 0 12px; }
  .kt-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .kt-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes kt-nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .kt-col-3, .kt-col-4, .kt-col-5 { grid-column: span 6; }
  .kt-col-6, .kt-col-7, .kt-col-8 { grid-column: span 12; }
  .kt-footer__base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .kt-grid > * { grid-column: span 12; }
  .kt-brand__sub { display: none; }
  .kt-brand__mark { width: 30px; height: 30px; }
  .kt-footer__nav { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .kt-section { padding-block: 48px; }
}

/* --- 16. 无障碍与动效降级 ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .kt-js [data-reveal] { opacity: 1; transform: none; }
  .kt-progress { transition: none; }
}
