/* ============ 首页 · page-home ============ */
.page-home {
  display: block;
  background: var(--ink);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 48px) 0 clamp(60px, 9vw, 108px);
  background:
    radial-gradient(115% 85% at 88% 4%, rgba(0, 168, 112, 0.30), transparent 62%),
    radial-gradient(85% 70% at 4% 100%, rgba(242, 194, 48, 0.13), transparent 58%),
    var(--ink);
}

.page-home .hero-wedge {
  position: absolute;
  top: -14%;
  right: -20%;
  width: min(780px, 96vw);
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, rgba(0, 168, 112, 0.32), rgba(31, 217, 196, 0.06) 55%, transparent);
  clip-path: polygon(18% 0, 100% 0, 100% 62%, 0 100%);
  transform: rotate(-6deg);
  pointer-events: none;
}

.page-home .hero-wedge-2 {
  position: absolute;
  left: -12%;
  bottom: -26%;
  width: min(540px, 82vw);
  aspect-ratio: 2 / 1;
  background: linear-gradient(90deg, rgba(242, 194, 48, 0.20), transparent);
  clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero .breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-home .hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 7.4vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--mist);
}

.page-home .hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.page-home .hero-lede {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(16px, 2.1vw, 18.5px);
  line-height: 1.78;
  color: var(--grey);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.5vw, 34px);
}

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

.page-home .hero-visual .media-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(31, 217, 196, 0.22);
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .hero-stats {
  position: relative;
  z-index: 3;
  margin: -30px auto 0;
  width: min(100%, 420px);
  padding: 16px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(11, 24, 36, 0.94);
  border: 1px solid rgba(242, 194, 48, 0.34);
  border-radius: var(--r-l);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.page-home .hero-stats > div {
  text-align: center;
}

.page-home .hero-stats .data-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 4.4vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.page-home .hero-stats small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ---------- 通用小节头 ---------- */
.page-home .sec-head {
  margin-bottom: clamp(26px, 4.5vw, 46px);
}

.page-home .sec-head h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4.8vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--mist);
  max-width: 22ch;
}

.page-home .sec-sub {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--grey);
}

.page-home .section--mist .sec-head h2 {
  color: var(--ink);
}

.page-home .section--mist .sec-sub {
  color: #3a4e5e;
}

/* ---------- 本月更新 ---------- */
.page-home .updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.5vw, 44px);
}

.page-home .updates-rail h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--mist);
}

.page-home .updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .update-row {
  position: relative;
  padding: 18px 0 18px 22px;
  border-bottom: 1px solid rgba(169, 186, 198, 0.16);
}

.page-home .update-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 168, 112, 0.18);
}

.page-home .update-row:first-child::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 194, 48, 0.2);
}

.page-home .update-when {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

.page-home .update-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--grey);
}

/* ---------- 主场地图 ---------- */
.page-home .map-section {
  background:
    linear-gradient(180deg, rgba(0, 168, 112, 0.10), transparent 42%),
    var(--ink);
}

.page-home .map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.page-home .map-tabs > .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .map-tabs .tab-panel[hidden] {
  display: none;
}

.page-home .venue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .venue-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(169, 186, 198, 0.14);
}

.page-home .venue-city {
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .venue-cap {
  font-size: 14px;
  color: var(--gold);
  align-self: center;
}

.page-home .venue-lv,
.page-home .venue-turf {
  font-size: 13px;
  color: var(--grey);
}

.page-home .venue-turf {
  grid-column: 1 / -1;
}

.page-home .venue-turf::before {
  content: "草皮 · ";
  color: var(--aqua);
}

.page-home .map-canvas {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(31, 217, 196, 0.2);
}

.page-home .map-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .map-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.24);
}

.page-home .map-dot i {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(242, 194, 48, 0.9);
  animation: home-pulse 2.4s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.page-home .map-dot--a { left: 62%; top: 34%; }
.page-home .map-dot--b { left: 50%; top: 60%; }
.page-home .map-dot--c { left: 70%; top: 22%; }
.page-home .map-dot--d { left: 80%; top: 66%; }

.page-home .map-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 6px);
  padding: 7px 11px;
  white-space: nowrap;
  border-radius: 10px;
  background: var(--ink);
  border: 1px solid rgba(242, 194, 48, 0.42);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .map-dot:hover .map-tip,
.page-home .map-dot:focus-visible .map-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-home .map-dot:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@keyframes home-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- 赛季数据速读 ---------- */
.page-home .read-tabs > .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

.page-home .read-tabs .tab-panel[hidden] {
  display: none;
}

