:root {
  --bg: #0f0f14;
  --bg-2: #16161d;
  --bg-3: #1e1e27;
  --spider: #dc2626;
  --spider-hover: #b91c1c;
  --spider-soft: #ef4444;
  --spider-glow: rgba(220, 38, 38, 0.18);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --dim: #6b7280;
  --white: #fff;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --header-h: 64px;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--spider);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.bg-web {
  background-image:
    radial-gradient(circle at 18% 16%, rgba(239, 68, 68, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 82% 58%, rgba(220, 38, 38, 0.08) 0%, transparent 44%);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--spider);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo em {
  color: var(--spider-soft);
  font-style: normal;
  margin: 0;
  padding: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #d1d5db;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--spider-soft);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 650;
  font-size: 14px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--spider);
  color: #fff;
}

.btn-primary:hover {
  background: var(--spider-hover);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--spider-soft);
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.menu-btn {
  font-size: 22px;
  width: 40px;
  height: 40px;
}

.mobile-nav {
  display: none;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 10px 4px;
  color: #d1d5db;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  top: -80px;
  background: rgba(220, 38, 38, 0.18);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.14);
  color: #f87171;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spider-soft);
  animation: pulseLive 1.4s ease-in-out infinite;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

h1 span {
  color: var(--spider-soft);
}

.lead {
  color: #9ca3af;
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 36px;
}

.kpi strong {
  display: block;
  font-size: 26px;
  color: #fff;
  line-height: 1.2;
}

.kpi span {
  color: var(--dim);
  font-size: 13px;
}

.live-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.live-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-weight: 800;
}

.court {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(160deg, #1e1e27 0%, #0f0f14 55%, rgba(127, 29, 29, 0.38) 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.court img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.score-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.score-box small {
  display: block;
  color: var(--dim);
  font-size: 12px;
  margin-bottom: 4px;
}

.score-box b {
  color: #fff;
}

.score-box .score {
  color: var(--spider-soft);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 32px);
  color: #fff;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--dim);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-3);
  color: #d1d5db;
  font-weight: 650;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--spider);
  color: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

td {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.status-live {
  color: #f87171;
}

.status-soon {
  color: #fbbf24;
}

.status-wait {
  color: var(--muted);
}

.link-watch {
  color: var(--spider-soft);
  font-weight: 700;
}

.note {
  color: var(--dim);
  font-size: 12px;
  margin-top: 14px;
}

.league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.league-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: 0.2s ease;
}

.league-card:hover {
  border-color: rgba(220, 38, 38, 0.45);
  transform: translateY(-3px);
}

.league-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
}

.league-card .league-body {
  padding: 14px 16px 16px;
}

.league-card h3 {
  color: #fff;
  margin-bottom: 4px;
}

.league-card p {
  color: var(--dim);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}

.feature-card h3 {
  color: #fff;
  margin: 0 18px 8px;
}

.feature-card p {
  padding: 0 18px 18px;
}

.feature-card h3 {
  margin-top: 14px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.news-layout {
  display: grid;
  gap: 20px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.news-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
}

.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 16px 18px 18px;
}

.side-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.side-item img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--spider-soft);
  background: rgba(220, 38, 38, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.news-card h3 {
  color: #fff;
  margin: 10px 0 8px;
  font-size: 16px;
}

.news-card p {
  color: var(--muted);
  font-size: 14px;
}

.meta {
  color: var(--dim);
  font-size: 12px;
  margin-top: 10px;
}

.side-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.side-list h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

.side-list p {
  color: var(--muted);
  font-size: 13px;
}

.stat-grid {
  display: grid;
  gap: 16px;
}

.panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.panel h3 {
  padding: 16px 18px 0;
  color: #fff;
}

.reviews {
  display: grid;
  gap: 16px;
}

.review-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-card blockquote {
  margin: 0 0 14px;
  color: #d1d5db;
  font-size: 14px;
}

.review-card cite {
  font-style: normal;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.review-card cite span {
  display: block;
  color: var(--dim);
  font-weight: 400;
  font-size: 12px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: #fff;
}

.faq-item button::after {
  content: "+";
  color: var(--spider-soft);
  font-size: 20px;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .faq-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.is-open .faq-body {
  display: block;
}

.seo-block {
  color: var(--muted);
  font-size: 14px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.seo-block p + p {
  margin-top: 12px;
}

.page-hero {
  padding: 36px 0 8px;
}

.crumbs {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 16px;
}

.crumbs a:hover {
  color: var(--spider-soft);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.article-body {
  max-width: 820px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  margin-bottom: 14px;
}

.article-body h2,
.article-body h3 {
  color: #fff;
  margin: 28px 0 12px;
}

.article-body ul {
  padding-left: 18px;
  list-style: disc;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #d1d5db;
}

.form input,
.form textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
}

.site-footer {
  background: #0c0c10;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand p {
  color: var(--dim);
  font-size: 14px;
  margin-top: 10px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--spider-soft);
}

.disclaimer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 12px;
}

.copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
}

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  place-items: start center;
  padding-top: 18vh;
  z-index: 70;
}

.search-modal.is-open {
  display: grid;
}

.search-box {
  width: min(92vw, 560px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.search-box input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
}

.search-hint {
  color: var(--dim);
  font-size: 12px;
  margin-top: 10px;
}

.cover-figure {
  margin: 0 auto 28px;
  max-width: var(--max);
  width: min(100% - 32px, var(--max));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cover-figure img {
  width: 100%;
  height: min(42vw, 360px);
  object-fit: cover;
  display: block;
}

.footer-plain {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.footer-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-plain > p {
  color: var(--dim);
  font-size: 14px;
}

.site-footer .copy {
  justify-content: center;
}

@keyframes pulseLive {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (min-width: 640px) {
  .league-grid,
  .feature-grid,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-btn,
  .mobile-nav {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .news-layout {
    grid-template-columns: 1.6fr 1fr;
  }

  .news-card {
    grid-template-columns: 220px 1fr;
  }

  .news-card img {
    height: 100%;
    min-height: 140px;
  }
}

@media (min-width: 1024px) {
  .league-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .feature-grid,
  .reviews,
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
}
