.page-home {
  --home-green: #2D7D46;
  --home-green-deep: #23703D;
  --home-red: #C23B3B;
  --home-yellow: #E8F04C;
  --home-gold: #F2C94C;
  --home-teal: #0B3D3A;
  --home-dark: #1A1D1F;
  --home-mark: #C23B3B;
  --home-line: #3A4246;
}

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

.page-home .home-section {
  position: relative;
  overflow: hidden;
}

.page-home .home-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--home-yellow) 0 20%, var(--home-red) 20% 40%, var(--home-green) 40% 60%, #8A8D8F 60% 100%);
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px 0 72px;
  background: var(--home-teal);
  overflow: hidden;
}

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

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

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 58, 0.55) 0%, rgba(11, 61, 58, 0.78) 55%, rgba(11, 61, 58, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 61, 58, 0.45) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.page-home .hero-content {
  position: relative;
  z-index: 1;
  color: var(--light);
  max-width: 860px;
}

.page-home .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--home-yellow);
  text-transform: uppercase;
}

.page-home .eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--home-red);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-size: clamp(28px, 6.2vw, 52px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.page-home .hero-lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 245, 240, 0.9);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.page-home .hero-actions .btn {
  min-width: 148px;
  justify-content: center;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 460px;
  margin: 0;
}

.page-home .hero-stat {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--home-yellow);
  border-radius: 3px;
}

.page-home .hero-stat dt {
  font-size: 12px;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.page-home .hero-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--home-yellow);
  line-height: 1;
}

/* ===== 通用章节标题 ===== */
.page-home .section-heading {
  margin-bottom: 36px;
}

.page-home .section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--home-yellow);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.page-home .section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  background: var(--home-red);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 4.8vw, 40px);
  font-weight: 800;
  line-height: 1.25;
}

.page-home .section-text {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

/* ===== 第 01 节：赛程时间轴 ===== */
.page-home .timeline-section {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 86% 10%, rgba(232, 240, 76, 0.08), transparent 38%),
    linear-gradient(155deg, var(--home-teal) 0%, #123F3E 46%, var(--home-dark) 100%);
  color: var(--light);
}

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

.page-home .schedule-block {
  margin-top: 30px;
}

.page-home .league-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--light);
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-home .filter-chip:hover {
  background: rgba(255, 255, 255, 0.14);
}

.page-home .filter-input:checked + .filter-chip {
  background: var(--home-red);
  border-color: var(--home-red);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(194, 59, 59, 0.3);
}

.page-home .filter-input:focus-visible + .filter-chip {
  outline: 2px solid var(--home-yellow);
  outline-offset: 2px;
}

.page-home .match-pool {
  display: grid;
  gap: 0;
}

.page-home .match-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .match-item:first-child {
  padding-top: 6px;
}

.page-home .match-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-top: 4px;
  line-height: 1.2;
}

.page-home .match-day {
  font-size: 13px;
  color: var(--gray-light);
}

.page-home .match-clock {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--home-yellow);
  white-space: nowrap;
}

.page-home .match-panel {
  position: relative;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  border-left: 3px solid var(--home-red);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .match-panel::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(232, 240, 76, 0.08) 50%);
  pointer-events: none;
}

.page-home .match-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .match-league {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.page-home .tag-csl {
  color: var(--home-yellow);
  background: rgba(232, 240, 76, 0.14);
  border: 1px solid rgba(232, 240, 76, 0.4);
}

.page-home .tag-epl {
  color: #F2C0C0;
  background: rgba(194, 59, 59, 0.16);
  border: 1px solid rgba(194, 59, 59, 0.5);
}

.page-home .tag-laliga {
  color: #A2DDBC;
  background: rgba(45, 125, 70, 0.22);
  border: 1px solid rgba(45, 125, 70, 0.55);
}

.page-home .match-round {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-light);
}

.page-home .match-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.page-home .match-status.is-finished {
  color: var(--gray-light);
}

.page-home .match-status.is-live {
  color: #FFB4B4;
}

.page-home .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-red);
  animation: home-pulse 1.6s ease-in-out infinite;
}

.page-home .match-status.is-upcoming {
  color: var(--gray-light);
}

.page-home .match-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--light);
}

