/* ===== 首页专属样式 ===== */
.page-home {
  --home-max: 1240px;
  --home-pad: 20px;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏：第23轮实时面板 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 32px 0 48px;
  background:
    radial-gradient(1000px 500px at 80% -10%, var(--glow-green-alpha), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(0, 191, 255, 0.09), transparent 55%),
    linear-gradient(160deg, #0B0F24 0%, #101735 48%, #0B0F24 100%);
  border-bottom: 1px solid var(--line-grid);
  overflow: hidden;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.32;
  pointer-events: none;
}

.page-home .home-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.8;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 var(--home-pad);
}

.page-home .breadcrumbs {
  margin-bottom: 26px;
}

.page-home .home-hero-head {
  margin: 0 0 38px;
}

.page-home .home-hero-head .eyebrow {
  color: var(--neon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-home .home-hero-head h1 {
  margin: 16px 0 18px;
  max-width: 880px;
  font-size: clamp(28px, 5.4vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .home-hero-head .lede {
  max-width: 880px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-ink);
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-panel {
  position: relative;
  padding: 24px;
  background: rgba(16, 19, 40, 0.74);
  border: 1px solid var(--line-grid);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.page-home .home-panel-left {
  border-top: 3px solid var(--signal);
}

.page-home .home-panel-live {
  border-top: 3px solid var(--neon);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 42px var(--glow-green-alpha);
}

.page-home .home-panel-clock {
  border-top: 3px solid var(--orange);
}

.page-home .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .panel-head .eyebrow {
  color: var(--signal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-home .home-panel-live .panel-head .eyebrow {
  color: var(--neon);
}

.page-home .home-panel-clock .panel-head .eyebrow {
  color: var(--orange);
}

.page-home .panel-title {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.page-home .panel-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 快速入口折叠 */
.page-home .home-league-fold {
  margin: 6px 0 18px;
}

.page-home .home-league-group {
  border-bottom: 1px solid rgba(42, 51, 80, 0.8);
}

.page-home .home-league-group:last-child {
  border-bottom: none;
}

.page-home .home-league-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.page-home .home-league-group summary::-webkit-details-marker {
  display: none;
}

.page-home .home-league-group summary::after {
  content: "+";
  margin-left: 8px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.page-home .home-league-group[open] summary::after {
  content: "–";
  color: var(--orange);
}

.page-home .home-league-group ul {
  list-style: none;
  margin: 0;
  padding: 2px 4px 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.page-home .home-league-group li {
  color: var(--muted-ink);
  font-size: 14px;
}

.page-home .btn-block {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* 实时比分面板 */
.page-home .home-match-list {
  border-top: 1px solid var(--line-grid);
}

.page-home .home-match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(42, 51, 80, 0.8);
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.page-home .home-match-row:last-child {
  border-bottom: none;
}

.page-home .home-match-row:hover {
  background: var(--glow-green-alpha);
  transform: translateY(-2px);
}

.page-home .home-match-club {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.page-home .home-match-club.home-match-away {
  align-items: flex-end;
  text-align: right;
}

.page-home .home-match-name {
  max-width: 150px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-match-zone {
  font-size: 12px;
  color: var(--muted);
}

.page-home .home-match-score {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.page-home .home-match-score .data-mono {
  font-size: 24px;
  font-weight: 800;
  color: var(--neon);
}

.page-home .home-match-state {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

.page-home .home-live-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-live-ticker .sync-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  border-radius: 50%;
}

/* 右侧时钟面板 */
.page-home .home-clock-box {
  margin: 16px 0 6px;
  padding: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-grid);
  border-radius: 12px;
}

.page-home .home-clock {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .home-clock-caption {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.page-home .home-sync-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink);
}

.page-home .home-sync-row .sync-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  border-radius: 50%;
}

.page-home .home-progress-track {
  margin-top: 14px;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .home-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #FFB100);
}

.page-home .home-sync-note {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-sync-note .data-mono {
  color: var(--orange);
  font-weight: 800;
}

/* 首屏底部数据条 */
.page-home .home-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(42, 51, 80, 0.7);
}

.page-home .meta-item {
  background: rgba(11, 15, 36, 0.55);
  border: 1px solid rgba(42, 51, 80, 0.7);
  border-radius: 12px;
  padding: 12px 14px;
}

.page-home .meta-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.page-home .meta-item strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.page-home .meta-item .data-mono {
  color: var(--neon);
}

/* ---------- 通用区块容器 ---------- */
.page-home .home-section-inner {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 72px var(--home-pad);
}

.page-home .home-section-head {
  margin-bottom: 40px;
}

.page-home .eyebrow {
  color: var(--signal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-home .title-md {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .home-section-head .lede {
  max-width: 780px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-ink);
}

/* ---------- 联赛覆盖区块 ---------- */
.page-home .home-leagues {
  background: var(--bg);
}

.page-home .home-league-layout {
  display: grid;
  gap: 36px;
}

.page-home .home-league-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-league-col {
  padding: 22px;
  background: var(--bg-lift);
  border: 1px solid var(--line-grid);
  border-radius: 16px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.page-home .home-league-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.page-home .home-league-col h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-grid);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-home .home-league-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-league-col li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: var(--ink);
}

.page-home .home-league-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--signal);
  transform: rotate(45deg);
}

.page-home .home-league-col:nth-child(2) li::before {
  background: var(--neon);
}

.page-home .home-league-col:nth-child(3) li::before {
  background: var(--orange);
}

.page-home .home-col-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-col-note strong {
  color: var(--neon);
  font-size: 16px;
}

.page-home .home-league-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-league-map img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line-grid);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.page-home .home-league-map figcaption {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 订阅指南更新通知 ---------- */
.page-home .home-guide {
  background:
    linear-gradient(120deg, transparent, rgba(57, 255, 20, 0.05) 55%, transparent),
    var(--bg);
  border-block: 1px solid var(--line-grid);
}

.page-home .home-guide-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-guide-copy .eyebrow {
  color: var(--neon);
}

.page-home .home-guide-copy .lede {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-ink);
}

.page-home .home-guide-features {
  list-style: none;
  margin: 26px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-guide-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(26, 33, 64, 0.65);
  border: 1px solid var(--line-grid);
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
}

.page-home .home-guide-features .data-mono {
  font-size: 17px;
  font-weight: 800;
  color: var(--neon);
  white-space: nowrap;
}

.page-home .home-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-guide-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-guide-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line-grid);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.28),
    0 0 38px rgba(57, 255, 20, 0.07);
}

.page-home .home-guide-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 近期深度前瞻与复盘精选 ---------- */
.page-home .home-journal {
  background: var(--bg);
}

.page-home .home-journal-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.page-home .home-journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-lift);
  border: 1px solid var(--line-grid);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.page-home .home-article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(0, 191, 255, 0.08);
}

.page-home .home-article-card figure {
  margin: 0;
  overflow: hidden;
}

.page-home .home-article-card img {
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.page-home .home-article-card:hover img {
  transform: scale(1.04);
}

.page-home .article-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}

.page-home .article-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .article-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-ink);
}

.page-home .article-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--signal);
  text-decoration: none;
}

.page-home .article-link::after {
  content: " →";
}

/* ---------- 站点数据能力摘要 ---------- */
.page-home .home-stats {
  border-top: 1px solid var(--line-grid);
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(0, 191, 255, 0.05), transparent 70%),
    var(--bg);
}

