/* ============================================================
   page-home — 首页专属样式（全部限定在 .page-home 作用域）
   ============================================================ */

.page-home {
  --home-line: rgba(147, 168, 162, .2);
  --home-line-strong: rgba(147, 168, 162, .42);
  --home-gap: clamp(24px, 3.4vw, 44px);
  display: block;
  overflow-x: clip;
}

.page-home .container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.page-home .section {
  padding-block: clamp(48px, 7vw, 96px);
}

/* 区块大编号 */
.page-home .section-head__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(38px, 6.5vw, 78px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.05em;
  color: rgba(53, 224, 196, .2);
  margin-bottom: 6px;
}

.page-home .section-head__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--c-cyan);
}

.page-home .section-head__title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.34;
  font-weight: 600;
  color: var(--c-white);
  max-width: 20ch;
}

.page-home .section-head__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-mist);
}

/* ── 面包屑 ───────────────────────────────── */
.page-home .breadcrumbs {
  padding-top: clamp(16px, 3vw, 30px);
  font-size: 12.5px;
  color: var(--c-mist);
}

.page-home .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  letter-spacing: .06em;
}

.page-home .breadcrumbs__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--home-line-strong);
}

.page-home .breadcrumbs__list a {
  color: var(--c-mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .breadcrumbs__list a:hover {
  color: var(--c-cyan);
  border-bottom-color: var(--c-cyan);
}

.page-home .breadcrumbs__list [aria-current="page"] {
  color: var(--c-white);
  font-weight: 600;
}

/* ── 01 首屏 ─────────────────────────────── */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(24px, 4vw, 48px) clamp(44px, 7vw, 92px);
  background:
    radial-gradient(130% 90% at 88% 6%, rgba(53, 224, 196, .12), transparent 62%),
    radial-gradient(90% 70% at 4% 96%, rgba(18, 54, 92, .5), transparent 65%),
    var(--c-green);
}

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

.page-home .home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--c-amber);
  border: 1px solid rgba(242, 178, 60, .38);
  background: rgba(242, 178, 60, .08);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 5.6vw, 62px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.page-home .home-hero__lead {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--c-mist);
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  background: var(--home-line);
  border-block: 1px solid var(--home-line);
}

.page-home .home-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 16px 0;
  background: transparent;
}

.page-home .home-hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-home .num--amber { color: var(--c-amber); }
.page-home .num--cyan { color: var(--c-cyan); }

.page-home .home-hero__stat-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-mist);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏右侧视觉 */
.page-home .home-hero__visual {
  position: relative;
  min-height: 300px;
}

.page-home .home-hero__mask {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.page-home .home-hero__shot {
  margin: 0;
  height: 100%;
  min-height: 300px;
}

.page-home .home-hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(.62) brightness(.66) contrast(1.05);
}

/* 斜向荧光青交界线 */
.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--c-cyan);
  clip-path: polygon(0 0, 2px 0, calc(2px + 0px) 100%, 0 100%);
  pointer-events: none;
  opacity: .85;
}

/* 轮次轴 */
.page-home .round-axis {
  position: absolute;
  right: clamp(8px, 1.8vw, 20px);
  top: clamp(14px, 2.6vw, 28px);
  bottom: clamp(14px, 2.6vw, 28px);
  z-index: 3;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 6px 14px;
  background: rgba(5, 23, 19, .78);
  border: 1px solid var(--home-line);
}

.page-home .round-axis__caption {
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--c-mist);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
}

.page-home .round-axis__rail {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.page-home .round-axis__line {
  width: 3px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--c-cyan) 0 2px,
    transparent 2px 14px
  );
  opacity: .85;
}

.page-home .round-axis__now {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  color: var(--c-ink);
  background: var(--c-amber);
}

/* ── 02 升降级分区 ───────────────────────── */
.page-home .home-zones {
  background:
    linear-gradient(180deg, rgba(5, 23, 19, .92), rgba(5, 23, 19, .72)),
    var(--c-ink);
}

