/* ===== 首页 · 夜场战术室封面 ===== */
.page-home {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  filter: saturate(0.42) brightness(0.5) contrast(1.06);
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(168deg, rgba(10, 31, 26, 0.82) 0%, rgba(10, 31, 26, 0.93) 46%, rgba(10, 31, 26, 0.99) 100%);
}

.page-home .hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.32;
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-block: clamp(52px, 11vw, 132px) clamp(48px, 8vw, 104px);
}

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

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 20px 0 0;
  max-width: 19ch;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .hero__lede {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
  color: var(--rule);
}

.page-home .hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.page-home .hero__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero__fact dt {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.01em;
}

.page-home .hero__fact dd {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* 首屏竖向赛季轴预览 */
.page-home .hero__axis {
  display: none;
}

@media (min-width: 980px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.62fr) minmax(200px, 0.72fr);
    gap: 64px;
    align-items: start;
  }

  .page-home .hero__axis {
    display: block;
    position: relative;
    padding-left: 30px;
    padding-top: 14px;
  }

  .page-home .hero__axis-rail {
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom, var(--cyan), var(--line) 42%, transparent);
  }

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

  .page-home .hero__axis-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 12px;
  }

  .page-home .hero__axis-item i {
    flex: 1;
    height: 1px;
    background: var(--line-soft);
  }

  .page-home .hero__axis-item.is-now {
    color: var(--cyan);
  }

  .page-home .hero__axis-item.is-now i {
    background: var(--cyan-dim);
  }
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding-block: clamp(56px, 9vw, 116px);
}

.page-home .section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .section-head {
  max-width: 74ch;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

.page-home .section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 12px 0 0;
}

.page-home .section-head__note {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- 01 赛季轴 ---------- */
.page-home .axis__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.page-home .axis__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--card);
}

.page-home .axis__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.68);
}

.page-home .axis__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

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

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

.page-home .axis__sum {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 16px 8px 16px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

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

.page-home .axis__sum::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--line);
  transition: background 0.2s ease;
}

.page-home .axis__season[open] .axis__sum::before {
  background: var(--cyan);
}

.page-home .axis__sum:hover {
  background: rgba(47, 230, 200, 0.05);
}

.page-home .axis__year {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  min-width: 4.6em;
}

.page-home .axis__season[open] .axis__year {
  color: var(--cyan);
}

.page-home .axis__dots {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
}

.page-home .axis__dots i {
  width: 14px;
  height: 2px;
  background: var(--line);
}

.page-home .axis__season[open] .axis__dots i {
  background: var(--cyan);
}

.page-home .axis__season[open] .axis__dots i:nth-child(2) {
  background: var(--orange);
}

.page-home .axis__hint {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .axis__desc {
  margin: 0;
  padding: 0 8px 20px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rule);
  max-width: 48ch;
}

@media (min-width: 980px) {
  .page-home .axis__body {
    grid-template-columns: minmax(250px, 336px) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page-home .axis__hint {
    display: none;
  }
}

/* ---------- 02 三项指标 ---------- */
.page-home .metrics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .metric {
  position: relative;
  display: block;
  padding: 28px 24px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left-width: 3px;
  color: var(--ink);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  transition: background 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.page-home .metric--cyan {
  border-left-color: var(--cyan);
}

.page-home .metric--orange {
  border-left-color: var(--orange);
}

.page-home .metric:hover {
  background: #123029;
  transform: translateY(-3px);
}

.page-home .metric__tag {
  display: inline-block;
}

.page-home .metric__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 18px 0 0;
}

.page-home .metric__q {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cyan);
}

.page-home .metric--orange .metric__q {
  color: var(--orange);
}

.page-home .metric__body {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rule);
}

.page-home .metric__more {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .metric:hover .metric__more {
  color: var(--cyan);
}

.page-home .metric--orange:hover .metric__more {
  color: var(--orange);
}

.page-home .metrics__figure {
  margin: clamp(34px, 5vw, 60px) 0 0;
  border: 1px solid var(--line);
  background: var(--card);
}

.page-home .metrics__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: saturate(0.45) brightness(0.66);
}

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

  .page-home .metrics__grid > :nth-child(2) {
    margin-top: 28px;
  }
}

/* ---------- 03 比赛日更新 ---------- */
.page-home .desk__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.page-home .desk__filter .filter__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--cyan);
}

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

.page-home .desk__item[hidden] {
  display: none;
}

.page-home .desk__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding: 20px 0 20px 44px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-home .desk__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--line);
  transition: width 0.2s ease, background 0.2s ease;
}

.page-home .desk__link:hover {
  color: var(--white);
  padding-left: 52px;
}

.page-home .desk__link:hover::before {
  width: 32px;
  background: var(--cyan);
}

.page-home .desk__title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  line-height: 1.6;
}

.page-home .desk__meta {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-home .desk__more {
  margin: 30px 0 0;
}

/* ---------- 04 联赛索引 ---------- */
.page-home .leagues__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .league {
  background: var(--bg);
  padding: 16px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--rule);
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .league::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--line);
  transition: background 0.2s ease;
}

.page-home .league:hover {
  background: var(--card);
  color: var(--white);
}

.page-home .league:hover::before {
  background: var(--cyan);
}

.page-home .leagues__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.page-home .leagues__foot p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 05 前瞻阅读动线 ---------- */
.page-home .flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.page-home .flow__figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--card);
}

.page-home .flow__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.48) brightness(0.7);
}

.page-home .flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

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

.page-home .flow__clausehead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

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

.page-home .flow__clausehead::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-home .flow__clause[open] .flow__clausehead::after {
  content: "−";
}

.page-home .flow__clausehead:hover {
  background: rgba(47, 230, 200, 0.05);
}

.page-home .flow__clausetitle {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.005em;
}

.page-home .flow__clause .clause__body {
  margin: 0;
  padding: 0 4px 22px 46px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rule);
  max-width: 50ch;
}

@media (min-width: 900px) {
  .page-home .flow__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 56px;
    align-items: start;
  }
}

/* ---------- 06 更新节奏 ---------- */
.page-home .rhythm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-home .rhythm__item {
  background: var(--bg);
  padding: 30px 26px 34px;
}

.page-home .rhythm__no {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.page-home .rhythm__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin: 22px 0 0;
}

.page-home .rhythm__item p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rule);
  max-width: 40ch;
}

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

/* ---------- 07 为什么选择我们 ---------- */
.page-home .why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

.page-home .why__lead {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.9;
  color: var(--ink);
  max-width: 52ch;
}

.page-home .why__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.page-home .why__list li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.8;
  color: var(--rule);
}

.page-home .why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 2px;
  background: var(--cyan);
}

.page-home .why__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-home .why__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  align-self: start;
}

.page-home .why__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-2);
  padding: 22px 20px 26px;
}

.page-home .why__stats .stat__key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .why__stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.page-home .why__stats .stat__value--cyan {
  color: var(--cyan);
}

.page-home .why__stats .stat__value--orange {
  color: var(--orange);
}

@media (min-width: 940px) {
  .page-home .why__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .metric,
  .page-home .desk__link,
  .page-home .league,
  .page-home .axis__sum {
    transition: none;
  }

  .page-home .metric:hover {
    transform: none;
  }
}