.page-home .home-stats-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .home-stat-card {
  margin: 0;
  padding: 20px 12px;
  text-align: center;
  background: var(--bg-lift);
  border: 1px solid var(--line-grid);
  border-radius: 14px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.page-home .home-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--signal);
}

.page-home .home-stat-card dt {
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-stat-card dd {
  margin: 12px 0 0;
}

.page-home .home-stat-card .data-mono {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.page-home .home-stat-card:nth-child(2n) .data-mono {
  color: var(--neon);
}

.page-home .home-stats-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px dashed var(--line-grid);
  border-radius: 14px;
  background: rgba(11, 15, 36, 0.4);
}

.page-home .home-stats-foot p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-ink);
}

.page-home .home-stats-foot .sync-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  border-radius: 50%;
  flex-shrink: 0;
}

.page-home .home-stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式断点 ---------- */
@media (min-width: 600px) {
  .page-home .home-league-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-hero-meta {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-guide-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .page-home .home-journal-head {
    flex-direction: row;
    align-items: flex-end;
  }

  .page-home .home-stats-foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .page-home .home-journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px) {
  .page-home .home-league-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-home .home-league-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-guide-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero-grid {
    grid-template-columns: 300px minmax(0, 1fr) 280px;
    gap: 24px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .home-journal-grid {
    gap: 28px;
  }
}
