/* ============================================================
   足球直播 - 全局样式
   纯 CSS3，使用 CSS Variables 管理主题
   深色体育科技风格
   ============================================================ */

:root {
  /* 背景 */
  --bg-900: #070b14;
  --bg-800: #0b1120;
  --bg-700: #111a2e;
  --bg-card: rgba(20, 30, 50, 0.72);
  --bg-card-solid: #131d33;

  /* 主色 - 球场绿 + 电光蓝 */
  --pitch: #22c55e;
  --pitch-dim: #16a34a;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --accent: #f5c518; /* 高亮 CTA 金色 */
  --live: #ef4444;

  /* 中性 */
  --text: #eef2f9;
  --text-mute: #9fb0c9;
  --text-dim: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* 尺寸 */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --max-w: 1320px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-900);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(900px 600px at 5% 5%, rgba(34, 197, 94, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-900), var(--bg-800) 40%, var(--bg-900));
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text {
  color: var(--accent);
}
.pitch-text {
  color: var(--pitch);
}

/* ---------- 通用区块标题 ---------- */
.section {
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
}

.section-head {
  margin-bottom: 36px;
}
.section-head.center {
  text-align: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pitch);
  border-radius: 2px;
}
.section-head.center .section-eyebrow::before {
  display: none;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  margin-top: 12px;
  color: var(--text-mute);
  font-size: clamp(14px, 1.4vw, 17px);
  max-width: 640px;
}
.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--bg-700);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--accent), #ffdb70);
  --btn-fg: #1a1405;
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(245, 197, 24, 0.6);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -12px rgba(245, 197, 24, 0.7);
}
.btn-live {
  --btn-bg: linear-gradient(135deg, var(--pitch), var(--pitch-dim));
  --btn-fg: #04140a;
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(34, 197, 94, 0.55);
}
.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}
.btn.clicked {
  animation: btnPop 0.35s ease;
}
@keyframes btnPop {
  0% { transform: scale(1); }
  40% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pitch), var(--blue));
  color: #051009;
  box-shadow: 0 8px 20px -8px rgba(34, 197, 94, 0.6);
}
.logo-mark svg {
  width: 22px;
  height: 22px;
}
.logo .live-badge {
  margin-left: 2px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Nav */
.main-nav {
  flex: 1;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: center;
}
.nav-list > li {
  position: relative;
}
.nav-list a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-mute);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-dropdown-toggle {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-list a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-list a.active {
  color: var(--text);
}
.nav-dropdown-toggle .caret {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.nav-dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

/* Desktop dropdown submenu */
.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 148px;
  padding: 6px;
  border-radius: 12px;
  background: var(--surface, #10161f);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-submenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu a {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
}
.nav-submenu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}
.hide-mobile-inline {
  display: inline-flex;
}

/* 搜索面板 */
.search-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid transparent;
}
.search-panel.open {
  max-height: 90px;
  border-top-color: var(--border);
  background: rgba(8, 12, 22, 0.9);
  backdrop-filter: blur(16px);
}
.search-inner {
  display: flex;
  gap: 10px;
  padding: 16px 0;
}
.search-inner input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.search-inner input::placeholder {
  color: var(--text-dim);
}
.search-inner input:focus {
  border-color: var(--pitch);
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-mute);
}
.pill.pill-live {
  color: #ff8080;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--pitch), var(--blue-bright) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 16px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
}
.hero-desc {
  margin-top: 14px;
  color: var(--text-mute);
  font-size: clamp(14px, 1.5vw, 16.5px);
  max-width: 540px;
}
.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 34px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}
.hero-stats .lbl {
  font-size: 13px;
  color: var(--text-dim);
}

/* Hero 视觉区 */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  background: var(--bg-700);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.1) 0%, rgba(7, 11, 20, 0.35) 55%, rgba(7, 11, 20, 0.92) 100%);
}
.hero-light {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 70%;
  height: 120%;
  transform: translateX(-50%) rotate(8deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 70%);
  filter: blur(14px);
  opacity: 0.5;
  z-index: 2;
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 100% { transform: translateX(-70%) rotate(8deg); opacity: 0.35; }
  50% { transform: translateX(-30%) rotate(8deg); opacity: 0.6; }
}
/* Hero 浮动比分卡 */
.hero-float {
  position: absolute;
  z-index: 3;
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float.f1 {
  left: 18px;
  bottom: 22px;
  min-width: 220px;
}
.hero-float.f2 {
  right: 16px;
  top: 22px;
  animation-delay: 1.4s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero-float .hf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.hero-float .hf-league {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 600;
}
.hero-float .hf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
}
.hero-float .hf-score {
  font-size: 22px;
  font-weight: 900;
  color: var(--pitch);
  font-variant-numeric: tabular-nums;
}
.hero-float.f2 {
  text-align: center;
}
.hero-float.f2 .big {
  font-size: 26px;
  font-weight: 900;
}
.hero-float.f2 .small {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* ============================================================
   赛事卡片网格 (今日赛事 + 筛选)
   ============================================================ */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.match-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-league {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mute);
}
.mc-league .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--blue);
}
.status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-mute);
}
.status.soon {
  color: var(--accent);
  border-color: rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.08);
}
.status.live {
  color: #ff7a7a;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status.notstart {
  color: var(--text-dim);
}

