.page-home {
  --home-cut: clamp(24px, 5vw, 64px);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.page-home [id] {
  scroll-margin-top: 88px;
}

.page-home .section {
  padding: clamp(40px, 7vw, 88px) 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(20px, 4vw, 44px) 0 clamp(56px, 9vw, 110px);
  background:
    radial-gradient(110% 75% at 88% 4%, rgba(184, 255, 61, 0.17), transparent 62%),
    radial-gradient(85% 65% at 2% 96%, rgba(255, 106, 42, 0.15), transparent 64%),
    linear-gradient(158deg, #0B3A2E 0%, var(--jade) 44%, var(--coal) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), 0 100%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 12%;
  width: clamp(160px, 26vw, 340px);
  height: clamp(160px, 26vw, 340px);
  border: 2px solid rgba(184, 255, 61, 0.28);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-home .crumbs {
  margin: 0 0 clamp(20px, 3vw, 34px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 7.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--fog);
}

.page-home .hero-title em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--lime);
}

.page-home .hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transform: skewX(-12deg);
}

.page-home .home-hero .lede {
  margin: clamp(16px, 2.5vw, 24px) 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.12rem);
  line-height: 1.78;
  color: #C6D8CE;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .hero-actions .btn {
  border: 2px solid transparent;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.page-home .hero-actions .btn:hover,
.page-home .hero-actions .btn:focus-visible {
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(184, 255, 61, 0.16), var(--shadow-soft);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-stats li {
  padding-left: 12px;
  border-left: 2px solid var(--edge);
}

.page-home .hero-stats .num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--steel);
}

.page-home .hero-visual {
  position: relative;
}

.page-home .media-frame {
  border: 3px solid var(--edge);
  background: #0B241E;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-badge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 310px;
  margin: -22px 0 0 clamp(0px, 2vw, 18px);
  padding: 12px 16px;
  border: 2px solid var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.4deg);
}

.page-home .hero-badge p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #C6D8CE;
}

/* ---------- 通用标题组 ---------- */
.page-home .home-head {
  max-width: 62ch;
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.page-home .eyebrow .num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--lime);
  font-size: 0.7rem;
  letter-spacing: 0;
  color: var(--lime);
}

.page-home .h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fog);
}

.page-home .h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--fog);
}

.page-home .body-text {
  margin: 0 0 12px;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(244, 247, 242, 0.76);
}

/* ---------- 状态胶囊 ---------- */
.page-home .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(184, 255, 61, 0.18);
  animation: home-pulse 2.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

/* ---------- 回看入口 ---------- */
.page-home .lookback-grid {
  margin-top: clamp(24px, 4vw, 40px);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.page-home .look-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .look-list li {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 2px solid var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.page-home .look-key {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .look-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(244, 247, 242, 0.8);
}

.page-home .state-board {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .state-card {
  position: relative;
  padding: 20px 18px 18px;
  border: 2px solid var(--edge);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-home .state-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--steel);
}

.page-home .state-card--scheduled::before { background: var(--steel); }
.page-home .state-card--live::before { background: var(--orange); }
.page-home .state-card--done::before { background: var(--lime); }
.page-home .state-card--review::before { background: var(--sand); }

.page-home .state-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .state-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--fog);
}

.page-home .state-idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-home .state-card p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(244, 247, 242, 0.7);
}

/* ---------- 周末两场 ---------- */
.page-home .weekend-top {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
}

.page-home .weekend-shot {
  box-shadow: var(--shadow-hard);
}

.page-home .weekend-pair {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 38px);
}

.page-home .match-card {
  padding: clamp(20px, 3vw, 28px);
  border: 3px solid var(--edge);
  background: linear-gradient(165deg, #14453A 0%, var(--panel) 55%, #0B241E 100%);
  box-shadow: var(--shadow-hard);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .match-card--alt {
  background: linear-gradient(165deg, #2C2A1C 0%, #1B3A2F 60%, #0B241E 100%);
}

.page-home .match-no {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--sand);
}

.page-home .match-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fog);
}

.page-home .match-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(244, 247, 242, 0.74);
}

/* ---------- 订阅刷新 ---------- */
.page-home .sub-grid {
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-home .sub-list {
  display: grid;
  gap: 12px;
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .sub-list li {
  padding-left: 14px;
  border-left: 2px solid var(--edge);
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(244, 247, 242, 0.78);
}

.page-home .sub-key {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-home .sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

/* ---------- 反馈 ---------- */
.page-home .support-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.page-home .steps li {
  position: relative;
  padding: 16px 18px 16px 60px;
  border: 2px solid var(--edge);
  background: var(--panel);
  counter-increment: step;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(244, 247, 242, 0.78);
}

.page-home .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
}

.page-home .feedback-types {
  padding: clamp(18px, 3vw, 26px);
  border: 2px solid var(--edge);
  background: linear-gradient(158deg, #134035 0%, #0B241E 100%);
  box-shadow: var(--shadow-soft);
}

.page-home .feedback-types ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .feedback-types li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(143, 166, 178, 0.28);
  font-size: 0.89rem;
  line-height: 1.68;
  color: rgba(244, 247, 242, 0.78);
}

.page-home .feedback-types li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .feedback-types .dot {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: rotate(45deg) translateY(-1px);
}

.page-home .support-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: clamp(18px, 3vw, 24px);
  border-top: 2px solid var(--edge);
}

.page-home .support-cta p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 内容地图 ---------- */
.page-home .map-list {
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--edge);
}

.page-home .map-item {
  border-bottom: 2px solid var(--edge);
}

.page-home .map-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 6px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.page-home .map-link:hover,
.page-home .map-link:focus-visible {
  background: rgba(184, 255, 61, 0.08);
  padding-left: 14px;
}

.page-home .map-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.page-home .map-idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.page-home .map-body {
  min-width: 0;
}

.page-home .map-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--fog);
}

.page-home .map-desc {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(244, 247, 242, 0.6);
}

.page-home .map-arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--steel);
  transition: transform 0.18s ease, color 0.18s ease;
}

.page-home .map-link:hover .map-arrow,
.page-home .map-link:focus-visible .map-arrow {
  color: var(--lime);
  transform: translateX(4px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 899px) {
  .page-home .lookback-grid,
  .page-home .sub-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .sub-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-home .media-frame,
  .page-home .match-card,
  .page-home .look-list li,
  .page-home .state-card,
  .page-home .feedback-types {
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.55);
  }

  .page-home .hero-badge {
    transform: rotate(0.8deg);
  }

  .page-home .hero-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

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

  .page-home .hero-stats .num {
    font-size: 1.15rem;
  }

  .page-home .stat-label {
    margin-top: 0;
  }

  .page-home .home-hero::after {
    display: none;
  }

  .page-home .steps li {
    padding: 16px 16px 16px 52px;
  }
}

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .weekend-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .support-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .map-link {
    padding: 22px 6px;
  }
}

@media (min-width: 1024px) {
  .page-home .state-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .status-dot {
    animation: none;
  }

  .page-home .hero-actions .btn,
  .page-home .map-link,
  .page-home .map-arrow {
    transition: none;
  }

  .page-home .hero-actions .btn:hover,
  .page-home .map-link:hover {
    transform: none;
  }

  .page-home .map-link:hover .map-arrow {
    transform: none;
  }
}
