/* ===== 首页专属样式 .page-home ===== */
.page-home {
  --hero-bg-start: #1A1A2E;
  --hero-bg-end: #0f1a2e;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --card-radius: 20px;
  --scrollbar-thumb: #FF6B35;
  --scrollbar-track: rgba(255, 255, 255, 0.06);
  display: block;
  width: 100%;
}

/* ---- 分屏首屏 ---- */
.page-home .split-hero {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #FF6B35;
}

.page-home .hero-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  max-width: 520px;
}

.page-home .hero-headline {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(255, 107, 53, 0.3);
}

.page-home .hero-tagline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #FFD700;
  margin: 0 0 1.8rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 380px;
}

.page-home .hero-search {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.7rem 1.4rem;
  color: #B0B0C0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none;
  max-width: 260px;
  transition: all 250ms ease;
  backdrop-filter: blur(4px);
  margin-bottom: 1.4rem;
}

.page-home .hero-search:hover,
.page-home .hero-search:focus-visible {
  background: rgba(255, 107, 53, 0.2);
  border-color: #FF6B35;
  color: #FFFFFF;
  outline: none;
}

.page-home .hero-search svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.page-home .btn-hero {
  display: inline-flex;
  align-items: center;
  background: #FF6B35;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  align-self: flex-start;
  letter-spacing: 0.01em;
}

.page-home .btn-hero:hover,
.page-home .btn-hero:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(255, 107, 53, 0.55);
  outline: none;
}

/* 右侧视觉 */
.page-home .hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  z-index: 1;
}

.page-home .field-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  animation: heroRotate 28s linear infinite;
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.2));
}

@keyframes heroRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-home .score-pixel {
  animation: pulseGold 1.6s ease-in-out infinite;
}

.page-home .score-pixel-2 {
  animation-delay: 0.3s;
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.page-home .particle {
  animation: floatParticle 4s ease-in-out infinite;
}

.page-home .p1 { animation-delay: 0s; }
.page-home .p2 { animation-delay: 0.9s; }
.page-home .p3 { animation-delay: 1.8s; }
.page-home .p4 { animation-delay: 2.7s; }
.page-home .p5 { animation-delay: 1.2s; }
.page-home .p6 { animation-delay: 2.1s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-18px) scale(1.3); opacity: 0.9; }
}

/* ---- 今日赛程 ---- */
.page-home .section-today {
  padding: 2rem 0 2.5rem;
  background: var(--color-bg-deep);
}

.page-home .section-header {
  padding: 0 1.5rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.page-home .section-header h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #B0B0C0;
  cursor: default;
  transition: all 250ms ease;
  letter-spacing: 0.02em;
}

.page-home .filter-btn.is-active {
  background: #FF6B35;
  border-color: #FF6B35;
  color: #FFFFFF;
  font-weight: 700;
}

.page-home .filter-btn:hover,
.page-home .filter-btn:focus-visible {
  border-color: #FF6B35;
  color: #FFFFFF;
  outline: none;
}

/* 横向滚动赛程卡片 */
.page-home .match-scroll {
  display: flex;
  gap: 1.2rem;
  padding: 0 1.5rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.page-home .match-scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .match-scroll::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 12px;
}

.page-home .match-scroll::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 12px;
}

.page-home .match-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #1e2a3a;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.page-home .match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
}

.page-home .match-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.page-home .match-info {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  min-height: 200px;
  justify-content: flex-end;
}

.page-home .match-league {
  display: inline-block;
  background: rgba(255, 107, 53, 0.85);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.7rem;
  border-radius: 50px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-home .team-name {
  flex: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.page-home .match-vs {
  font-size: 0.75rem;
  color: #B0B0C0;
  font-weight: 400;
  font-family: var(--font-body);
  margin: 0 0.1rem;
}

.page-home .match-score {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
  letter-spacing: 0.04em;
}

.page-home .match-status {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #B0B0C0;
}

.page-home .match-cta {
  display: inline-block;
  margin-top: 0.3rem;
  background: #FF6B35;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 250ms ease, background 250ms ease;
  align-self: flex-start;
}

.page-home .match-card:hover .match-cta,
.page-home .match-card:focus-within .match-cta {
  opacity: 1;
  transform: translateY(0);
}

.page-home .match-cta:hover,
.page-home .match-cta:focus-visible {
  background: #e85d2a;
  outline: none;
}

/* ---- 战报精读 ---- */
.page-home .section-briefs {
  padding: 2.5rem 1.5rem;
  background: #F5E6D0;
}

.page-home .briefs-header {
  padding: 0 0 1.5rem;
}

.page-home .anchor-number {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.page-home .big-num {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: #FF6B35;
  letter-spacing: -0.04em;
  text-shadow: 2px 2px 0 rgba(255, 107, 53, 0.15);
}

.page-home .num-label {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1.1;
}

.page-home .briefs-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  margin: 0.3rem 0 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.page-home .brief-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.page-home .brief-card {
  display: flex;
  gap: 1rem;
  background: #FFFFFF;
  border-radius: var(--card-radius);
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
  align-items: flex-start;
}

.page-home .brief-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}

.page-home .brief-gif {
  flex: 0 0 100px;
  width: 100px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  background: #1e2a3a;
}

.page-home .brief-text {
  flex: 1;
  min-width: 0;
}

.page-home .brief-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1A2E;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.page-home .brief-events {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #555;
}

.page-home .brief-events li {
  position: relative;
  padding-left: 0.9rem;
}

.page-home .brief-events li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #FF6B35;
  font-size: 0.6rem;
  top: 0.2rem;
}

.page-home .brief-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: #FF6B35;
  text-decoration: none;
  transition: color 250ms ease, gap 250ms ease;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.page-home .brief-link:hover,
.page-home .brief-link:focus-visible {
  color: #e85d2a;
  gap: 0.4rem;
  outline: none;
}

/* ---- 历史数据调阅 ---- */
.page-home .section-history {
  padding: 2.2rem 1.5rem 3rem;
  background: var(--color-bg-deep);
  border-top: 2px solid rgba(255, 107, 53, 0.2);
}

.page-home .history-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

.page-home .history-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #B0B0C0;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.page-home .filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
}