.page-home .team--home {
  color: var(--light);
}

.page-home .team--away {
  color: var(--gray-light);
  font-weight: 500;
}

.page-home .match-score {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--home-yellow);
  letter-spacing: 0.04em;
}

.page-home .match-score--vs {
  font-size: 16px;
  color: var(--gray-light);
  letter-spacing: 0.08em;
}

.page-home .match-brief {
  margin-top: 8px;
}

.page-home .match-brief summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--home-yellow);
  cursor: pointer;
  user-select: none;
}

.page-home .match-brief summary::-webkit-details-marker {
  display: none;
}

.page-home .match-brief summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s;
}

.page-home .match-brief[open] summary::after {
  transform: rotate(45deg);
}

.page-home .brief-body {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.page-home .brief-body p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.86);
}

.page-home .brief-body p:last-child {
  margin-bottom: 0;
}

.page-home .section-more-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--home-yellow);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(232, 240, 76, 0.55);
  transition: color 0.2s, border-color 0.2s;
}

.page-home .section-more-link:hover {
  color: #FFFFFF;
  border-bottom-color: var(--home-yellow);
}

/* ===== 第 02 节：球员数据近五季对比 ===== */
.page-home .compare-section {
  padding: 88px 0 88px;
  background:
    linear-gradient(135deg, rgba(45, 125, 70, 0.06) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(225deg, rgba(45, 125, 70, 0.06) 25%, transparent 25%) 0 0 / 24px 24px,
    var(--light);
  color: var(--dark);
}

.page-home .compare-grid {
  display: grid;
  gap: 44px;
}

.page-home .compare-visual {
  display: grid;
  gap: 16px;
}

.page-home .compare-shot {
  position: relative;
  overflow: hidden;
}

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

.page-home .compare-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
}

.page-home .fact-item {
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #D9DCD6;
  border-top: 3px solid var(--home-red);
  border-radius: 3px;
}

.page-home .fact-item dt {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.page-home .fact-item dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--home-teal);
  line-height: 1.1;
}

.page-home .compare-content .section-heading {
  margin-bottom: 18px;
}

.page-home .compare-content .section-title {
  color: var(--dark);
}

.page-home .compare-content .section-label {
  color: var(--home-red);
}

.page-home .compare-content .section-index {
  background: var(--home-teal);
}

.page-home .compare-quote {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 4px solid var(--home-red);
  background: rgba(194, 59, 59, 0.06);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: #6E6F66;
}

.page-home .chart-panel {
  margin-bottom: 18px;
  padding: 16px 14px;
  background: #FFFFFF;
  border: 1px solid #D9DCD6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-home .chart-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .chart-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.page-home .chart-title .data-mono {
  color: var(--gray);
  font-weight: 500;
  margin-left: 4px;
}

.page-home .chart-legend {
  display: flex;
  gap: 14px;
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray);
}

.page-home .legend-dot {
  width: 10px;
  height: 4px;
  border-radius: 2px;
}

.page-home .legend-dot--goal {
  background: var(--home-red);
}

.page-home .legend-dot--assist {
  background: var(--home-green);
}

.page-home .compare-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .chart-grid line {
  stroke-dasharray: 4 6;
}

.page-home .chart-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  fill: var(--home-dark);
}

.page-home .chart-xlabel {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--gray);
}

.page-home .chart-tip-text {
  font-size: 13px;
  font-family: var(--font-body);
  fill: var(--light);
}

.page-home .chart-point {
  cursor: pointer;
  pointer-events: all;
}

.page-home .chart-point circle {
  pointer-events: all;
  transition: r 0.2s;
}

.page-home .chart-point:hover circle,
.page-home .chart-point:focus circle {
  stroke: var(--home-yellow);
  stroke-width: 3;
}

.page-home .chart-tip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.page-home .chart-point:hover .chart-tip,
.page-home .chart-point:focus-within .chart-tip {
  opacity: 1;
}

.page-home .chart-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gray);
  text-align: right;
}

