.page-home {
  --home-gap: clamp(72px, 9vw, 132px);
  --home-rail: 2px;
  background: var(--ink);
  color: var(--text);
  overflow-x: clip;
}

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

/* ============ 首屏 ============ */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(158deg, var(--ink-3) 0%, var(--ink) 62%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  opacity: 0.42;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg, rgba(6, 17, 14, 0.96) 0%, rgba(6, 17, 14, 0.8) 44%, rgba(6, 17, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 17, 14, 0.28) 0%, rgba(6, 17, 14, 0.92) 88%, var(--ink) 100%);
}

.page-home .home-hero__inner {
  position: relative;
}

.page-home .home-hero__crumb {
  margin: 0 0 clamp(20px, 3vw, 34px);
}

.page-home .home-hero__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 8.4vw, 108px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  max-width: 16em;
}

.page-home .home-hero__line {
  display: block;
}

.page-home .home-hero__line--accent {
  color: var(--cyan);
  text-shadow: 0 0 34px rgba(18, 214, 184, 0.28);
}

.page-home .home-hero__lede {
  margin: 0 0 clamp(28px, 4vw, 46px);
  max-width: 62ch;
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.86);
}

.page-home .home-hero__entries {
  display: grid;
  gap: 12px;
}

.page-home .home-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  background: rgba(18, 214, 184, 0.12);
  border-color: var(--line-2);
  transform: translateX(4px);
}

.page-home .home-entry__idx {
  grid-row: 1 / 3;
  font-size: 22px;
  font-weight: 700;
  color: var(--lemon);
  line-height: 1;
}

.page-home .home-entry__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
}

.page-home .home-entry__desc {
  font-size: 13px;
  color: var(--muted);
}

/* ============ 比赛日指挥台 ============ */

.page-home .home-console {
  padding: var(--home-gap) 0 calc(var(--home-gap) * 0.7);
}

.page-home .home-console__head {
  max-width: 56em;
}

.page-home .home-console__lede {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.78);
}

.page-home .home-console__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-stat {
  padding: 24px 22px 20px;
  background: linear-gradient(150deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(6, 17, 14, 0.6);
}

.page-home .home-stat__value {
  margin: 0;
  font-size: clamp(42px, 7vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: var(--lemon);
  letter-spacing: 0.01em;
}

.page-home .home-stat__plus,
.page-home .home-stat__unit {
  font-size: 0.42em;
  margin-left: 4px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.page-home .home-stat__label {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .home-stat__src {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ 补时时间轴 ============ */

.page-home .home-timeline {
  padding: calc(var(--home-gap) * 0.7) 0 var(--home-gap);
}

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

.page-home .home-timeline__intro p {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.8);
}

.page-home .home-timeline__keys {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(232, 244, 240, 0.78);
}

.page-home .home-timeline__keys li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.page-home .home-key {
  flex: none;
  width: 14px;
  height: 3px;
  transform: translateY(-3px);
}

.page-home .home-key--lemon { background: var(--lemon); }
.page-home .home-key--cyan { background: var(--cyan); }
.page-home .home-key--amber { background: var(--amber); }

.page-home .home-timeline__media {
  border: 1px solid var(--line);
}

.page-home .home-tl__list {
  position: relative;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 30px;
}

.page-home .tl-step {
  position: relative;
  padding-left: 34px;
  display: grid;
  gap: 6px;
}

.page-home .tl-step::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: -30px;
  width: var(--home-rail);
  background: linear-gradient(180deg, var(--line-2), rgba(18, 214, 184, 0.08));
}

.page-home .tl-step:last-child::before {
  display: none;
}

.page-home .tl-step__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--lemon);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 16px rgba(217, 242, 74, 0.45);
}

.page-home .tl-step__time {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .tl-step__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.page-home .tl-step__desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 30ch;
}

/* ============ 场馆 ============ */

.page-home .home-venues {
  padding: var(--home-gap) 0;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(47, 191, 107, 0.14) 0%, rgba(6, 17, 14, 0) 62%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-venues__head {
  max-width: 56em;
}

.page-home .home-venues__lede {
  margin: 16px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.78);
}

.page-home .home-venues__grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .home-venues__media {
  border: 1px solid var(--line);
}

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

.page-home .venue-card {
  padding: 22px 20px;
  background: linear-gradient(155deg, rgba(15, 58, 46, 0.86), rgba(10, 31, 26, 0.92));
  border: 1px solid var(--line);
}

.page-home .venue-card--alt {
  background: linear-gradient(155deg, rgba(15, 58, 46, 0.6), rgba(10, 31, 26, 0.94));
  border-color: rgba(255, 138, 61, 0.26);
}

.page-home .venue-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .venue-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.page-home .venue-card__desc {
  margin: 12px 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(232, 244, 240, 0.8);
}

.page-home .venue-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.page-home .venue-card__list li::before {
  content: "▸ ";
  color: var(--grass-soft);
}

.page-home .venue-layers {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .venue-layers__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(6, 17, 14, 0.66);
  border: 1px solid var(--line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-home .venue-layers__dot {
  width: 9px;
  height: 9px;
  display: inline-block;
}

.page-home .venue-layers__dot--cyan { background: var(--cyan); }
.page-home .venue-layers__dot--grass { background: var(--grass); }
.page-home .venue-layers__dot--amber { background: var(--amber); }
.page-home .venue-layers__dot--lemon { background: var(--lemon); }

.page-home .home-venues__more {
  margin: clamp(22px, 3vw, 32px) 0 0;
}

/* ============ 数据来源 ============ */

.page-home .home-sources {
  padding: var(--home-gap) 0;
}

.page-home .home-sources__rows {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-home .src-row {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}

.page-home .src-row:hover {
  background: linear-gradient(90deg, rgba(18, 214, 184, 0.07), rgba(18, 214, 184, 0));
}

.page-home .src-row__field {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .src-row__from {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text);
}

.page-home .src-row__rate {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============ 跨场景 ============ */

.page-home .home-cross {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 108px) 0;
  background: var(--ink);
}

.page-home .home-cross__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-cross__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .home-cross::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(96deg, rgba(6, 17, 14, 0.95) 0%, rgba(6, 17, 14, 0.72) 52%, rgba(6, 17, 14, 0.9) 100%);
}

.page-home .home-cross__inner {
  display: grid;
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
}

.page-home .home-cross__text p {
  margin: 16px 0 0;
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.82);
}

.page-home .home-cross__note {
  font-size: 14.5px !important;
  color: var(--grass-soft) !important;
  padding-left: 14px;
  border-left: 3px solid var(--grass);
}

.page-home .home-cross__text .btn {
  margin-top: 24px;
}

.page-home .home-cross__meter {
  display: grid;
  gap: 18px;
}

.page-home .cross-meter__row {
  display: grid;
  gap: 8px;
}

.page-home .cross-meter__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text);
}

