.page-home {
  --home-shadow: 0 14px 30px rgba(30, 78, 140, 0.10);
  --home-slice-panel: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  --home-slice-card: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

/* ========== 首屏拼贴 ========== */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(224, 123, 57, 0.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.page-home .hero-layout {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-home .hero-media {
  position: relative;
  clip-path: var(--home-slice-panel);
  background: var(--color-primary);
  filter: drop-shadow(0 18px 26px rgba(30, 78, 140, 0.16));
}

.page-home .hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero-badge {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  padding: 0.45rem 0.8rem;
  background: rgba(248, 249, 250, 0.94);
  color: var(--color-primary);
  border-left: 4px solid var(--color-orange);
  box-shadow: 0 6px 14px rgba(33, 37, 41, 0.12);
}

.page-home .hero-badge-a { top: 1rem; left: 1rem; }
.page-home .hero-badge-b { top: 3rem; left: 2.2rem; }
.page-home .hero-badge-c { top: 5rem; left: 3.4rem; }

.page-home .hero-copy {
  position: relative;
}

.page-home .hero-kicker {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 0 0 0.7rem;
}

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--color-ink);
}

.page-home .hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray);
  margin: 0 0 1.5rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0;
  border-top: 2px solid rgba(30, 78, 140, 0.12);
  padding-top: 1.35rem;
}

.page-home .hero-stat dt {
  font-size: 0.75rem;
  color: var(--color-gray);
  letter-spacing: 0.05em;
}

.page-home .hero-stat dd {
  margin: 0.3rem 0 0;
}

.page-home .stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.page-home .stat-unit {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-left: 0.15rem;
}

.page-home .hero-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8px;
}

.page-home .track-seg-blue { background: var(--color-primary); }
.page-home .track-seg-orange { background: var(--color-orange); }
.page-home .track-seg-red { background: var(--color-red); }
.page-home .track-seg-green { background: var(--color-green); }

/* ========== 即时比分前线 ========== */
.page-home .home-scores {
  position: relative;
  background: var(--color-cream);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}

.page-home .home-scores::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 42%, rgba(30, 78, 140, 0.05) 100%);
  pointer-events: none;
}

.page-home .scores-layout {
  position: relative;
  display: grid;
  gap: 2rem;
}

.page-home .scores-main .section-desc {
  max-width: 90%;
}

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

.page-home .filter-button {
  appearance: none;
  border: 1px solid rgba(30, 78, 140, 0.25);
  background: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  clip-path: var(--home-slice-card);
  transition: all 0.22s ease;
}

.page-home .filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30, 78, 140, 0.10);
}

.page-home .filter-button.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.page-home .score-list {
  display: grid;
  gap: 1rem;
}

.page-home .score-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(108, 117, 125, 0.16);
  border-left: 6px solid var(--color-primary);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: 0 6px 18px rgba(33, 37, 41, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-home .score-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0 16px 30px rgba(30, 78, 140, 0.11);
  border-left-color: var(--color-orange);
}

.page-home .score-card.is-hidden {
  display: none;
}

.page-home .score-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.page-home .status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green);
  background: rgba(61, 107, 79, 0.13);
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  white-space: nowrap;
}

.page-home .status-pill-live {
  color: var(--color-red);
  background: rgba(184, 92, 60, 0.14);
}

.page-home .score-board {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.page-home .team {
  flex: 1;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--color-ink);
}

.page-home .team:last-child {
  text-align: right;
}

.page-home .score {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-home .score-card:hover .score {
  color: var(--color-red);
  transform: scale(1.04);
}

.page-home .score-detail {
  font-size: 0.82rem;
  color: var(--color-gray);
  margin: 0;
  transition: color 0.2s ease;
}

.page-home .score-card:hover .score-detail {
  color: var(--color-primary);
}

.page-home .btn-scores-more {
  margin-top: 1.4rem;
}

.page-home .scores-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .aside-media {
  position: relative;
  clip-path: var(--home-slice-panel);
  background: var(--color-primary);
  filter: drop-shadow(0 14px 22px rgba(30, 78, 140, 0.14));
}

.page-home .aside-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .aside-ticket {
  background: var(--color-primary);
  color: #ffffff;
  padding: 1.2rem 1.4rem 1.1rem;
  clip-path: var(--home-slice-card);
}

.page-home .ticket-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .ticket-text {
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.page-home .ticket-link {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}

.page-home .ticket-link:hover {
  text-decoration: underline;
}

/* ========== 赛程日历速览 ========== */
.page-home .home-calendar {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(224, 123, 57, 0.18), transparent 46%),
    var(--color-primary);
  color: #ffffff;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}

.page-home .calendar-layout {
  display: grid;
  gap: 2.2rem;
  position: relative;
}

.page-home .calendar-copy .section-kicker,
.page-home .mobile-copy .section-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.page-home .calendar-copy .section-desc,
.page-home .mobile-copy .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

.page-home .calendar-copy h2,
.page-home .mobile-copy h2 {
  color: #ffffff;
}

.page-home .event-lineup {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .event-lineup li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-home .event-lineup li:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.07);
}

.page-home .event-day {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-orange);
  min-width: 3.2rem;
}

.page-home .event-sport {
  background: rgba(255, 255, 255, 0.14);
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .event-info {
  flex: 1 1 auto;
  min-width: 7rem;
  color: rgba(255, 255, 255, 0.94);
}

.page-home .calendar-visual {
  position: relative;
}

.page-home .calendar-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: var(--home-slice-panel);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.24));
}

.page-home .calendar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-home .mini-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.35rem 0.85rem;
  clip-path: var(--home-slice-card);
}