/* ===== 第 03 节：资料库快速入口 ===== */
.page-home .library-section {
  padding: 88px 0 88px;
  background:
    radial-gradient(circle at 8% 12%, rgba(232, 240, 76, 0.1), transparent 28%),
    linear-gradient(145deg, var(--home-green) 0%, var(--home-green-deep) 55%, #1E5E36 100%);
  color: var(--light);
}

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

.page-home .library-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.page-home .library-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--light);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.page-home .library-card:hover {
  background: rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.page-home .library-card__code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--home-yellow);
  letter-spacing: 0.1em;
}

.page-home .library-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.page-home .library-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.82);
}

.page-home .library-card__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--home-yellow);
}

.page-home .library-showcase {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .showcase-chart {
  position: relative;
  overflow: hidden;
}

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

.page-home .showcase-note p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 245, 240, 0.88);
}

.page-home .showcase-note p:last-of-type {
  margin-bottom: 16px;
}

.page-home .text-link {
  display: inline-block;
  color: var(--home-yellow);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(232, 240, 76, 0.6);
  padding-bottom: 2px;
}

.page-home .text-link:hover {
  color: #FFFFFF;
}

/* ===== 第 04 节：平台动态摘要 ===== */
.page-home .updates-section {
  padding: 88px 0 88px;
  background:
    linear-gradient(300deg, rgba(110, 20, 35, 0.55), transparent 40%),
    linear-gradient(135deg, var(--home-dark) 0%, #23282C 100%);
  color: var(--light);
}

.page-home .updates-grid {
  display: grid;
  gap: 40px;
}

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

.page-home .update-list {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
}

.page-home .update-entry {
  position: relative;
  padding: 20px 0 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .update-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--home-red);
  transform: rotate(45deg);
}

.page-home .update-entry--new::before {
  background: var(--home-yellow);
}

.page-home .update-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--home-yellow);
  background: rgba(232, 240, 76, 0.1);
  border: 1px solid rgba(232, 240, 76, 0.3);
  border-radius: 2px;
}

.page-home .update-entry h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.page-home .update-entry p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.82);
}

.page-home .updates-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-home .updates-phone img {
  width: 200px;
  max-width: 240px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.page-home .phone-caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.06em;
}

/* ===== 收尾色带 ===== */
.page-home .closing-band {
  background:
    linear-gradient(90deg, var(--home-red) 0%, #7E1E2B 60%, var(--home-teal) 100%);
  color: var(--light);
}

.page-home .closing-inner {
  padding: 56px 0;
  display: grid;
  gap: 18px;
}

.page-home .closing-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-yellow);
}

.page-home .closing-title {
  margin: 0;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}

.page-home .closing-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.86);
  max-width: 560px;
}

.page-home .closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.page-home .closing-links a {
  color: var(--light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.page-home .closing-links a:hover {
  color: var(--home-yellow);
  border-bottom-color: var(--home-yellow);
}

/* ===== 动画 ===== */
@keyframes home-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 平板 / 桌面 ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 120px 0 80px;
  }

  .page-home .hero-title {
    max-width: 780px;
  }

  .page-home .hero-stats {
    gap: 14px;
  }

  .page-home .match-item {
    grid-template-columns: 110px 1fr;
    gap: 22px;
    padding: 22px 0;
  }

  .page-home .match-rail {
    align-items: flex-end;
    padding-top: 6px;
  }

  .page-home .match-clock {
    font-size: 22px;
  }

  .page-home .match-panel {
    padding: 16px 20px;
  }

  .page-home .compare-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 32px;
    align-items: start;
  }

  .page-home .compare-visual {
    position: sticky;
    top: 120px;
  }

  .page-home .chart-panel {
    padding: 20px;
  }

  .page-home .library-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .library-showcase {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
  }

  .page-home .updates-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
  }

  .page-home .updates-phone img {
    width: 220px;
  }

  .page-home .closing-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .page-home .home-section {
    padding: 112px 0;
  }

  .page-home .hero-title {
    max-width: 820px;
  }

  .page-home .match-item {
    grid-template-columns: 130px 1fr;
  }

  .page-home .match-panel {
    padding: 18px 24px;
  }

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

  .page-home .library-showcase {
    gap: 48px;
  }

  .page-home .updates-section {
    padding: 112px 0 96px;
  }

  .page-home .closing-inner {
    padding: 64px 0;
  }
}
