.page-home {
  --home-hero-gray: rgba(10, 17, 40, 0.72);
  --home-card-glass: rgba(22, 33, 62, 0.86);
  --home-slant: 2.2rem;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-home .container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* ===== 首屏英雄区 ===== */
.page-home .home-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  padding-top: calc(var(--header-h) + 2rem);
  overflow: hidden;
  background: var(--bg-deep);
}

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

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 17, 40, 0.96) 0%, rgba(10, 17, 40, 0.78) 42%, rgba(10, 17, 40, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.2) 55%, rgba(10, 17, 40, 0.5) 100%);
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
  padding-top: 2rem;
}

.page-home .hero-main-col {
  max-width: 56rem;
}

.page-home .hero-sec-label {
  margin-bottom: 0.75rem;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  position: relative;
  display: inline-block;
}

.page-home .hero-title::after {
  content: "";
  position: absolute;
  left: -0.25rem;
  right: -0.25rem;
  bottom: -0.4rem;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-green) 100%);
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
  opacity: 0.9;
}

.page-home .hero-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--text-main);
  max-width: 34rem;
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent-orange);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.page-home .hero-btn-primary {
  min-width: 12.5rem;
}

.page-home .hero-btn-secondary {
  min-width: 11rem;
}

.page-home .hero-ticket {
  position: relative;
  z-index: 2;
  background: var(--home-card-glass);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-orange);
  box-shadow: 0 18px 50px var(--shadow);
  padding: 1.4rem 1.5rem 1.2rem;
  backdrop-filter: blur(6px);
}

.page-home .ticket-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.page-home .ticket-cluster {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.page-home .ticket-title {
  margin: 0 0 0.8rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.page-home .ticket-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1rem;
}

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

.page-home .ticket-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent-green);
}

.page-home .ticket-subscribe {
  width: 100%;
  justify-content: center;
}

.page-home .hero-corner-note {
  position: absolute;
  right: clamp(0.5rem, 2vw, 1.8rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-align: right;
  padding-right: 1.1rem;
  border-right: 1px solid var(--line);
  display: none;
}

/* ===== 赛季改版区块 ===== */
.page-home .home-revamp {
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.page-home .home-revamp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-orange) 55%, var(--accent-purple) 100%);
  clip-path: polygon(0 0, 100% 30%, 100% 70%, 0 100%);
  opacity: 0.85;
}

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

.page-home .revamp-copy {
  padding-right: clamp(0rem, 3vw, 2rem);
}

.page-home .revamp-title {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

.page-home .revamp-points {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .revamp-points li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-orange);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-home .revamp-media {
  width: 100%;
  max-height: 28rem;
}

.page-home .revamp-more {
  display: inline-flex;
}

/* ===== CN63KA复盘区块 ===== */
.page-home .home-review {
  background: var(--bg-deep);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.page-home .review-head {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.page-home .review-title {
  margin: 0.4rem 0 0.8rem;
}

.page-home .review-lead {
  color: var(--text-muted);
  margin: 0;
}

.page-home .review-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-home .review-media {
  box-shadow: 0 24px 60px var(--shadow);
  transform: rotate(-1.2deg);
}

.page-home .review-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  position: relative;
}

.page-home .review-detail-card::before {
  content: "CN63KA";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 107, 53, 0.22);
  line-height: 1;
  pointer-events: none;
}

.page-home .review-detail-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.page-home .review-feature-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.page-home .review-feature-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.page-home .review-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent-green);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

.page-home .review-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

/* ===== 实时数据面板 ===== */
.page-home .home-data {
  background: var(--bg-dark);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  position: relative;
}

.page-home .home-data::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--accent-green) 0 16px, transparent 16px 24px);
  opacity: 0.5;
}

.page-home .data-head {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.page-home .data-title {
  margin: 0.4rem 0 0.8rem;
}

.page-home .data-lead {
  color: var(--text-muted);
  margin: 0;
}

.page-home .data-bg {
  opacity: 0.5;
  margin-bottom: 2rem;
}

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

.page-home .data-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.4rem 1.3rem;
  position: relative;
  margin: 0;
}

.page-home .data-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.page-home .data-updated {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.page-home .data-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.page-home .standings-preview {
  display: grid;
  gap: 0.55rem;
}

.page-home .standing-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(48, 59, 90, 0.75);
  clip-path: polygon(0 0, calc(100% - 0.5rem) 0, 100% 0.5rem, 100% 100%, 0 100%);
}

.page-home .standing-rank {
  color: var(--accent-orange);
  font-weight: 700;
}

.page-home .standing-team {
  font-size: 0.9rem;
}

.page-home .standing-pts {
  font-weight: 700;
  color: var(--accent-green);
}

.page-home .data-more-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-orange);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.page-home .data-more-link:hover,
.page-home .data-more-link:focus-visible {
  border-bottom-color: var(--accent-orange);
}

.page-home .lineup-list {
  margin: 0;
}

.page-home .lineup-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(48, 59, 90, 0.65);
  margin: 0;
}

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

.page-home .lineup-row dt {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.page-home .lineup-row dd {
  margin: 0;
  font-size: 0.9rem;
  text-align: right;
}

.page-home .possession-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 0.4rem;
}

