.page-home {
  --frame-color: var(--green);
  --frame-glow: rgba(27, 122, 61, 0.3);
  --card-skew: -1deg;
  --timeline-accent: var(--orange);
}

/* ── 框景首屏 ── */
.page-home .hero-frame {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  margin-bottom: 0;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(6px) saturate(1.2) brightness(0.45);
}

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.6) 100%);
}

.page-home .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  padding: 2rem 1.5rem;
  margin: 0 auto;
}

.page-home .frame-border {
  position: absolute;
  inset: 0;
  border: 3px solid var(--frame-color);
  border-radius: 0;
  clip-path: polygon(0% 0%, calc(100% - 32px) 0%, 100% 32px, 100% 100%, 32px 100%, 0% calc(100% - 32px));
  opacity: 0.6;
  pointer-events: none;
  box-shadow: 0 0 30px var(--frame-glow), inset 0 0 30px rgba(27,122,61,0.08);
}

.page-home .frame-inner {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(26,26,46,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.page-home .frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--frame-color);
  border-style: solid;
  opacity: 0.8;
}

.page-home .frame-corner.top-left { top: 8px; left: 8px; border-width: 3px 0 0 3px; }
.page-home .frame-corner.top-right { top: 8px; right: 8px; border-width: 3px 3px 0 0; }
.page-home .frame-corner.bottom-left { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; }
.page-home .frame-corner.bottom-right { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; }

.page-home .hero-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.page-home .hero-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.page-home .hero-live-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

.page-home .hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  color: var(--text-light);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.page-home .hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 2rem;
  max-width: 460px;
}

.page-home .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.page-home .stat-block {
  display: flex;
  flex-direction: column;
}

.page-home .stat-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
}

.page-home .stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-home .hero-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-home .hero-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .bar-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  min-width: 80px;
}

.page-home .bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 4px;
  transition: width 0.6s ease;
}

.page-home .bar-fill.fill-away {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}

.page-home .bar-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 40px;
  text-align: right;
}

.page-home .hero-cta {
  display: inline-block;
}

/* ── 快速功能快览 ── */
.page-home .quick-features {
  padding: 3rem 0 2rem;
  background: var(--bg-light);
  position: relative;
}

.page-home .quick-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--blue));
}

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

.page-home .qf-item {
  background: var(--text-light);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-home .qf-item:hover {
  transform: translateY(-4px) rotate(var(--card-skew));
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

.page-home .qf-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.page-home .qf-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

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

/* ── 赛事节目专区 ── */
.page-home .match-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

.page-home .section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 0.75rem;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  position: relative;
}

.page-home .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  margin-top: 6px;
}

.page-home .section-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-home .filter-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dark);
  background: rgba(27,122,61,0.08);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  cursor: default;
  border: 1px solid rgba(27,122,61,0.15);
}

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

.page-home .match-card {
  background: var(--text-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home .match-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

.page-home .match-img {
  position: relative;
  width: 100%;
  aspect-ratio: 400/250;
  overflow: hidden;
}

.page-home .match-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .match-card:hover .match-img img {
  transform: scale(1.05);
}

.page-home .match-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.page-home .match-info {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.page-home .team.home { color: var(--green); }
.page-home .team.away { color: var(--blue); }
.page-home .vs { color: #999; font-size: 0.8rem; font-family: var(--font-body); }

.page-home .match-stats {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #555;
}

.page-home .ms-item {
  background: rgba(27,122,61,0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.page-home .match-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 0.6rem;
}

.page-home .match-league {
  font-weight: 600;
  color: var(--blue-dark);
}

/* ── 主客场对比 ── */
.page-home .compare-section {
  padding: 3rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-home .compare-section .section-title {
  color: var(--text-light);
}

.page-home .compare-section .section-title::after {
  background: var(--orange);
}

.page-home .compare-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .switch-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.45rem 1.2rem;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange);
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-home .switch-btn:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

.page-home .compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-home .compare-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .compare-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.page-home .compare-card-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.2rem 1rem;
  border-left: 4px solid var(--green);
}

.page-home .away-side .compare-card-label {
  border-left-color: var(--orange);
}

.page-home .compare-chart {
  width: 100%;
  aspect-ratio: 800/500;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.page-home .compare-chart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .compare-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-home .cs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-home .cs-key {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.page-home .cs-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}

.page-home .compare-insight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(242,140,40,0.1);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(242,140,40,0.2);
}

.page-home .insight-icon {
  font-size: 1.5rem;
}

.page-home .insight-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* ── 台历栏目 ── */
.page-home .calendar-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

.page-home .calendar-section .section-header {
  position: relative;
}

.page-home .calendar-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--orange);
  color: var(--text-light);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.page-home .calendar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: auto;
  opacity: 0.7;
}

.page-home .timeline {
  position: relative;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--green), var(--orange), var(--blue));
  border-radius: 2px;
}