.page-home .zone-band {
  display: grid;
  gap: clamp(22px, 3.2vw, 42px);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .zone-band__scale {
  display: grid;
  gap: 3px;
  align-content: start;
}

.page-home .zone-band__cap {
  display: block;
  padding: 16px 18px 16px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-white);
  background: rgba(234, 243, 240, .045);
  border-left: 3px solid var(--home-line-strong);
}

.page-home .zone-band__cap--up { border-left-color: var(--c-emerald); }
.page-home .zone-band__cap--safe { border-left-color: var(--c-mist); }
.page-home .zone-band__cap--down { border-left-color: var(--c-red); }

.page-home .zone-band__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .zone-band__aside .media {
  margin: 0;
  overflow: hidden;
}

.page-home .zone-band__aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.6) brightness(.72);
}

.page-home .zone-band__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-mist);
}

/* ── 03 球队条目 ─────────────────────────── */
.page-home .home-teams {
  background: var(--c-green);
}

.page-home .home-teams__band {
  margin: clamp(26px, 3.6vw, 42px) 0 clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.page-home .home-teams__band img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.55) brightness(.68);
}

.page-home .form-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.page-home .form-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-home .form-legend__sw {
  width: 18px;
  height: 7px;
  display: inline-block;
}

.page-home .form-legend__sw--w { background: var(--c-white); }
.page-home .form-legend__sw--d { background: var(--c-mist); }
.page-home .form-legend__sw--l { background: var(--c-red); }

.page-home .form-legend__hint {
  color: rgba(147, 168, 162, .72);
  letter-spacing: .02em;
}

.page-home .team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

.page-home .team-card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background-color: rgba(5, 23, 19, .72);
  background-image: linear-gradient(155deg, rgba(18, 54, 92, .34), rgba(5, 23, 19, 0) 72%);
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    16px 100%,
    0 calc(100% - 16px)
  );
  transition: background-image var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .team-card:hover,
.page-home .team-card:focus-visible {
  background-image: linear-gradient(155deg, rgba(18, 54, 92, .62), rgba(5, 23, 19, 0) 72%);
  outline: none;
}

.page-home .team-card:focus-visible {
  box-shadow: inset 0 0 0 2px var(--c-cyan);
}

.page-home .team-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .team-card__badge {
  flex: none;
  width: 20px;
  height: 20px;
  background: conic-gradient(
    from 45deg,
    var(--c-cyan) 0 25%,
    var(--c-blue) 0 50%,
    var(--c-cyan) 0 75%,
    var(--c-blue) 0
  );
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .team-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--c-white);
}

.page-home .team-card__round {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--c-mist);
  white-space: nowrap;
}

.page-home .team-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 16px 0 0;
}

.page-home .team-card__facts > div {
  margin: 0;
  min-width: 0;
}

.page-home .team-card__facts dt {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-mist);
}

.page-home .team-card__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: var(--c-white);
  overflow-wrap: anywhere;
}

.page-home .form-seq {
  display: flex;
  gap: 5px;
  margin-top: 18px;
}

.page-home .form-seq__dot {
  flex: 1;
  height: 7px;
  background: var(--home-line-strong);
}

.page-home .form-seq__dot--w { background: var(--c-white); }
.page-home .form-seq__dot--d { background: var(--c-mist); }
.page-home .form-seq__dot--l { background: var(--c-red); }

.page-home .home-teams__more {
  margin: clamp(24px, 3.2vw, 38px) 0 0;
}

/* ── 04 抢断轮次索引 ─────────────────────── */
.page-home .home-snatch {
  background:
    linear-gradient(200deg, rgba(18, 54, 92, .72), rgba(5, 23, 19, .94)),
    var(--c-blue);
}

.page-home .snatch-axis {
  position: relative;
  margin: clamp(26px, 3.6vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .snatch-axis::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--home-line-strong);
}

