/* ===== 首页专属样式 ===== */
.page-home {
  --home-line: rgba(0, 229, 255, 0.18);
  --home-cyan-soft: rgba(0, 229, 255, 0.06);
  --home-acid-soft: rgba(200, 245, 66, 0.1);
  background: var(--color-bg);
  color: var(--color-white);
  overflow-x: hidden;
}
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

/* 章节基础 */
.page-home .section {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}
.page-home .section-head {
  margin-bottom: 1.5rem;
}
.page-home .section-kicker {
  font-family: var(--font-data);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-cyan);
  margin: 0 0 0.35rem;
}
.page-home .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  line-height: 1.08;
  margin: 0;
}
.page-home .chapter-index {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-data);
  font-size: 0.9rem;
  color: var(--color-acid);
  margin-bottom: 0.4rem;
}
.page-home .chapter-index::after {
  content: '';
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-cyan);
}
.page-home .lede {
  max-width: 54rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-white);
  opacity: 0.88;
}

/* 封面 / 头版 */
.page-home .cover-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
.page-home .cover-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  border: none;
}
.page-home .cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-home .cover-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(0, 229, 255, 0.07) 18px 19px);
  transform: skewX(-8deg);
  pointer-events: none;
}
.page-home .cover-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(11, 27, 36, 0.92) 0%, rgba(11, 27, 36, 0.55) 45%, rgba(74, 14, 23, 0.42) 100%);
  pointer-events: none;
}
.page-home .cover-speed-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}
.page-home .cover-inner {
  padding-top: 1rem;
}
.page-home .cover-edition {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-cyan);
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.page-home .cover-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 0.75rem;
}
.page-home .cover-slogan {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--color-acid);
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.page-home .cover-desc {
  max-width: 42rem;
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.page-home .cover-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--home-line);
}
.page-home .cover-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.page-home .cover-index a:hover {
  color: var(--color-cyan);
  padding-left: 0.25rem;
}
.page-home .cover-index-num {
  font-family: var(--font-data);
  color: var(--color-acid);
  font-size: 0.8rem;
}

/* 今日赛程概览 */
.page-home .match-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 79px, rgba(0, 229, 255, 0.06) 79px 80px);
  pointer-events: none;
}
.page-home .match-section .container {
  position: relative;
  z-index: 1;
}
.page-home .match-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}
.page-home .filter-btn {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: transparent;
  color: var(--color-gray);
  font-family: var(--font-body);
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.page-home .filter-btn:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}
.page-home .filter-btn.is-active {
  border-color: var(--color-acid);
  color: var(--color-acid);
  background: var(--home-acid-soft);
}
.page-home .match-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 1rem 1.1rem;
  background: rgba(242, 245, 247, 0.03);
  border-left: 3px solid var(--color-cyan);
  border-bottom: 1px solid var(--home-line);
  margin-bottom: 0.85rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.page-home .match-row:hover {
  background: rgba(0, 229, 255, 0.04);
  transform: translateX(4px);
}
.page-home .match-team {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.page-home .match-team.home {
  text-align: left;
}
.page-home .match-team.away {
  text-align: right;
}
.page-home .match-rank {
  font-family: var(--font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray);
}
.page-home .match-team strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}
.page-home .match-data {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--home-line);
  margin-top: 0.25rem;
}
.page-home .match-score {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-data);
}
.page-home .match-score .data-number {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-acid);
  line-height: 1;
}
.page-home .match-vs {
  color: var(--color-gray);
  font-size: 0.9rem;
}
.page-home .match-periods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-gray);
}
.page-home .match-periods b {
  color: var(--color-white);
  font-weight: 500;
}
.page-home .period-overtime b {
  color: var(--color-orange);
}
.page-home .match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.page-home .match-note {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--color-gray);
  margin: 0;
}
.page-home .match-visual {
  border: 1px solid var(--home-line);
}
.page-home .media-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--home-line);
}
.page-home .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .exhibit-label {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  border-top: 1px solid var(--home-line);
  background: rgba(11, 27, 36, 0.6);
}