.page-home .timeline-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
  position: relative;
}

.page-home .timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 1.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  border: 3px solid var(--green);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.page-home .timeline-item:hover::before {
  background: var(--green);
  border-color: var(--green-light);
}

.page-home .timeline-item:hover {
  background: rgba(27,122,61,0.04);
  border-left-color: var(--green);
}

.page-home .tl-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.page-home .tl-content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.page-home .tl-league {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--blue-dark);
  background: rgba(30,144,255,0.08);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
}

.page-home .tl-teams {
  font-weight: 600;
}

.page-home .tl-pred {
  font-size: 0.83rem;
  color: #666;
  width: 100%;
  margin-top: 0.15rem;
}

/* ── 快速入口 ── */
.page-home .quick-links {
  padding: 2.5rem 0;
  background: var(--bg-dark);
}

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

.page-home .ql-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-home .ql-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
}

.page-home .ql-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  min-width: 32px;
}

.page-home .ql-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
}

.page-home .ql-arrow {
  font-size: 1.2rem;
  color: var(--green-light);
  transition: transform 0.3s ease;
}

.page-home .ql-card:hover .ql-arrow {
  transform: translateX(4px);
}

/* ── 信任条 ── */
.page-home .trust-bar {
  padding: 1.2rem 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.page-home .trust-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  display: block;
  letter-spacing: 0.03em;
}

/* ── 桌面端媒体查询 ── */
@media (min-width: 768px) {
  .page-home .hero-content {
    padding: 3rem 2.5rem;
  }

  .page-home .frame-inner {
    padding: 3.5rem 3rem;
  }

  .page-home .hero-stats {
    gap: 3rem;
  }

  .page-home .stat-number {
    font-size: 2.8rem;
  }

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

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

  .page-home .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .page-home .compare-card {
    padding: 2rem;
  }

  .page-home .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.25rem 0 1.25rem 1.5rem;
  }

  .page-home .tl-date {
    min-width: 140px;
    margin-bottom: 0;
    padding-top: 0.1rem;
  }

  .page-home .tl-content {
    flex: 1;
  }

  .page-home .tl-pred {
    width: auto;
    margin-top: 0;
  }

  .page-home .ql-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .page-home .calendar-icon {
    width: 56px;
    height: 56px;
  }
}

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

/* ── 移动端优化 ── */
@media (max-width: 420px) {
  .page-home .hero-stats {
    gap: 1.25rem;
  }

  .page-home .stat-number {
    font-size: 1.6rem;
  }

  .page-home .qf-grid {
    gap: 0.85rem;
  }

  .page-home .qf-item {
    padding: 1rem 0.9rem;
  }

  .page-home .section-title {
    font-size: 1.25rem;
  }

  .page-home .compare-grid {
    gap: 1rem;
  }

  .page-home .compare-card {
    padding: 1rem;
  }

  .page-home .timeline {
    padding-left: 1rem;
  }

  .page-home .timeline-item {
    padding-left: 0.75rem;
  }

  .page-home .timeline-item::before {
    left: -18px;
    width: 10px;
    height: 10px;
  }
}
```