.page-home .cross-meter__bar {
  display: block;
  height: 6px;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.page-home .cross-meter__bar--cyan { background: linear-gradient(90deg, var(--cyan), rgba(18, 214, 184, 0.15)); }
.page-home .cross-meter__bar--grass { background: linear-gradient(90deg, var(--grass), rgba(47, 191, 107, 0.15)); }
.page-home .cross-meter__bar--lemon { background: linear-gradient(90deg, var(--lemon), rgba(217, 242, 74, 0.15)); }

.page-home .cross-meter__val {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ============ 从这里开始 ============ */

.page-home .home-start {
  padding: var(--home-gap) 0 calc(var(--home-gap) * 0.8);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.page-home .home-start__head {
  max-width: 56em;
}

.page-home .home-start__lede {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 244, 240, 0.78);
}

.page-home .home-start__grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .start-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: linear-gradient(160deg, rgba(15, 58, 46, 0.7), rgba(6, 17, 14, 0.92));
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .start-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.page-home .start-card__tier {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .start-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.page-home .start-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(232, 244, 240, 0.78);
  flex: 1;
}

.page-home .start-card__link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .start-card__link:hover,
.page-home .start-card__link:focus-visible {
  color: var(--lemon);
  border-color: var(--lemon);
}

/* ============ 响应式 ============ */

@media (min-width: 700px) {
  .page-home .home-hero__entries {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .page-home .home-sources__rows {
    border-top: 0;
  }

  .page-home .src-row {
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.6fr) minmax(0, 1.9fr);
    align-items: baseline;
    gap: 24px;
    border-top: 1px solid var(--line);
  }
}

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

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

  .page-home .home-tl__list::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 11px;
    height: var(--home-rail);
    background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 58%, var(--amber) 100%);
    z-index: 0;
  }

  .page-home .tl-step {
    padding: 52px 30px 0 0;
  }

  .page-home .tl-step::before {
    display: none;
  }

  .page-home .tl-step__dot {
    top: 4px;
    left: 0;
    z-index: 1;
  }

  .page-home .home-cross__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

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

@media (min-width: 1040px) {
  .page-home .home-console__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-venues__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .src-row,
  .page-home .start-card,
  .page-home .start-card__link {
    transition: none;
  }
}
</main>
