.page-home {
  --home-line: rgba(0, 224, 184, 0.18);
  --home-line-soft: rgba(207, 233, 223, 0.13);
  --home-cut: 22px;
  --home-ink: #0B1F18;
  --home-deep: #07201A;
}

/* ---------- 公共标题 ---------- */
.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(25px, 4.2vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--paper);
}

.page-home .section--paper .section-title {
  color: var(--home-ink);
}

.page-home .section--paper .lede {
  color: rgba(11, 31, 24, 0.74);
}

.page-home .section--paper .kicker {
  color: rgba(11, 31, 24, 0.55);
}

.page-home a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px) 0 clamp(46px, 7vw, 96px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 224, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 184, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

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

.page-home .hero__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 34px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.page-home .hero__crumbs a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.page-home .hero__crumbs a:hover {
  border-bottom-color: var(--neon);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-home .hero__title {
  margin: 0 0 clamp(16px, 2.2vw, 24px);
  font-size: clamp(36px, 7.4vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 900;
  color: var(--paper);
}

.page-home .hero__lede {
  max-width: 30em;
  margin-bottom: clamp(20px, 2.6vw, 28px);
}

.page-home .hero__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.page-home .hero__steps i {
  font-style: normal;
  color: var(--orange);
}

.page-home .hero__step {
  padding: 6px 12px;
  border: 1px solid var(--home-line);
  color: var(--neon-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

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

.page-home .hero__card-wrap {
  filter: drop-shadow(0 26px 52px rgba(4, 16, 12, 0.55));
}

.page-home .hero__card {
  position: relative;
  padding-bottom: 6px;
  background: linear-gradient(165deg, var(--panel) 0%, var(--home-deep) 54%, var(--teal) 100%);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .hero__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--home-deep);
}

.page-home .hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.5;
  filter: saturate(0.65) contrast(1.08);
}

.page-home .hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 24, 0.12) 0%, rgba(7, 20, 16, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(0, 224, 184, 0.14) 0 1px, transparent 1px 48px);
}

.page-home .hero__panel {
  position: relative;
  margin: -32px 14px 0;
  padding: 18px 18px 20px;
  background: rgba(7, 20, 16, 0.9);
  border: 1px solid var(--home-line);
}

.page-home .hero__tag {
  display: inline-block;
  margin-bottom: 12px;
}

.page-home .hero__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .hero__score b {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hero__score i {
  font-style: normal;
  font-size: 20px;
  color: var(--orange);
}

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

.page-home .hero__rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(207, 233, 223, 0.1);
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .hero__rows b {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--neon);
}

/* ---------- 章节索引 ---------- */
.page-home .chapters {
  position: relative;
  padding: 0 0 clamp(52px, 7vw, 96px);
}

.page-home .chapters::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 0 clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg, transparent 0%, var(--neon) 28%, rgba(0, 224, 184, 0.04) 100%);
}

.page-home .chapters__banner {
  position: relative;
  margin: 0 0 clamp(20px, 3.4vw, 36px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(0 var(--home-cut), 100% 0, 100% calc(100% - var(--home-cut)), 0 100%);
}

.page-home .chapters__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(0.7);
}

.page-home .chapters__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 24, 0.94) 0%, rgba(11, 31, 24, 0.28) 58%, rgba(11, 31, 24, 0.86) 100%);
}

.page-home .chapters__label {
  position: absolute;
  left: clamp(18px, 4vw, 40px);
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(18px, 4vw, 36px);
  z-index: 1;
}

.page-home .chapters__label .section-title {
  margin-bottom: 0;
}

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

.page-home .chapter {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-areas:
    "no title arrow"
    "no desc arrow";
  align-items: center;
  gap: 4px 14px;
  padding: 16px 4px 16px 14px;
  border-bottom: 1px solid var(--home-line-soft);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.page-home .chapter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--neon);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.2s ease;
}

.page-home .chapter:hover::before,
.page-home .chapter:focus-visible::before {
  transform: scaleY(1);
}

.page-home .chapter:hover {
  background: rgba(0, 224, 184, 0.05);
}

.page-home .chapter__no {
  grid-area: no;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon);
}

.page-home .chapter__title {
  grid-area: title;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1.4;
}

.page-home .chapter__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}

.page-home .chapter__arrow {
  grid-area: arrow;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}

.page-home .chapter:hover .chapter__arrow {
  transform: translateX(4px);
  color: var(--orange);
}

/* ---------- 入口差异 ---------- */
.page-home .entry__lede {
  max-width: 34em;
}

.page-home .entry__grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  margin-top: clamp(24px, 3.5vw, 40px);
}

.page-home .entry__media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .entry__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.7) contrast(1.06);
}

.page-home .entry__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-soft);
  background: rgba(7, 20, 16, 0.76);
  border-left: 2px solid var(--neon);
}