.page-home .calendar-mini {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.16);
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .mini-week,
.page-home .mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.page-home .mini-week {
  margin-bottom: 5px;
}

.page-home .mini-week span {
  font-size: 0.66rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  padding: 2px 0;
}

.page-home .mini-grid i {
  display: block;
  height: 16px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1px;
}

.page-home .mini-grid i.has-event {
  background: var(--color-orange);
}

/* ========== A35K规则要点 ========== */
.page-home .home-rules {
  background: var(--color-bg);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-home .rules-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
}

.page-home .rules-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.page-home .rule-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(108, 117, 125, 0.14);
  border-top: 4px solid var(--color-orange);
  padding: 1.7rem 1.3rem 1.3rem;
  box-shadow: 0 8px 22px rgba(33, 37, 41, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .rule-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(30, 78, 140, 0.1);
}

.page-home .rule-card:nth-child(2) { border-top-color: var(--color-primary); }
.page-home .rule-card:nth-child(3) { border-top-color: var(--color-green); }

.page-home .rule-number {
  position: absolute;
  top: -12px;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
  background: var(--color-primary);
  padding: 0.22rem 0.6rem;
  clip-path: var(--home-slice-card);
}

.page-home .rule-card:nth-child(2) .rule-number { background: var(--color-orange); }
.page-home .rule-card:nth-child(3) .rule-number { background: var(--color-green); }

.page-home .rule-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.03rem;
  margin: 0.4rem 0 0.5rem;
  color: var(--color-ink);
}

.page-home .rule-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-gray);
  margin: 0;
}

/* ========== 赛事数据与历史战绩 ========== */
.page-home .home-stats {
  background: var(--color-cream);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-home .stats-layout {
  display: grid;
  gap: 2rem;
}

.page-home .stats-panel {
  background: #ffffff;
  border-left: 8px solid var(--color-red);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 12px 28px rgba(33, 37, 41, 0.06);
}

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

.page-home .stat-cell {
  border-left: 3px solid var(--color-orange);
  padding-left: 0.75rem;
}

.page-home .stat-cell dt {
  font-size: 0.75rem;
  color: var(--color-gray);
  margin-bottom: 0.2rem;
}

.page-home .stat-figure {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0;
}

.page-home .unit {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.page-home .history-panel {
  background: #ffffff;
  border-top: 6px solid var(--color-primary);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 12px 28px rgba(33, 37, 41, 0.06);
}

.page-home .history-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 1rem;
}

.page-home .history-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.page-home .history-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.2rem 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(108, 117, 125, 0.2);
}

.page-home .history-sport {
  grid-row: span 2;
  align-self: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(30, 78, 140, 0.08);
  text-align: center;
  padding: 0.35rem 0.2rem;
  clip-path: var(--home-slice-card);
}

.page-home .history-match {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.page-home .history-round {
  font-size: 0.74rem;
  color: var(--color-gray);
}

/* ========== 移动端提醒订阅 ========== */
.page-home .home-mobile {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #163a5e 100%);
  color: #ffffff;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}

.page-home .home-mobile::after {
  content: "";
  position: absolute;
  bottom: -130px;
  right: -80px;
  width: 320px;
  height: 320px;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .mobile-layout {
  position: relative;
  display: grid;
  gap: 2.2rem;
}

.page-home .subscribe-steps {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
}

.page-home .subscribe-steps li {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .step-num {
  flex: 0 0 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--color-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  clip-path: var(--home-slice-card);
}

.page-home .step-text h3 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.page-home .step-text p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.page-home .home-mobile .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.page-home .home-mobile .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-home .mobile-visual {
  position: relative;
}

.page-home .mobile-visual img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.28));
}

.page-home .push-demo {
  position: absolute;
  right: 0.6rem;
  bottom: 2rem;
  background: #ffffff;
  color: var(--color-ink);
  padding: 0.75rem 0.9rem;
  max-width: 220px;
  border-left: 6px solid var(--color-orange);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  font-size: 0.8rem;
  line-height: 1.5;
}

.page-home .push-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  margin-right: 6px;
}

/* ========== 内容地图 ========== */
.page-home .home-map {
  background: var(--color-bg);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.page-home .map-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(108, 117, 125, 0.14);
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 8px 22px rgba(33, 37, 41, 0.05);
}

.page-home .map-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-ink);
  margin: 0;
}

.page-home .map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .map-link {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(30, 78, 140, 0.07);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(30, 78, 140, 0.12);
  clip-path: var(--home-slice-card);
  transition: all 0.2s ease;
}

.page-home .map-link:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========== 响应式 ========== */
@media (min-width: 768px) {
  .page-home .hero-layout {
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
  }

  .page-home .hero-media {
    clip-path: var(--home-slice-panel);
  }

  .page-home .score-card {
    padding: 1.3rem 1.4rem 1.1rem;
  }

  .page-home .scores-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .page-home .calendar-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

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

  .page-home .stats-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

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

  .page-home .mobile-layout {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
  }

  .page-home .mobile-visual img {
    max-width: 380px;
  }

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

@media (min-width: 1080px) {
  .page-home .hero-layout {
    grid-template-columns: 1.12fr 1fr;
  }

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

  .page-home .stats-panel {
    padding: 1.8rem 1.6rem 2rem;
  }

  .page-home .history-panel {
    padding: 1.7rem 1.6rem 1.9rem;
  }

  .page-home .calendar-mini {
    padding: 1rem;
  }

  .page-home .mini-grid i {
    height: 20px;
  }
}

@media (max-width: 480px) {
  .page-home .hero-badge-b,
  .page-home .hero-badge-c {
    display: none;
  }

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

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

  .page-home .close-demo {
    display: none;
  }
}
