/* ===== 首页专属样式 ===== */
.page-home {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(245, 183, 0, 0.10), transparent 32%),
    radial-gradient(circle at 10% 38%, rgba(255, 107, 45, 0.08), transparent 28%),
    var(--green-deepest);
  color: var(--white);
}

.page-home .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-home .section-panel {
  padding: 56px 0;
  position: relative;
}

.page-home .section-head {
  margin-bottom: 30px;
  max-width: 860px;
}

.page-home .section-head h2 {
  margin: 8px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: 0.02em;
}

.page-home .section-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
}

.page-home .btn {
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ===== 首屏 ===== */
.home-hero {
  position: relative;
  padding: 72px 20px 60px;
  background:
    linear-gradient(128deg,
      rgba(11, 61, 46, 0.94),
      rgba(20, 72, 58, 0.80) 48%,
      rgba(10, 31, 68, 0.66)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(63, 169, 118, 0.05) 18px 19px);
  border-bottom: 1px solid rgba(63, 169, 118, 0.35);
}

.hero-layout {
  display: grid;
  gap: 36px;
  max-width: var(--container);
  margin-inline: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 183, 0, 0.45);
  border-radius: 999px;
  background: rgba(245, 183, 0, 0.10);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 580px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(63, 169, 118, 0.4);
  font-size: 14px;
  color: var(--gray);
}

.hero-facts strong {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 18px;
  margin-left: 2px;
}

.hero-visual-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(63, 169, 118, 0.28);
}

.hero-visual-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pitch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-corner {
  display: inline-block;
  margin-top: 14px;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  color: var(--gray);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ===== 路标区 ===== */
.home-route {
  background: transparent;
}

.route-board {
  display: grid;
  gap: 16px;
}

.route-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 20px;
  background: rgba(20, 72, 58, 0.72);
  border: 1px solid rgba(63, 169, 118, 0.40);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.route-node:hover {
  transform: translateY(-6px) translateX(4px);
  border-color: rgba(255, 107, 45, 0.8);
  background: rgba(255, 107, 45, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.route-node-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 107, 45, 0.16);
  border: 1px solid rgba(255, 107, 45, 0.48);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.route-node strong {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--white);
  line-height: 1.3;
}

.route-node small {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== 周末赛事 ===== */
.home-schedule {
  background: linear-gradient(180deg, rgba(20, 72, 58, 0.30), rgba(20, 72, 58, 0.08));
}

.schedule-grid {
  display: grid;
  gap: 24px;
}

.schedule-calendar,
.schedule-matches,
.schedule-visual {
  background: rgba(13, 17, 23, 0.18);
  border: 1px solid rgba(63, 169, 118, 0.30);
  border-radius: 18px;
  padding: 22px;
}

.schedule-calendar h3,
.schedule-matches h3 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

.day-lbl {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 8px;
  color: var(--gray);
  font-size: 13px;
  font-family: var(--font-head);
}

.day-lbl--weekend {
  color: var(--gold);
  background: rgba(245, 183, 0, 0.08);
}

.calendar-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 10px;
  background: rgba(63, 169, 118, 0.10);
  color: var(--gray);
  font-size: 14px;
  font-family: var(--font-head);
}

.calendar-dot--done {
  background: rgba(63, 169, 118, 0.16);
  color: rgba(247, 248, 250, 0.45);
}

.calendar-dot--hot {
  background: rgba(245, 183, 0, 0.18);
  color: var(--gold);
}

.calendar-dot--live {
  background: rgba(255, 107, 45, 0.26);
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 107, 45, 0.35);
}

.countdown-ring {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 22px auto 4px;
}

.countdown-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(63, 169, 118, 0.24);
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 96;
  animation: ringPulse 2.4s ease-in-out infinite alternate;
}

@keyframes ringPulse {
  from {
    stroke-dashoffset: 96;
  }
  to {
    stroke-dashoffset: 64;
  }
}

.ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-text strong {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1;
  color: var(--white);
}

.ring-text span {
  margin-top: 8px;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}

.match-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.match-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(11, 61, 46, 0.52);
  border-left: 4px solid var(--line-green);
}

.match-time {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}

.match-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  flex: 1 1 140px;
}

.match-status {
  color: var(--gray);
  font-size: 13px;
}

.match-status--ready {
  color: var(--orange);
}