.page-home .stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 30px);
}

.page-home .stat {
  padding-top: clamp(18px, 3vw, 24px);
  border-top: 3px solid var(--green);
}

.page-home .stat:nth-child(2) { border-top-color: var(--gold); }
.page-home .stat:nth-child(3) { border-top-color: var(--aqua); }

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(40px, 9vw, 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.page-home .stat h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .stat p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #3a4e5e;
}

.page-home .readout-cta {
  margin: clamp(28px, 4vw, 42px) 0 0;
}

/* ---------- 角球效率 ---------- */
.page-home .corner-section {
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(255, 106, 43, 0.12), transparent 60%),
    var(--ink);
}

.page-home .corner-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .corner-figure {
  margin: 0;
}

.page-home .corner-figure .media-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 106, 43, 0.28);
}

.page-home .corner-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.4vw, 20px);
  counter-reset: tier;
}

.page-home .tier {
  position: relative;
  padding: 20px 22px 20px 70px;
  border-radius: var(--r-l);
  background: rgba(22, 36, 47, 0.72);
  border-left: 4px solid var(--green);
}

.page-home .tier::before {
  counter-increment: tier;
  content: counter(tier, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .tier--a { border-left-color: var(--gold); }
.page-home .tier--b { border-left-color: var(--green); }
.page-home .tier--c { border-left-color: var(--orange); }

.page-home .tier h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .tier p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--grey);
}

/* ---------- 时间轴 ---------- */
.page-home .timeline-band {
  margin: clamp(18px, 3vw, 30px) 0 clamp(24px, 4vw, 38px);
  overflow: hidden;
  border-top: 1px solid rgba(242, 194, 48, 0.28);
  border-bottom: 1px solid rgba(242, 194, 48, 0.28);
}

.page-home .timeline-band img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.72;
}

.page-home .timeline-track {
  list-style: none;
  margin: 0;
  padding: 4px 0 18px;
  display: flex;
  gap: clamp(14px, 2.5vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .tl-item {
  position: relative;
  flex: 0 0 min(80%, 340px);
  scroll-snap-align: start;
  padding: 26px 24px 30px;
  border-radius: var(--r-l);
  border: 1px solid rgba(169, 186, 198, 0.16);
  background: linear-gradient(160deg, rgba(0, 168, 112, 0.16), rgba(10, 23, 35, 0) 72%);
}

.page-home .tl-year {
  display: block;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--gold);
}

.page-home .tl-count {
  display: inline-block;
  margin: 12px 0 14px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.page-home .tl-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--grey);
}

/* ---------- 专题精选 ---------- */
.page-home .topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 26px);
}

.page-home .topic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-l);
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(10, 23, 35, 0.09);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .topic:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(10, 23, 35, 0.14);
}

.page-home .topic:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.page-home .topic h3 {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.page-home .topic--lead h3 {
  font-size: clamp(22px, 3.4vw, 33px);
}

.page-home .topic p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: #3a4e5e;
}

.page-home .topic-when {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: var(--green-deep);
}

/* ---------- 信任条 ---------- */
.page-home .trustbar {
  background: linear-gradient(100deg, var(--gold) 0%, #f7d264 58%, var(--gold-soft) 100%);
  padding: clamp(36px, 6vw, 62px) 0;
}

.page-home .trustbar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-home .trustbar-lede {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.68;
  font-weight: 600;
  color: var(--ink);
}

.page-home .trustbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.page-home .trust-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .trust-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .updates-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 34px);
  }

  .page-home .update-row:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .hero-copy {
    grid-column: 1 / span 7;
    padding-top: 10px;
  }

  .page-home .hero-visual {
    grid-column: 8 / span 5;
    margin-top: 26px;
  }

  .page-home .hero-stats {
    margin: -34px 0 0 auto;
    width: min(100%, 360px);
  }

  .page-home .updates-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-home .updates-rail {
    grid-column: 1 / span 3;
  }

  .page-home .updates-list {
    grid-column: 4 / span 9;
  }

  .page-home .map-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  }

  .page-home .map-tabs {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 8px 26px;
  }

  .page-home .map-tabs > .tab-list {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 0;
  }

  .page-home .map-tabs > .tab-panel {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .corner-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .topic-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .page-home .topic--lead {
    grid-row: 1 / span 2;
  }

  .page-home .trustbar-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .page-home .trustbar-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .page-home .hero-copy h1 {
    max-width: 15ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .map-dot i {
    animation: none;
    opacity: 0.55;
  }

  .page-home .topic {
    transition: none;
  }
}
