.page-home {
  --home-gap: clamp(16px, 2.4vw, 32px);
  --home-pad: clamp(44px, 6vw, 92px);
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px) 0 clamp(40px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 460px at 74% -10%, rgba(123, 108, 246, 0.2), transparent 66%),
    radial-gradient(540px 400px at 6% 2%, rgba(242, 107, 58, 0.16), transparent 70%),
    linear-gradient(180deg, #04101a 0%, var(--ink-800) 56%, var(--ink-900) 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 76, 94, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 76, 94, 0.26) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 74%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 74%);
  pointer-events: none;
}

.page-home .hero > .container {
  position: relative;
  z-index: 1;
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  margin-top: 18px;
}

.page-home .hero h1 {
  margin: 0.28em 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hero__lede {
  margin: 0 0 0.7em;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .hero__lede--quiet {
  color: var(--text);
  opacity: 0.92;
  margin-bottom: 1.6em;
}

/* ---------- 赛事分类层叠目录 ---------- */
.page-home .cat-index {
  display: grid;
  gap: 8px;
}

.page-home .cat-group {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 48, 63, 0.62), rgba(10, 29, 43, 0.9));
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.page-home .cat-group[open] {
  border-color: #2b6376;
  background: linear-gradient(180deg, rgba(18, 48, 63, 0.95), rgba(10, 29, 43, 0.98));
}

.page-home .cat-group__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.page-home .cat-group__summary::-webkit-details-marker {
  display: none;
}

.page-home .cat-group__mark {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.page-home .cat-group[open] .cat-group__mark {
  transform: rotate(-135deg);
}

.page-home .cat-group__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-home .cat-list {
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.page-home .cat-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px 9px 26px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .cat-item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.page-home .cat-item__note {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .cat-item:hover,
.page-home .cat-item:focus-visible {
  background: rgba(242, 107, 58, 0.1);
  border-left-color: var(--coral);
}

.page-home .cat-item:hover .cat-item__note,
.page-home .cat-item:focus-visible .cat-item__note {
  color: var(--coral-soft);
}

/* ---------- 场馆信息卡 ---------- */
.page-home .venue-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-700);
}

.page-home .venue-card__media {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .venue-card__media .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-home .venue-panel {
  display: none;
  padding: 18px 18px 20px;
}

.page-home .venue-panel--base {
  display: block;
}

.page-home .venue-panel__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.page-home .venue-panel__name {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
}

.page-home .venue-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.page-home .venue-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 7px;
  font-size: 13px;
  border-bottom: 1px dashed rgba(31, 76, 94, 0.72);
}

.page-home .venue-facts span {
  color: var(--text-muted);
}

.page-home .venue-facts strong {
  font-weight: 500;
  text-align: right;
  color: var(--text);
}

.page-home .venue-facts .mono {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-home .venue-card__band {
  height: 58px;
  border-top: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(31, 76, 94, 0.55) 1px, transparent 1px);
  background-size: 14px 100%;
}

.page-home .hero__hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .hero__grid:has(.cat-item--football:hover) .venue-panel--base,
.page-home .hero__grid:has(.cat-item--basketball:hover) .venue-panel--base,
.page-home .hero__grid:has(.cat-item--track:hover) .venue-panel--base {
  display: none;
}

.page-home .hero__grid:has(.cat-item--football:hover) .venue-panel--football,
.page-home .hero__grid:has(.cat-item--basketball:hover) .venue-panel--basketball,
.page-home .hero__grid:has(.cat-item--track:hover) .venue-panel--track {
  display: block;
}

/* ---------- 双入口目录带 ---------- */
.page-home .entry-band {
  padding: var(--home-pad) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
}

.page-home .entry-band h2,
.page-home .timeline-section h2,
.page-home .detail-section h2,
.page-home .scale-section h2,
.page-home .exit-section h2 {
  margin: 0.3em 0 0.4em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--text);
}

.page-home .entry-band__lede {
  margin: 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .entry-band__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .entry-card {
  position: relative;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(18, 48, 63, 0.86), rgba(5, 16, 26, 0.92));
}

.page-home .entry-card--wide {
  border-top: 3px solid var(--coral);
}

.page-home .entry-card--narrow {
  border-top: 3px solid var(--violet);
}

.page-home .entry-card__index {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.page-home .entry-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
}

.page-home .entry-card__body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .entry-card__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .entry-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .entry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--coral);
}

.page-home .entry-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 145, 102, 0.45);
  padding-bottom: 2px;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .entry-card__link:hover,
.page-home .entry-card__link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--text);
}

.page-home .track-frame {
  margin: clamp(26px, 3.4vw, 42px) 0 0;
}

.page-home .track-frame .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1) brightness(0.85);
}