.schedule-visual {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.schedule-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.visual-caption {
  display: block;
  padding: 0 8px 6px;
  color: var(--gray);
  font-size: 13px;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}

/* ===== 赛后复盘 ===== */
.home-replays {
  background: rgba(10, 31, 68, 0.30);
  border-top: 1px solid rgba(63, 169, 118, 0.24);
  border-bottom: 1px solid rgba(63, 169, 118, 0.24);
}

.replay-layout {
  display: grid;
  gap: 28px;
}

.replay-feature {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(63, 169, 118, 0.30);
}

.replay-feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.replay-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 14px 16px;
}

.replay-list {
  display: grid;
  gap: 14px;
}

.review-card {
  position: relative;
  padding: 18px 20px 16px 54px;
  background: rgba(10, 31, 68, 0.38);
  border: 1px solid rgba(63, 169, 118, 0.20);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.review-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 107, 45, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
}

.review-league {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 32px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
  word-break: break-all;
}

.review-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--white);
  line-height: 1.35;
}

.review-card p {
  margin: 0 0 12px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.review-card a {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.review-card a:hover {
  color: var(--gold);
}

/* ===== 下载区 ===== */
.home-download {
  background: rgba(20, 72, 58, 0.42);
}

.download-layout {
  display: grid;
  gap: 28px;
}

.download-visual {
  display: flex;
  justify-content: center;
}

.download-visual img {
  display: block;
  width: 72%;
  max-width: 340px;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(63, 169, 118, 0.34);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.download-cards {
  display: grid;
  gap: 18px;
}

.download-card {
  position: relative;
  padding: 26px 24px 22px 82px;
  background: rgba(11, 61, 46, 0.56);
  border: 1px solid rgba(63, 169, 118, 0.34);
  border-radius: 18px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-panel);
}

.download-icon {
  position: absolute;
  left: 20px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(10, 31, 68, 0.72);
  border: 1px solid var(--line-green);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.download-icon--android {
  color: var(--orange);
  border-color: rgba(255, 107, 45, 0.55);
}

.download-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
}

.download-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.download-card li {
  position: relative;
  padding-left: 18px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.download-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-green);
}

/* ===== 更新公告 ===== */
.home-updates {
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.30), rgba(10, 31, 68, 0.06));
}

.update-list {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.update-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(63, 169, 118, 0.26);
}

.update-week {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(245, 183, 0, 0.12);
  border: 1px solid rgba(245, 183, 0, 0.42);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.update-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--white);
  line-height: 1.35;
}

.update-body p {
  margin: 0 0 10px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.update-body a {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.update-body a:hover {
  color: var(--gold);
}

.update-more {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-help-links {
  margin: 26px 0 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.8;
}

.home-help-links a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 183, 0, 0.4);
}

.home-help-links a:hover {
  color: var(--orange);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 700px) {
  .page-home .section-panel {
    padding: 72px 0;
  }

  .hero-layout {
    gap: 48px;
  }

  .hero-facts {
    gap: 10px 36px;
  }

  .download-visual img {
    width: 84%;
    max-width: 400px;
  }

  .download-cards {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .download-card {
    padding-left: 26px;
  }

  .download-card .download-icon {
    position: static;
    margin-bottom: 14px;
  }
}

@media (min-width: 960px) {
  .home-hero {
    padding: 96px 24px 84px;
  }

  .hero-layout {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 60px;
  }

  .hero-visual-media {
    min-height: 420px;
  }

  .hero-visual-media img {
    height: 100%;
    object-fit: cover;
  }

  .hero-facts {
    flex-wrap: nowrap;
  }

  .route-board {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
  }

  .route-board::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(63, 169, 118, 0.5);
  }

  .schedule-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
  }

  .schedule-visual {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .replay-layout {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
    gap: 36px;
  }

  .replay-feature {
    position: sticky;
    top: 20px;
  }

  .download-layout {
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
    gap: 44px;
  }

  .download-visual img {
    width: 100%;
    max-width: 420px;
  }

  .update-list {
    gap: 6px;
  }

  .update-item {
    grid-template-columns: 92px 1fr;
    padding: 26px 8px;
  }
}

/* ===== 动效减弱支持 ===== */
@media (prefers-reduced-motion: reduce) {
  .ring-progress {
    animation: none;
  }

  .route-node,
  .review-card,
  .download-card,
  .schedule-visual,
  .replay-feature {
    transition: none;
  }
}