.page-home .chart-gridline {
  stroke: #303B5A;
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.page-home .chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .chart-line--a {
  stroke: var(--accent-orange);
}

.page-home .chart-line--b {
  stroke: var(--accent-green);
}

.page-home .chart-dot {
  fill: var(--bg-card);
}

.page-home .chart-dot--a {
  stroke: var(--accent-orange);
  stroke-width: 2;
}

.page-home .chart-dot--b {
  stroke: var(--accent-green);
  stroke-width: 2;
}

.page-home .chart-legend {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.6rem;
}

.page-home .legend-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-home .legend-item::before {
  content: "";
  width: 0.85rem;
  height: 2px;
}

.page-home .legend-item--a::before {
  background: var(--accent-orange);
}

.page-home .legend-item--b::before {
  background: var(--accent-green);
}

.page-home .chart-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.9rem 0 0;
  padding-left: 0.6rem;
  border-left: 2px solid var(--accent-green);
}

/* ===== 订阅球队区块 ===== */
.page-home .home-subscribe {
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-dark) 60%, #0d1830 100%);
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
}

.page-home .home-subscribe::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-20deg, transparent 0 18px, rgba(255, 107, 53, 0.035) 18px 20px);
  pointer-events: none;
}

.page-home .subscribe-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}

.page-home .subscribe-copy {
  border-left: 4px solid var(--accent-orange);
  padding-left: clamp(1rem, 4vw, 2.2rem);
}

.page-home .subscribe-title {
  margin: 0.4rem 0 0.9rem;
}

.page-home .subscribe-benefits {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.page-home .subscribe-benefits li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-main);
}

.page-home .subscribe-benefits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.page-home .subscribe-preview {
  background: var(--home-card-glass);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-green);
  padding: 1.6rem 1.4rem;
  backdrop-filter: blur(5px);
  transform: rotate(0.8deg);
}

.page-home .subscribe-preview-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}

.page-home .preview-schedule {
  display: grid;
  gap: 0.55rem;
}

.page-home .schedule-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  border: 1px solid rgba(48, 59, 90, 0.55);
}

.page-home .schedule-round {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.8rem;
}

.page-home .schedule-status {
  color: var(--text-muted);
}

.page-home .schedule-row--next {
  border-left: 3px solid var(--accent-green);
}

.page-home .schedule-row--next .schedule-status {
  color: var(--accent-green);
}

.page-home .preview-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

/* ===== 下载入口区块 ===== */
.page-home .home-download {
  background: var(--bg-deep);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  position: relative;
}

.page-home .home-download::before {
  content: "";
  position: absolute;
  right: 4vw;
  top: 3rem;
  width: clamp(4rem, 12vw, 9rem);
  height: clamp(4rem, 12vw, 9rem);
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 107, 53, 0.25) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 107, 53, 0.25) 46% 54%, transparent 54%);
  clip-path: polygon(67% 0, 100% 0, 100% 33%, 33% 100%, 0 100%, 0 67%);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .download-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-home .download-copy {
  border-left: 4px solid var(--accent-orange);
  padding-left: clamp(1rem, 4vw, 2.2rem);
}

.page-home .download-title {
  margin: 0.4rem 0 0.9rem;
}

.page-home .download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.page-home .download-primary {
  min-width: 12rem;
}

.page-home .download-qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.page-home .qr-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 2px dashed var(--line);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  background: var(--bg-card);
}

.page-home .qr-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-home .download-points {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--home-slant)) 0, 100% var(--home-slant), 100% 100%, 0 100%);
}

.page-home .download-points h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.page-home .download-points ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.page-home .download-points li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.9rem;
}

.page-home .download-points li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

.page-home .download-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.page-home .download-note a {
  color: var(--accent-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .download-note a:hover,
.page-home .download-note a:focus-visible {
  border-bottom-color: var(--accent-orange);
}

/* ===== 更多入口 ===== */
.page-home .home-links {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.page-home .home-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.page-home .home-link-list a {
  display: block;
  padding: 1.2rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

.page-home .home-link-list a:hover,
.page-home .home-link-list a:focus-visible {
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent-orange);
}

/* ===== 通用区块样式 ===== */
.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.2;
}

.page-home .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  text-transform: uppercase;
}

.page-home .sec-label::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent-green);
  display: inline-block;
}

.page-home .card,
.page-home .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .media-frame {
  position: relative;
  background: var(--bg-card);
}

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

/* ===== 桌面端媒体查询 ===== */
@media (min-width: 768px) {
  .page-home .hero-grid {
    grid-template-columns: 1.6fr 0.9fr;
    align-items: end;
  }

  .page-home .hero-corner-note {
    display: block;
  }

  .page-home .revamp-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
  }

  .page-home .review-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.8rem;
  }

  .page-home .data-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .data-card--possession {
    grid-column: span 2;
  }

  .page-home .subscribe-banner {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 3.5rem;
  }

  .page-home .download-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

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

@media (min-width: 1080px) {
  .page-home .data-dashboard {
    grid-template-columns: 1fr 1fr 1.05fr;
  }

  .page-home .data-card--possession {
    grid-column: span 1;
  }

  .page-home .data-card:nth-child(1) {
    transform: translateY(-0.4rem);
  }

  .page-home .data-card:nth-child(2) {
    transform: translateY(0.5rem);
  }

  .page-home .data-card:nth-child(3) {
    transform: translateY(-0.3rem);
  }

  .page-home .ticket-stats {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .page-home .ticket-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(48, 59, 90, 0.6);
  }

  .page-home .ticket-stat:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .badge--green::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    margin-left: 0.3rem;
    animation: page-home-glow 1.8s ease-in-out infinite;
  }
}

@keyframes page-home-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--accent-green);
  }
  55% {
    box-shadow: 0 0 8px 3px rgba(15, 255, 80, 0.45);
  }
}
