/* ==========================================================================
   site.css — 站点 3：巅峰赛事（深黑 + 火焰橙 · 强对比大字号运动风）
   职责只有两件：① 覆写 :root 令牌为深色模式 ② 本站皮肤微调（.s3- 前缀）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌：整站深色（--page 用 theme.dark，卡片用 theme.dark2）
   -------------------------------------------------------------------------- */
:root {
  --brand: #ff6b00;
  --brand-2: #ff2d55;
  --brand-rgb: 255, 107, 0;

  /* 正文在深底上的对比度：--ink 与 --ink-soft 均不低于 #c9d3e4 的亮度 */
  --ink: #eef1f7;
  --ink-soft: #c9d3e4;
  --ink-faint: #a8b3c4;

  --page: #111214;
  --page-alt: #17191d;
  --surface: #1f2126;
  --surface-2: #262a31;
  --line: #2f333c;

  /* 深色区块 */
  --dark: #111214;
  --dark-2: #1f2126;
  --hero-ink: #ffffff;

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow: 0 14px 38px rgba(0, 0, 0, .5);
  --shadow-lg: 0 26px 66px rgba(0, 0, 0, .62);

  --s3-glow: 0 0 0 1px rgba(var(--brand-rgb), .38), 0 18px 52px rgba(var(--brand-rgb), .22);
}

/* --------------------------------------------------------------------------
   2. 排版：标题字重 800、区块标题更大
   -------------------------------------------------------------------------- */
h1, h2, h3, .brand-text { font-weight: 800; }
.sec-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; }
.sec-sub { color: var(--ink-soft); }
.eyebrow { font-weight: 800; letter-spacing: .1em; }
.tl-year, .s3-num { color: var(--brand); font-weight: 800; }
strong, b { color: var(--ink); }

/* --------------------------------------------------------------------------
   3. 区块底色：深色分层，靠边线区分相邻区块
   -------------------------------------------------------------------------- */
.sec-alt { background: var(--page-alt); }
.sec-dark {
  background: linear-gradient(160deg, #1a1c21, #0b0c0e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec-grad {
  background: linear-gradient(120deg, #ff6b00, #ff2d55 66%, #cc1b43);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* --------------------------------------------------------------------------
   4. 顶部导航与页脚皮肤
   -------------------------------------------------------------------------- */
.site-header { background: color-mix(in srgb, var(--page) 84%, transparent); }
.site-header .navbar-brand img,
.site-footer img[src="assets/img/logo.svg"] {
  background: #fff;
  border-radius: 10px;
  padding: 3px 9px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.site-header .nav-link { color: var(--ink-soft); }
.site-header .nav-link:hover { color: var(--brand); }
.navbar-toggler { color: var(--ink); }

.site-footer {
  background: linear-gradient(180deg, #17191d, #0b0c0e);
  border-top: 1px solid var(--line);
}
.ft-list i { color: var(--brand); }
.site-footer .brand-text { color: #fff; }

/* --------------------------------------------------------------------------
   5. 按钮与卡片：火焰渐变 + 橙色悬停
   -------------------------------------------------------------------------- */
.btn-brand {
  border: 0;
  background-image: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), .26);
}
.btn-brand:hover,
.btn-brand:focus-visible {
  background-image: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 14px 32px rgba(var(--brand-rgb), .38);
}

.card-soft, .tile, .dept-card, .news-item, .faq-item, .review-card, .stat-tile, .tl-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.card-lift:hover { box-shadow: var(--s3-glow); }
.icon-round, .icon-badge { box-shadow: 0 10px 24px rgba(var(--brand-rgb), .3); }
.stat-value { font-weight: 800; letter-spacing: -.02em; }

/* --------------------------------------------------------------------------
   6. 首屏
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 130% at 14% 6%, rgba(var(--brand-rgb), .3), transparent 58%),
    linear-gradient(150deg, #17181c, #0b0c0e);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }
.s3-hero-title {
  font-size: clamp(2.1rem, 4.9vw, 3.45rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.s3-accent { color: var(--brand); font-style: normal; }

/* --------------------------------------------------------------------------
   7. 本站组件
   -------------------------------------------------------------------------- */
.s3-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.s3-chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .95rem;
  font-size: .85rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.s3-chip.is-active {
  color: #fff;
  font-weight: 700;
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.s3-why-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.s3-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.s3-shot img { width: 100%; }

.s3-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(1.9rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(120deg, #ff6b00, #ff2d55 68%, #c81b40);
  box-shadow: 0 30px 70px rgba(var(--brand-rgb), .26);
}
.s3-cta::after {
  content: "";
  position: absolute;
  inset: -34% -12% auto auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 62%);
  pointer-events: none;
}
.s3-cta > * { position: relative; z-index: 2; }
.s3-cta h2, .s3-cta h3 { color: #fff; }
.s3-cta p { color: rgba(255, 255, 255, .9); }
.s3-cta .eyebrow { color: #fff; background: rgba(255, 255, 255, .18); }
.s3-cta .store-btn {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.s3-cta .store-btn strong { color: #fff; }
.s3-cta .store-btn small { color: rgba(255, 255, 255, .74); }
.s3-cta .store-btn i { color: #fff; }
.s3-cta .store-btn:hover { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }

.s3-art-nav { grid-template-columns: 1fr; }
@media (min-width: 768px) { .s3-art-nav { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   8. Swiper 深色适配
   -------------------------------------------------------------------------- */
.swiper { padding-bottom: 3rem; }
.swiper-button-next, .swiper-button-prev { color: var(--brand); }
.swiper-pagination-bullet { background: var(--ink-faint); opacity: .55; }
.swiper-pagination-bullet-active { background: var(--brand); opacity: 1; }
