.page-home {
  --home-rule: 1px solid var(--c-net);
  --home-heat-1: rgba(43, 245, 200, 0.07);
  --home-heat-2: rgba(43, 245, 200, 0.16);
  --home-heat-3: rgba(43, 245, 200, 0.30);
  --home-heat-4: rgba(43, 245, 200, 0.48);
  display: block;
  overflow-x: clip;
  background-color: var(--c-field);
  color: var(--c-ice);
  font-family: var(--font-body);
}

.page-home .section {
  padding: clamp(52px, 8vw, 100px) 0;
  border-top: var(--home-rule);
}

.page-home .eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-pulse);
}

.page-home .section-head {
  max-width: 780px;
}

.page-home .section-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-ice);
}

.page-home .section-note {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-grey);
}

.page-home .section-cta {
  margin: clamp(24px, 4vw, 36px) 0 0;
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 9vw, 112px) 0 clamp(52px, 8vw, 96px);
  border-bottom: var(--home-rule);
  background:
    linear-gradient(158deg, var(--c-stand) 0%, var(--c-field) 58%, var(--c-field) 100%);
}

.page-home .hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.20;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 4% 100%);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 38%;
  filter: saturate(0.7) contrast(1.06) brightness(0.7);
}

.page-home .hero-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero-trace path {
  fill: none;
  stroke: var(--c-pulse);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  opacity: 0.5;
  animation: home-flow 1.2s linear infinite;
}

@keyframes home-flow {
  to { stroke-dashoffset: -16; }
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-home .hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.page-home .hero-kicker-text {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-grey);
}

.page-home .hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 10.5vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--c-ice);
}

.page-home .hero-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--c-pulse);
  font-size: 1.06em;
}

.page-home .hero-lede {
  margin: clamp(20px, 3vw, 28px) 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ice);
  opacity: 0.86;
}

.page-home .hero-entries {
  list-style: none;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 0;
  max-width: 760px;
  border-top: var(--home-rule);
}

.page-home .entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 6px;
  border-bottom: var(--home-rule);
  text-decoration: none;
  color: inherit;
  transition: background-color 120ms var(--ease), transform 120ms var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  background-color: var(--c-pulse-08);
  transform: translateX(4px);
}

.page-home .entry:focus-visible {
  outline: 2px solid var(--c-pulse);
  outline-offset: -2px;
}

.page-home .entry-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--c-pulse);
}

.page-home .entry-body {
  display: block;
  min-width: 0;
}

.page-home .entry-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--c-ice);
}

.page-home .entry-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-grey);
}

.page-home .entry-arrow {
  font-size: 18px;
  color: var(--c-pulse);
}

/* ---------- 骨架：轨道 + 主内容 ---------- */

.page-home .layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .rail {
  min-width: 0;
}

.page-home .track-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: var(--home-rule);
}

.page-home .track-item {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 10px;
  padding: 14px 0;
  border-bottom: var(--home-rule);
}

.page-home .track-num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  line-height: 1.25;
  color: var(--c-pulse);
}

.page-home .track-name {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-ice);
}

.page-home .track-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-grey);
}

/* ---------- 射门快照 ---------- */

.page-home .snap-grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

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

.page-home .media-frame {
  border: var(--home-rule);
  background-color: var(--c-stand);
}

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

.page-home .media-caption {
  display: block;
  padding: 10px 12px;
  border-top: var(--home-rule);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-grey);
}

.page-home .heat-wrap {
  min-width: 0;
}

.page-home .heat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .heat-hint {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-grey);
}

.page-home .heat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: var(--home-rule);
  background-color: var(--c-net);
}

.page-home .heat-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background-color: var(--c-stand);
  transition: outline-color 120ms var(--ease);
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.page-home .heat-cell[data-level="1"] { background-color: var(--home-heat-1); }
.page-home .heat-cell[data-level="2"] { background-color: var(--home-heat-2); }
.page-home .heat-cell[data-level="3"] { background-color: var(--home-heat-3); }
.page-home .heat-cell[data-level="4"] { background-color: var(--home-heat-4); }

.page-home .heat-cell.is-strike {
  background-color: rgba(255, 90, 60, 0.62);
}

.page-home .heat-cell:hover,
.page-home .heat-cell:focus-visible {
  outline-color: var(--c-pulse);
}

.page-home .heat-cell:focus-visible {
  outline-width: 2px;
}

.page-home .heat-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--c-ink);
  font-weight: 600;
}

.page-home .heat-cell[data-level="1"] .heat-count,
.page-home .heat-cell[data-level="2"] .heat-count {
  color: var(--c-ice);
  opacity: 0.75;
  font-weight: 400;
}

.page-home .heat-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  z-index: 4;
  padding: 5px 8px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-ice);
  background-color: var(--c-ink);
  border: 1px solid var(--c-pulse);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms var(--ease);
}

.page-home .heat-cell:hover .heat-tip,
.page-home .heat-cell:focus-visible .heat-tip {
  opacity: 1;
}

.page-home .stat-row {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--c-net);
  border: var(--home-rule);
}

.page-home .stat-row li {
  background-color: var(--c-stand);
  padding: 18px 16px;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--c-pulse);
}

.page-home .stat-cap {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-grey);
}

/* ---------- 进失球分布 ---------- */

.page-home .dist-figure {
  margin: clamp(28px, 4vw, 44px) 0 0;
}

.page-home .dist-table-wrap {
  margin-top: clamp(24px, 3vw, 36px);
  overflow-x: auto;
  border: var(--home-rule);
}

