/* ==========================================================================
   site.css — 第 1 套「极速体育」皮肤
   风格：深海蓝 + 琥珀金，整站深色（theme.mode = dark）
   本文件只做两件事：① 覆盖 :root 变量 ② 写 .s1- 前缀的皮肤微调
   ========================================================================== */

/* 1. 配色令牌（深色模式取值） */
:root {
  /* 品牌：琥珀金 */
  --brand: #f5b301;
  --brand-2: #ff8a00;
  --brand-rgb: 245, 179, 1;

  /* 文字：深底上的浅色正文，正文亮度不低于 #c9d3e4 */
  --ink: #e9eff9;
  --ink-soft: #c9d3e4;
  --ink-faint: #94a6c2;

  /* 背景：深海蓝（theme.dark / theme.dark2） */
  --page: #0d1b2a;
  --page-alt: #112234;
  --surface: #1b263b;
  --surface-2: #22304a;
  --line: rgba(255, 255, 255, .12);

  /* 深色区块 */
  --dark: #0d1b2a;
  --dark-2: #1b263b;
  --hero-ink: #ffffff;

  /* 形状与阴影：深色下加深阴影以强调层次 */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .30);
  --shadow: 0 14px 34px rgba(0, 0, 0, .38);
  --shadow-lg: 0 26px 64px rgba(0, 0, 0, .50);
}

/* 2. 全局微调 */
body {
  background-image:
    radial-gradient(70% 46% at 88% 4%, rgba(var(--brand-rgb), .09), transparent 62%),
    radial-gradient(52% 42% at 2% 96%, rgba(var(--brand-rgb), .07), transparent 66%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
::selection { background: rgba(var(--brand-rgb), .32); color: #fff; }
::-webkit-scrollbar-track { background: var(--page-alt); }
::-webkit-scrollbar-thumb { background: #2c3e58; border-color: var(--page-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }
.divider { background: var(--line); }

/* 深色下把 bootstrap 的浅色工具类拉回本套色板 */
.text-muted { color: var(--ink-soft) !important; }
.text-dark { color: var(--ink) !important; }
.text-secondary { color: var(--ink-soft) !important; }
.bg-light, .bg-white { background: var(--surface) !important; }
.border-top, .border-bottom, .border-line { border-color: var(--line) !important; }
.qr-box span { color: #62708a; }

/* 3. 区块与首页皮肤 */
.s1-band {
  background: linear-gradient(140deg, var(--dark) 0%, var(--dark-2) 52%, #24334c 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.s1-band .stat-value {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.s1-hero-title { line-height: 1.22; }
.s1-hero-note { display: block; margin-top: 1.5rem; }

.s1-intro-img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.s1-dept-img { background: var(--page-alt); }

.s1-point { display: flex; gap: 1rem; align-items: flex-start; }
.s1-point .spec-icon { width: 44px; height: 44px; }
.s1-point h4 { font-size: .99rem; margin-bottom: .25rem; }
.s1-point p { margin: 0; font-size: .89rem; color: var(--ink-soft); }

.s1-why-img { width: 88px; height: 88px; object-fit: contain; border-radius: var(--radius-sm); }

.s1-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.s1-check li { display: flex; align-items: center; gap: .7rem; font-size: .93rem; color: var(--ink-soft); }
.sec-dark .s1-check li, .hero .s1-check li { color: rgba(255, 255, 255, .8); }
.s1-check i { color: var(--brand); width: 1.1rem; text-align: center; flex: none; }

/* 金色下划线标题 */
.s1-underline { position: relative; display: inline-block; padding-bottom: .5rem; }
.s1-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.sec-head .s1-underline::after { left: 50%; transform: translateX(-50%); }

/* 4. Swiper 轮播 */
.s1-swiper { padding-bottom: 3.4rem; }
.s1-swiper .swiper-slide { height: auto; }
.s1-swiper .swiper-pagination { bottom: .4rem; }
.s1-swiper .swiper-pagination-bullet { background: var(--ink-faint); opacity: .55; }
.s1-swiper .swiper-pagination-bullet-active { background: var(--brand); opacity: 1; }
.s1-swiper .swiper-button-next, .s1-swiper .swiper-button-prev { color: var(--brand); }
.s1-swiper .swiper-button-next::after, .s1-swiper .swiper-button-prev::after { font-size: 1.35rem; font-weight: 700; }

.s1-shot { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: .8rem; }
.s1-shot img { border-radius: var(--radius-sm); width: 100%; }

/* 5. 列表页 / 文章页 */
.s1-hot-item { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.s1-hot-item:last-child { border-bottom: 0; }
.s1-hot-item img { width: 96px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.s1-hot-item h4 { font-size: .93rem; margin: 0 0 .3rem; color: var(--ink); }
.s1-hot-item span { font-size: .78rem; color: var(--ink-faint); }
.s1-hot-item:hover h4 { color: var(--brand); }
.s1-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: .2rem;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 800;
  color: #241a00;
  background: var(--brand);
}

/* 6. 公司与荣誉 */
.s1-honor-card { text-align: center; }
.s1-honor-card .honor-img { background: var(--page-alt); border-radius: var(--radius-sm); }
.s1-team-tile {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  height: 100%;
}
.s1-team-tile h4 { font-size: .97rem; margin-bottom: .25rem; }
.s1-team-tile p { margin: 0; font-size: .87rem; color: var(--ink-soft); }

/* 7. App 下载页 */
.s1-app-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--page-alt); }
.s1-app-figure img { width: 100%; }

.s1-version { padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.s1-version-band { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; margin-bottom: .8rem; }
.s1-version-ver { font-size: 1.06rem; font-weight: 800; color: var(--brand); }
.s1-version-date { font-size: .82rem; color: var(--ink-faint); }
.s1-version ul { margin: 0; padding-left: 1.1rem; }
.s1-version li { font-size: .88rem; color: var(--ink-soft); margin-bottom: .35rem; }
.s1-version li:last-child { margin-bottom: 0; }

.s1-download { padding: 2.2rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.s1-download .qr-box { box-shadow: none; }

/* 8. 法务页 */
.s1-legal-shell { max-width: 900px; margin: 0 auto; }
.s1-legal-title { margin-bottom: .8rem; }
.legal-body h2 { scroll-margin-top: calc(var(--header-h) + 18px); }
.legal-note a { color: var(--brand); }
.legal-note a:hover { color: var(--brand-2); }
.s1-contact-card { margin-top: 1.2rem; display: grid; gap: .6rem; font-size: .93rem; color: var(--ink-soft); }
.s1-contact-card span { display: flex; align-items: flex-start; gap: .6rem; }
.s1-contact-card i { color: var(--brand); margin-top: .3rem; flex: none; }

/* 9. 响应式微调 */
@media (max-width: 991.98px) {
  .s1-download { padding: 1.5rem; }
  .s1-hero-note { margin-top: 1.2rem; }
}
@media (max-width: 575.98px) {
  .s1-hot-item img { width: 78px; height: 56px; }
  .s1-why-img { width: 72px; height: 72px; }
  .s1-swiper .swiper-button-next, .s1-swiper .swiper-button-prev { display: none; }
}