.page-home .track-frame__cap {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ---------- 时间轴 ---------- */
.page-home .timeline-section {
  position: relative;
  overflow: hidden;
  padding: var(--home-pad) 0;
  background: linear-gradient(180deg, var(--ink-900), #04101a 70%, var(--ink-800));
  border-bottom: 1px solid var(--line);
}

.page-home .timeline-section__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.26;
  filter: grayscale(0.25) contrast(1.15);
  pointer-events: none;
}

.page-home .timeline-section > .container {
  position: relative;
  z-index: 1;
}

.page-home .timeline-section__lede {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .timeline {
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.page-home .timeline__item {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid rgba(31, 76, 94, 0.85);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(242, 107, 58, 0.16);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .timeline__item:hover::before {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px rgba(242, 107, 58, 0.26);
}

.page-home .timeline__clock {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .timeline__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}

.page-home .timeline__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- 详情页三块 ---------- */
.page-home .detail-section {
  padding: var(--home-pad) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .detail-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .detail-card {
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 48, 63, 0.72), rgba(5, 16, 26, 0.86));
}

.page-home .detail-card--lineup {
  border-top: 2px solid var(--coral);
}

.page-home .detail-card--venue {
  border-top: 2px solid var(--violet);
}

.page-home .detail-card--stamp {
  border-top: 2px solid var(--amber);
}

.page-home .detail-card__index {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.page-home .detail-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}

.page-home .detail-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}

.page-home .detail-card__stamp {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--amber);
}

/* ---------- 规模 ---------- */
.page-home .scale-section {
  padding: var(--home-pad) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(520px 340px at 88% 12%, rgba(63, 240, 192, 0.08), transparent 68%),
    var(--ink-900);
}

.page-home .scale-section__grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.page-home .scale-row {
  display: grid;
  gap: 20px;
  margin: 22px 0;
}

.page-home .scale-stat {
  display: grid;
  gap: 6px;
  padding-left: 16px;
  border-left: 2px solid var(--coral);
}

.page-home .scale-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--coral-soft);
}

.page-home .scale-stat__label {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .scale-section__body {
  margin: 0 0 20px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.page-home .scale-section__cta {
  display: inline-block;
}

.page-home .scale-section__fig {
  margin: 0;
}

.page-home .scale-section__fig .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1);
}

.page-home .scale-section__fig figcaption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ---------- 出口 ---------- */
.page-home .exit-section {
  padding: var(--home-pad) 0 clamp(40px, 5vw, 76px);
  background: linear-gradient(180deg, var(--ink-900), #04101a);
}

.page-home .exit-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .exit-card {
  display: block;
  padding: 22px 18px 20px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(10, 29, 43, 0.7);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-home .exit-card--lead {
  border-color: rgba(242, 107, 58, 0.55);
  background: linear-gradient(150deg, rgba(242, 107, 58, 0.14), rgba(10, 29, 43, 0.85));
}

.page-home .exit-card:hover,
.page-home .exit-card:focus-visible {
  background: rgba(18, 48, 63, 0.95);
  border-color: var(--coral);
  transform: translateY(-3px);
}

.page-home .exit-card__index {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .exit-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.page-home .exit-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-home .exit-card__go {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--coral-soft);
}

/* ---------- 窄屏收敛 ---------- */
@media (max-width: 559px) {
  .page-home .venue-card__band {
    height: 40px;
  }

  .page-home .timeline-section__img {
    width: 100%;
    opacity: 0.16;
  }

  .page-home .entry-card,
  .page-home .detail-card,
  .page-home .exit-card {
    padding: 20px 16px 18px;
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-home .entry-band__grid {
    grid-template-columns: 1.45fr 0.85fr;
    align-items: start;
  }

  .page-home .detail-grid {
    grid-template-columns: 1.25fr 0.85fr 1fr;
    align-items: stretch;
  }

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

  .page-home .exit-card--lead {
    grid-column: span 2;
  }

  .page-home .scale-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------- 横向时间轴 ---------- */
@media (min-width: 880px) {
  .page-home .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 46px;
  }

  .page-home .timeline__item {
    padding: 28px 18px 0 0;
    border-left: 0;
  }

  .page-home .timeline__item::before {
    left: 0;
    top: 9px;
  }

  .page-home .timeline__item::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 13px;
    width: calc(100% - 18px);
    height: 1px;
    background: linear-gradient(90deg, rgba(242, 107, 58, 0.5), rgba(31, 76, 94, 0.7));
  }

  .page-home .timeline__item:last-child::after {
    display: none;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
    align-items: start;
    gap: clamp(28px, 3.4vw, 52px);
  }

  .page-home .scale-section__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }
}

@media (min-width: 1120px) {
  .page-home .exit-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .page-home .exit-card--lead {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .cat-group__mark,
  .page-home .cat-item,
  .page-home .timeline__item::before,
  .page-home .exit-card,
  .page-home .entry-card__link {
    transition: none;
  }

  .page-home .exit-card:hover,
  .page-home .timeline__item:hover::before {
    transform: none;
  }
}