.mc-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.team .crest {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #061018;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}
.team.away .crest {
  background: linear-gradient(135deg, #fde68a, #fca5a5);
}
.team .tname {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.mc-center {
  text-align: center;
  min-width: 64px;
}
.mc-center .vs {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 700;
}
.mc-center .score {
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--pitch);
}
.mc-center .time {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.mc-center .minute {
  font-size: 11.5px;
  color: #ff7a7a;
  font-weight: 700;
}
.mc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.mc-foot .kick {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* 分类 Tabs */
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover {
  color: var(--text);
}
.tab.active {
  background: linear-gradient(135deg, var(--pitch), var(--pitch-dim));
  color: #04140a;
  border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.6);
}

/* ============================================================
   实时比分
   ============================================================ */
.live-section {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05), transparent);
}
.live-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.live-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.live-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--live), transparent);
}
.lc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.lc-league {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 700;
}
.lc-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.lc-team {
  font-size: 15.5px;
  font-weight: 700;
}
.lc-team.left {
  text-align: right;
}
.lc-score {
  font-size: 34px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  min-width: 96px;
  text-align: center;
  transition: color 0.3s ease, transform 0.3s ease;
}
.lc-score.flash {
  color: var(--pitch);
  transform: scale(1.12);
}
.lc-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ============================================================
   热门足球赛事 (联赛大卡片)
   ============================================================ */
.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.league-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.league-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.league-card .lc-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.league-card:hover .lc-bg {
  transform: scale(1.06);
}
.league-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.85) 78%);
}
.league-card .lc-en {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pitch);
  font-weight: 700;
}
.league-card .lc-name {
  font-size: 24px;
  font-weight: 800;
  margin-top: 4px;
}
.league-card .lc-desc {
  font-size: 13.5px;
  color: var(--text-mute);
  margin-top: 8px;
  margin-bottom: 16px;
}

/* ============================================================
   推荐 / 优势
   ============================================================ */
.recommend {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(34, 197, 94, 0.1), transparent 60%);
}
.recommend-body {
  max-width: 820px;
  color: var(--text-mute);
  font-size: clamp(15px, 1.6vw, 17px);
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.feature-card .fi {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.2));
  color: var(--pitch);
}
.feature-card .fi svg {
  width: 24px;
  height: 24px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
}
.feature-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-mute);
}

/* ============================================================
   数据统计
   ============================================================ */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--pitch), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-item .stat-lbl {
  color: var(--text-mute);
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
}

/* ============================================================
   资讯
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.news-cat {
  color: var(--pitch);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.news-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-mute);
  flex: 1;
}
.news-read {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 14px;
}
.news-read svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.news-card:hover .news-read svg {
  transform: translateX(4px);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open {
  border-color: rgba(34, 197, 94, 0.4);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 18px;
  line-height: 1;
}
.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--pitch);
  color: #04140a;
  border-color: transparent;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--text-mute);
  font-size: 14.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: var(--bg-900);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--text-mute);
  font-size: 14px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-mute);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--pitch);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-bottom .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom .links a:hover {
  color: var(--text-mute);
}

/* 前端演示数据提示 */
.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 14px;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  background: var(--pitch);
  color: #04140a;
}

/* 进入动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   移动端遮罩
   ============================================================ */
.nav-overlay {
  display: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav-list {
    gap: 0;
  }
  .nav-list a,
  .nav-dropdown-toggle {
    padding: 8px 9px;
    font-size: 13.5px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    aspect-ratio: 16 / 11;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--bg-800);
    border-left: 1px solid var(--border);
    padding: 88px 22px 32px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 120;
    overflow-y: auto;
    flex: none;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-list a,
  .nav-dropdown-toggle {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 10px;
  }
  .nav-list a:hover,
  .nav-list a.active {
    background: rgba(255, 255, 255, 0.06);
  }
  /* Dropdowns become inline accordions on mobile */
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 2px 0 4px;
    padding: 4px 0 4px 12px;
    border: none;
    box-shadow: none;
    background: transparent;
    border-left: 2px solid var(--border-strong, rgba(255,255,255,0.15));
  }
  .nav-submenu.open {
    display: grid;
    transform: none;
  }
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    transform: none;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 110;
  }
  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
  .hide-mobile-inline {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .hero-float.f1 {
    min-width: 180px;
    left: 12px;
    bottom: 12px;
    padding: 12px;
  }
  .hero-float.f2 {
    right: 12px;
    top: 12px;
  }
  .hero-stats {
    gap: 20px;
  }
  .btn {
    flex: 1;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 420px) {
  .match-grid,
  .league-grid,
  .news-grid,
  .live-list {
    grid-template-columns: 1fr;
  }
}