.page-home .filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem 0.8rem;
  text-decoration: none;
  transition: all 250ms ease;
}

.page-home .filter-item:hover,
.page-home .filter-item:focus-visible {
  background: rgba(255, 107, 53, 0.12);
  border-color: #FF6B35;
  transform: translateY(-2px);
  outline: none;
}

.page-home .filter-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.08);
  padding: 4px;
}

.page-home .filter-label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.page-home .filter-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #B0B0C0;
}

.page-home .filter-date {
  flex-direction: row;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 215, 0, 0.2);
}

.page-home .filter-date .filter-label {
  font-size: 0.9rem;
}

.page-home .filter-date-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.page-home .filter-date:hover {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.12);
}

/* ---- 移动端底部导航 ---- */
.page-home .mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1A1A2E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 0.4rem 0 0.6rem;
  justify-content: space-around;
}

.page-home .bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: #B0B0C0;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  transition: color 250ms ease, background 250ms ease;
}

.page-home .bottom-nav-item svg {
  transition: color 250ms ease;
}

.page-home .bottom-nav-item:hover,
.page-home .bottom-nav-item:focus-visible {
  color: #FF6B35;
  background: rgba(255, 107, 53, 0.08);
  outline: none;
}

/* ===== 桌面端适配 ===== */
@media (min-width: 768px) {
  .page-home .split-hero {
    flex-direction: row;
    align-items: center;
    min-height: 560px;
    padding: 3rem 4rem;
  }

  .page-home .hero-text {
    flex: 1 1 50%;
    max-width: 500px;
  }

  .page-home .hero-headline {
    font-size: 4rem;
  }

  .page-home .hero-tagline {
    font-size: 1.4rem;
    max-width: 420px;
  }

  .page-home .hero-visual {
    flex: 1 1 50%;
    margin-top: 0;
    justify-content: flex-end;
  }

  .page-home .field-svg {
    max-width: 340px;
  }

  .page-home .section-header {
    padding: 0 4rem 1.5rem;
  }

  .page-home .match-scroll {
    padding: 0 4rem 1.5rem;
    gap: 1.5rem;
  }

  .page-home .match-card {
    flex: 0 0 280px;
  }

  .page-home .section-briefs {
    padding: 3.5rem 4rem;
  }

  .page-home .briefs-header {
    padding: 0 0 2rem;
  }

  .page-home .big-num {
    font-size: 6.5rem;
  }

  .page-home .num-label {
    font-size: 1.8rem;
  }

  .page-home .brief-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .page-home .brief-card {
    flex-direction: column;
    padding: 1.2rem;
  }

  .page-home .brief-gif {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 160px;
  }

  .page-home .section-history {
    padding: 2.5rem 4rem 3.5rem;
  }

  .page-home .filter-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .page-home .mobile-bottom-nav {
    display: none;
  }
}

@media (min-width: 1200px) {
  .page-home .split-hero {
    padding: 4rem 6rem;
    min-height: 640px;
  }

  .page-home .hero-headline {
    font-size: 5rem;
  }

  .page-home .field-svg {
    max-width: 400px;
  }

  .page-home .section-header {
    padding: 0 6rem 1.8rem;
  }

  .page-home .match-scroll {
    padding: 0 6rem 2rem;
  }

  .page-home .section-briefs {
    padding: 4rem 6rem;
  }

  .page-home .section-history {
    padding: 3rem 6rem 4rem;
  }
}

/* ===== 滚动进度条（共享组件在page内增强） ===== */
.page-home .match-scroll {
  scroll-behavior: smooth;
}

/* ===== 焦点可见 ===== */
.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* ===== 打印样式精简 ===== */
@media print {
  .page-home .mobile-bottom-nav {
    display: none;
  }
  .page-home .split-hero {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 2px solid #ccc;
  }
  .page-home .hero-headline { color: #000; }
  .page-home .hero-tagline { color: #333; }
  .page-home .section-today,
  .page-home .section-history { background: #fff !important; }
  .page-home .match-card { break-inside: avoid; }
  .page-home .brief-card { break-inside: avoid; }
}