/* 移动端访问指引 */
.page-home .section--indigo {
  background: linear-gradient(135deg, var(--color-indigo) 0%, rgba(42, 19, 74, 0.55) 55%, var(--color-bg) 100%);
}
.page-home .mobile-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.page-home .mobile-copy .lede {
  color: var(--color-white);
}
.page-home .step-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.page-home .step-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  font-size: 0.9rem;
  line-height: 1.6;
}
.page-home .step-num {
  font-family: var(--font-data);
  color: var(--color-cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

/* 赛后数据导出 */
.page-home .section--wine {
  background: linear-gradient(315deg, var(--color-wine) 0%, rgba(74, 14, 23, 0.5) 55%, var(--color-bg) 100%);
}
.page-home .export-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.page-home .export-copy .section-head {
  margin-bottom: 1rem;
}
.page-home .export-copy > p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-white);
  opacity: 0.88;
  margin: 0 0 1.25rem;
}
.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}
.page-home .feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-white);
}
.page-home .feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-acid);
}
.page-home .export-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.page-home .stat-block {
  padding: 1.4rem 0.75rem;
  text-align: center;
  background: rgba(11, 27, 36, 0.55);
  border: 1px solid var(--home-line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-home .stat-block:hover {
  transform: translateY(-3px);
  border-color: var(--color-cyan);
}
.page-home .stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-gray);
  letter-spacing: 0.12em;
}
.page-home .stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-acid);
  line-height: 1.2;
  margin-top: 0.25rem;
}

/* 收藏与统计同步 */
.page-home .sync-section {
  background-color: var(--color-bg);
}
.page-home .sync-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.page-home .sync-copy .lede {
  color: var(--color-white);
}
.page-home .sync-cards {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.page-home .sync-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(242, 245, 247, 0.03);
  border-right: 3px solid var(--color-acid);
  transition: background 0.2s ease;
}
.page-home .sync-card:hover {
  background: rgba(0, 229, 255, 0.04);
}
.page-home .sync-card-num {
  font-family: var(--font-data);
  color: var(--color-cyan);
  font-size: 0.9rem;
  font-weight: 700;
}
.page-home .sync-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.page-home .sync-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.55;
}

/* 按钮补充 */
.page-home .btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-home .btn-primary {
  background: var(--color-acid);
  border: 1px solid var(--color-acid);
  color: var(--color-bg);
  font-weight: 700;
}
.page-home .btn-primary:hover {
  box-shadow: 0 0 28px rgba(200, 245, 66, 0.3);
}
.page-home .btn-ghost {
  border: 1px solid var(--color-cyan);
  background: transparent;
  color: var(--color-cyan);
}
.page-home .btn-ghost:hover {
  background: var(--home-cyan-soft);
}

/* 桌面端增强 */
@media (min-width: 900px) {
  .page-home .section {
    padding: 5rem 0;
  }
  .page-home .cover-stage {
    min-height: 78vh;
    align-items: center;
    padding: 3rem 0 4rem;
  }
  .page-home .cover-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: 3rem;
    align-items: end;
    width: 100%;
  }
  .page-home .cover-index {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid var(--home-line);
    padding-left: 1.5rem;
  }
  .page-home .cover-index a {
    padding: 0.5rem 0;
  }
  .page-home .match-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.5fr);
    align-items: start;
  }
  .page-home .match-row {
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 1rem 2rem;
  }
  .page-home .match-data {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .page-home .match-score .data-number {
    font-size: 2.1rem;
  }
  .page-home .mobile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  }
  .page-home .export-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  }
  .page-home .sync-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }
}

@media (min-width: 1200px) {
  .page-home .match-layout {
    gap: 3rem;
  }
  .page-home .match-visual {
    margin-top: 2.5rem;
  }
}