.page-home .snatch-axis__row {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .snatch-axis__row:last-child {
  border-bottom: none;
}

.page-home .snatch-axis__row::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-green);
  border: 1px solid var(--c-cyan);
}

.page-home .snatch-axis__row:last-child::before {
  background: var(--c-amber);
  border-color: var(--c-amber);
}

.page-home .snatch-axis__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-white);
}

.page-home .snatch-axis__desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-mist);
}

.page-home .home-snatch__more {
  margin: clamp(24px, 3.2vw, 38px) 0 0;
}

/* ── 05 赛事动态 ─────────────────────────── */
.page-home .home-news {
  background: var(--c-ink);
}

.page-home .home-news__stage {
  position: relative;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-block: clamp(26px, 3.4vw, 44px);
  overflow: hidden;
}

.page-home .home-news__shot {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.5) brightness(.4);
}

.page-home .home-news__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    92deg,
    rgba(5, 23, 19, .96) 0%,
    rgba(5, 23, 19, .78) 45%,
    rgba(5, 23, 19, .5) 100%
  );
}

.page-home .news-strip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--c-cyan) transparent;
}

.page-home .news-strip::-webkit-scrollbar {
  height: 4px;
}

.page-home .news-strip::-webkit-scrollbar-thumb {
  background: rgba(53, 224, 196, .5);
}

.page-home .news-card {
  flex: 0 0 min(80vw, 322px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(5, 23, 19, .84);
  border: 1px solid var(--home-line);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .news-card:hover {
  border-color: var(--home-line-strong);
  background: rgba(5, 23, 19, .92);
}

.page-home .news-card .tag {
  align-self: flex-start;
}

.page-home .news-card__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--c-amber);
}

.page-home .news-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-white);
}

.page-home .news-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--c-mist);
}

.page-home .home-news__more {
  margin-top: clamp(24px, 3.2vw, 36px);
}

/* ── 06 数据使用与合作 ───────────────────── */
.page-home .home-start {
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(18, 54, 92, .55), transparent 62%),
    var(--c-green);
}

.page-home .cta-pair {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(26px, 3.6vw, 44px);
}

.page-home .cta-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(150deg, rgba(18, 54, 92, .42), rgba(5, 23, 19, .82));
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    22px 100%,
    0 calc(100% - 22px)
  );
}

.page-home .cta-card h3 {
  margin: 14px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-white);
}

.page-home .cta-card p {
  margin: 0 0 22px;
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .home-start__note {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .home-start__note a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 196, .45);
  margin-inline: 2px;
}

.page-home .home-start__note a:hover {
  border-bottom-color: var(--c-cyan);
}

/* ── 视觉降级 ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .page-home .team-card,
  .page-home .news-card {
    transition: none;
  }
}

/* ── 平板 ────────────────────────────────── */
@media (min-width: 680px) {
  .page-home .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .snatch-axis__row {
    grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
    align-items: baseline;
    gap: 22px;
  }
}

@media (min-width: 760px) {
  .page-home .zone-band {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
    align-items: start;
  }

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

/* ── 桌面：分屏首屏 ───────────────────────── */
@media (min-width: 940px) {
  .page-home .home-hero__split {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: stretch;
  }

  .page-home .home-hero__visual {
    position: relative;
    min-height: 480px;
  }

  .page-home .home-hero__mask {
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
    height: 100%;
  }

  .page-home .home-hero__visual::before {
    clip-path: polygon(7% 0, calc(7% + 2px) 0, calc(2px) 100%, 0 100%);
    opacity: .9;
  }

  .page-home .home-hero__shot,
  .page-home .home-hero__shot img {
    min-height: 480px;
  }
}

@media (min-width: 1080px) {
  .page-home .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .team-card--feature {
    grid-column: span 2;
  }

  .page-home .team-card--feature .team-card__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── 窄屏保护 ─────────────────────────────── */
@media (max-width: 420px) {
  .page-home .home-hero__actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .page-home .news-card {
    flex: 0 0 86vw;
  }

  .page-home .round-axis {
    width: 52px;
  }
}