.page-home .entry__card {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--panel);
  border: 1px solid var(--home-line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.page-home .entry__card--accent {
  background: linear-gradient(160deg, var(--panel) 0%, rgba(7, 32, 26, 0.92) 100%);
}

.page-home .entry__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.page-home .entry__card h3 {
  margin: 8px 0 10px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.32;
  font-weight: 800;
  color: var(--paper);
}

.page-home .entry__card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .entry__kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--home-line-soft);
}

.page-home .entry__kpi b {
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
  color: var(--orange);
}

.page-home .entry__kpi span {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- 复盘数据卡 ---------- */
.page-home .match__grid {
  display: grid;
  gap: clamp(26px, 3.6vw, 44px);
}

.page-home .match__lede {
  max-width: 34em;
}

.page-home .field-table {
  width: 100%;
  margin-top: clamp(18px, 2.6vw, 26px);
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.page-home .field-table__cap {
  text-align: left;
  padding: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(11, 31, 24, 0.5);
}

.page-home .field-table th,
.page-home .field-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(11, 31, 24, 0.12);
  vertical-align: top;
}

.page-home .field-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(11, 31, 24, 0.5);
  border-bottom: 1px solid rgba(11, 31, 24, 0.26);
}

.page-home .field-table tbody th {
  font-weight: 700;
  color: var(--home-ink);
  white-space: nowrap;
}

.page-home .field-table tbody td {
  color: rgba(11, 31, 24, 0.7);
  line-height: 1.6;
}

.page-home .field-table tbody tr:hover > * {
  background: rgba(0, 168, 132, 0.09);
}

.page-home .field-table tbody tr:hover th {
  color: #0B7F65;
}

.page-home .match__note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--orange);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(11, 31, 24, 0.6);
}

.page-home .match__aside img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  background: var(--home-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .match__caption {
  margin: 12px auto 0;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(11, 31, 24, 0.6);
}

/* ---------- 反馈与节奏 ---------- */
.page-home .feedback__head {
  display: grid;
  gap: clamp(14px, 2.2vw, 26px);
}

.page-home .feedback__lede {
  max-width: 34em;
}

.page-home .feedback__stats {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  background: var(--home-line-soft);
  border-top: 1px solid var(--home-line-soft);
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .feedback__stats .stat {
  background: var(--panel);
  padding: clamp(18px, 2.6vw, 26px);
}

.page-home .feedback__stats .stat__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  font-weight: 700;
  color: var(--neon);
}

.page-home .feedback__stats .stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}

.page-home .feedback__list {
  list-style: none;
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  margin: clamp(22px, 3.4vw, 38px) 0 0;
  padding: 0;
}

.page-home .feedback__list li {
  padding: 18px 18px 18px 20px;
  border-left: 2px solid var(--neon);
  background: linear-gradient(160deg, rgba(18, 54, 42, 0.92) 0%, rgba(11, 31, 24, 0.35) 100%);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .feedback__list li:hover {
  transform: translateY(-2px);
  border-left-color: var(--orange);
}

.page-home .feedback__said {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--paper);
}

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

/* ---------- 结尾行动 ---------- */
.page-home .cta__inner {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--home-line);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(0, 224, 184, 0.16) 0%, transparent 62%),
    linear-gradient(150deg, var(--panel) 0%, var(--home-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .cta__lede {
  max-width: 34em;
  margin-bottom: 0;
}

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

/* ---------- 媒体查询 ---------- */
@media (min-width: 620px) {
  .page-home .feedback__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-home .entry__media {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .page-home .chapter {
    grid-template-columns: 56px minmax(0, 190px) minmax(0, 1fr) auto;
    grid-template-areas: "no title desc arrow";
    align-items: center;
    gap: 0 18px;
    padding: 18px 6px 18px 16px;
  }
}

@media (min-width: 760px) {
  .page-home .chapters__banner {
    aspect-ratio: 16 / 6;
  }

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

@media (min-width: 820px) {
  .page-home .cta__inner {
    grid-template-columns: minmax(0, 1.55fr) auto;
    align-items: center;
  }

  .page-home .feedback__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(24px, 5vw, 64px);
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
  }

  .page-home .match__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 62px);
  }

  .page-home .match__aside img,
  .page-home .match__caption {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-home .match__caption {
    margin-top: 14px;
  }
}

@media (min-width: 1040px) {
  .page-home .entry__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .entry__media {
    grid-column: auto;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .chapter::before,
  .page-home .chapter__arrow,
  .page-home .entry__card,
  .page-home .feedback__list li {
    transition: none;
  }

  .page-home .chapter:hover .chapter__arrow,
  .page-home .entry__card:hover,
  .page-home .feedback__list li:hover {
    transform: none;
  }
}