.page-home .data-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 12px 14px;
  border-bottom: var(--home-rule);
  text-align: left;
  font-weight: 400;
}

.page-home .data-table thead th {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-grey);
  border-bottom: 1px solid var(--c-pulse-40);
}

.page-home .data-table tbody th {
  color: var(--c-ice);
}

.page-home .data-table tbody tr:last-child th,
.page-home .data-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .data-table tbody tr:hover {
  background-color: var(--c-pulse-08);
}

.page-home .data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--c-ice);
}

/* ---------- 重点场次 ---------- */

.page-home .focus-grid {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background-color: var(--c-net);
  border: var(--home-rule);
}

.page-home .focus-card {
  background-color: var(--c-stand);
  padding: 24px 20px 26px;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}

.page-home .focus-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--c-pulse);
}

.page-home .focus-idx {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-pulse);
}

.page-home .focus-name {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--c-ice);
}

.page-home .focus-desc {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--c-grey);
}

.page-home .sub-block {
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: var(--home-rule);
}

.page-home .sub-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--c-ice);
}

.page-home .sub-row {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .sub-item {
  display: grid;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--c-pulse-40);
}

.page-home .sub-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ice);
}

.page-home .sub-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-grey);
}

.page-home .sub-cta {
  margin: 24px 0 0;
}

/* ---------- 专栏索引 ---------- */

.page-home .index-list {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  border-top: var(--home-rule);
}

.page-home .index-list li a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 6px;
  border-bottom: var(--home-rule);
  text-decoration: none;
  color: inherit;
  transition: background-color 120ms var(--ease), transform 120ms var(--ease);
}

.page-home .index-list li a:hover,
.page-home .index-list li a:focus-visible {
  background-color: var(--c-pulse-08);
  transform: translateX(4px);
}

.page-home .index-list li a:focus-visible {
  outline: 2px solid var(--c-pulse);
  outline-offset: -2px;
}

.page-home .index-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--c-pulse);
}

.page-home .index-title {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.55;
  color: var(--c-ice);
}

.page-home .index-tag {
  grid-column: 2;
  justify-self: start;
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-grey);
  border: 1px solid var(--c-net);
}

/* ---------- 版本动态与信任 ---------- */

.page-home .version-track {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0 0 0 26px;
  border-left: 1px solid var(--c-net);
  display: grid;
  gap: 28px;
}

.page-home .version-track li {
  position: relative;
}

.page-home .version-track li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 9px;
  height: 9px;
  background-color: var(--c-pulse);
}

.page-home .version-stage {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 23px);
  color: var(--c-ice);
}

.page-home .version-track p {
  margin: 8px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--c-grey);
}

.page-home .trust-list {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--c-net);
  border: var(--home-rule);
}

.page-home .trust-list li {
  background-color: var(--c-stand);
  padding: 20px 18px;
}

.page-home .trust-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-ice);
}

.page-home .trust-cap {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-grey);
}

.page-home .link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(26px, 4vw, 38px) 0 0;
}

.page-home .link-row a {
  font-size: 14px;
  color: var(--c-pulse);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms var(--ease), color 120ms var(--ease);
}

.page-home .link-row a:hover,
.page-home .link-row a:focus-visible {
  border-bottom-color: var(--c-pulse);
}

.page-home .link-row a:focus-visible {
  outline: 2px solid var(--c-pulse);
  outline-offset: 3px;
}

/* ---------- 按钮 ---------- */

.page-home .btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--c-pulse);
  border-radius: var(--radius);
  background-color: var(--c-pulse);
  color: var(--c-field);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  background-color: var(--c-ice);
  border-color: var(--c-ice);
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--c-pulse);
  outline-offset: 3px;
}

.page-home .btn-ghost {
  background-color: transparent;
  border-color: var(--c-net);
  color: var(--c-ice);
}

.page-home .btn-ghost:hover,
.page-home .btn-ghost:focus-visible {
  background-color: transparent;
  border-color: var(--c-pulse);
  color: var(--c-pulse);
}

/* ---------- 收束区 ---------- */

.page-home .closing {
  position: relative;
  border-top: var(--home-rule);
  background-color: var(--c-ink);
  overflow: hidden;
}

.page-home .closing img {
  display: block;
  width: 100%;
  height: clamp(220px, 36vw, 380px);
  object-fit: cover;
  filter: brightness(0.5) saturate(0.75);
}

.page-home .closing-inner {
  position: absolute;
  inset: auto 0 clamp(22px, 5vw, 52px) 0;
}

.page-home .closing h2 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--c-ice);
}

.page-home .closing p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--c-ice);
  opacity: 0.8;
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px !important;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .sub-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .index-list li a {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .page-home .index-tag {
    grid-column: 3;
    align-self: center;
  }
}

@media (min-width: 900px) {
  .page-home .hero-media {
    width: 64%;
    opacity: 0.42;
    clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .snap-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .layout {
    grid-template-columns: 3fr 9fr;
  }

  .page-home .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .page-home .hero-inner {
    max-width: 880px;
  }

  .page-home .closing-inner {
    inset: auto 0 clamp(40px, 5vw, 64px) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-trace path {
    animation: none;
  }

  .page-home .entry,
  .page-home .index-list li a,
  .page-home .focus-card,
  .page-home .btn,
  .page-home .link-row a {
    transition-duration: 0.01ms;
  }

  .page-home .entry:hover,
  .page-home .entry:focus-visible,
  .page-home .index-list li a:hover,
  .page-home .index-list li a:focus-visible,
  .page-home .focus-card:hover {
    transform: none;
  }
}
