.page-home {
  --home-gap: clamp(14px, 2.4vw, 22px);
  --home-radius: 22px;
  --home-line-soft: rgba(233, 239, 248, 0.08);
  --home-card-top: rgba(22, 34, 58, 0.88);
  --home-card-bottom: rgba(13, 21, 38, 0.76);
  display: block;
  background:
    radial-gradient(1100px 620px at 84% -6%, rgba(63, 227, 206, 0.10), transparent 62%),
    radial-gradient(760px 520px at 2% 22%, rgba(255, 143, 60, 0.06), transparent 60%),
    var(--ink-900);
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

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

.page-home .wrap {
  padding-left: clamp(18px, 4vw, 32px);
  padding-right: clamp(18px, 4vw, 32px);
}

.page-home .section {
  padding-top: clamp(56px, 8vw, 104px);
}

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

.page-home .home-hero {
  position: relative;
  padding: clamp(34px, 6vw, 76px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 48px);
  align-items: stretch;
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .home-hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--home-line-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-home .home-hero__fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .home-hero__fact .kpi {
  color: var(--cyan);
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.1;
}

.page-home .home-hero__fact-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .home-hero__visual {
  position: relative;
  margin: 0;
  min-height: 280px;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 66%);
  box-shadow: var(--shadow);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.52;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.18) 0%, rgba(7, 12, 22, 0.62) 58%, rgba(7, 12, 22, 0.94) 100%),
    repeating-linear-gradient(90deg, rgba(63, 227, 206, 0.09) 0 2px, transparent 2px 28px);
}

.page-home .home-hero__chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 62%;
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero__caption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

/* ---------- 编号章节 ---------- */

.page-home .home-rhythm,
.page-home .home-columns,
.page-home .home-small,
.page-home .home-keep {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-home .home-rhythm .chapter__index,
.page-home .home-columns .chapter__index {
  color: var(--cyan);
}

/* ---------- 时间轴 ---------- */

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
  display: grid;
  gap: 26px;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(63, 227, 206, 0.14) 100%);
}

.page-home .home-timeline__item {
  position: relative;
  min-width: 0;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--cyan);
  box-sizing: border-box;
}

.page-home .home-timeline__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan-deep);
}

.page-home .home-timeline__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.4;
  color: var(--text);
}

.page-home .home-timeline__text {
  margin: 10px 0 0;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 战报卡片流 ---------- */

.page-home .home-reports__lead {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-reports .filter-bar {
  margin-top: 26px;
}

.page-home .home-reports .filter-meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-home .home-reports__flow {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-match {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: var(--r-md);
  border: 1px solid var(--home-line-soft);
  background: linear-gradient(155deg, var(--home-card-top), var(--home-card-bottom));
  overflow: hidden;
  transition: transform 0.12s var(--ease), border-color 0.12s var(--ease), background 0.12s var(--ease);
}

.page-home .home-match::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.12s var(--ease);
}

.page-home .home-match:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.page-home .home-match:hover::before {
  opacity: 1;
}

.page-home .home-match__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-match__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.5;
  color: var(--text);
}

.page-home .home-match__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--home-line-soft);
}

.page-home .home-match__score {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.6vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .home-match__dash {
  margin: 0 4px;
  color: var(--cyan-deep);
}

.page-home .home-match__meta {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-reports__more {
  margin-top: 26px;
}

/* ---------- 专栏 ---------- */

.page-home .home-columns__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-columns__media {
  margin: 0;
}

.page-home .home-columns__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.page-home .home-columns__item {
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .home-columns__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .home-columns__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.5;
  color: var(--text);
}

.page-home .home-columns__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-columns__more {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 227, 206, 0.34);
  padding-bottom: 2px;
}

.page-home .home-columns__more:hover {
  color: var(--amber-soft);
  border-bottom-color: rgba(255, 192, 138, 0.5);
}

/* ---------- 小屏 ---------- */

.page-home .home-small__media {
  margin: 0 0 22px;
}

.page-home .home-small__text {
  margin: 0;
  max-width: 46em;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-small__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .home-small__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(233, 239, 248, 0.05);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.12s var(--ease), background 0.12s var(--ease), color 0.12s var(--ease);
}

.page-home .home-small__chip:hover {
  border-color: var(--line-strong);
  background: rgba(63, 227, 206, 0.10);
  color: var(--cyan);
}

.page-home .home-small__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ---------- 收藏 / 加载 / 反馈 ---------- */

.page-home .home-keep__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-keep__cell {
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid var(--home-line-soft);
  background: var(--ink-800);
}

.page-home .home-keep__cell--accent {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(63, 227, 206, 0.10), rgba(13, 21, 38, 0.9));
}

.page-home .home-keep__key {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
}

.page-home .home-keep__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.5;
  color: var(--text);
}

.page-home .home-keep__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 底部信任条 ---------- */

.page-home .home-trust {
  position: relative;
  margin-top: clamp(50px, 7vw, 96px);
  padding: clamp(44px, 7vw, 84px) 0;
  overflow: hidden;
  border-top: 1px solid var(--home-line-soft);
}

.page-home .home-trust__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.7);
}

.page-home .home-trust::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.92) 0%, rgba(7, 12, 22, 0.70) 45%, rgba(7, 12, 22, 0.96) 100%),
    radial-gradient(700px 300px at 18% 50%, rgba(63, 227, 206, 0.16), transparent 70%);
}

.page-home .home-trust__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-trust__line {
  margin: 0;
  max-width: 30em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 3vw, 28px);
  line-height: 1.6;
  color: var(--text);
}

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

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

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

@media (min-width: 780px) {
  .page-home .home-columns__split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

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

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(36px, 5vw, 64px);
  }

  .page-home .home-hero__visual {
    min-height: 520px;
  }

  .page-home .home-hero__caption {
    left: 24px;
    bottom: 20px;
  }

  .page-home .home-timeline {
    padding-left: 30px;
    gap: 30px;
  }

  .page-home .home-timeline__item::before {
    left: -30px;
  }
}

@media (max-width: 460px) {
  .page-home .home-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-hero__fact:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-match,
  .page-home .home-match::before,
  .page-home .home-small__chip {
    transition: none;
  }

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