.page-home {
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0;
}

.page-home p { margin: 0; }

.page-home .num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--lime);
}

/* ---------- 首屏框景 ---------- */

.page-home .hero-frame {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 88% at 86% 8%, rgba(31, 91, 255, 0.24), transparent 62%),
    radial-gradient(80% 60% at 8% 96%, rgba(255, 106, 24, 0.12), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 78%);
  padding-inline: var(--pad);
  padding-block: clamp(44px, 6vw, 78px) clamp(30px, 4vw, 54px);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  left: clamp(10px, 1.6vw, 20px);
  right: clamp(10px, 1.6vw, 20px);
  top: clamp(10px, 1.6vw, 20px);
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(127, 164, 255, 0.5) 0 1px,
    transparent 1px 26px
  );
  pointer-events: none;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.6vw, 20px);
  border: 1px solid var(--rule);
  pointer-events: none;
}

.page-home .hero-frame__inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  z-index: 1;
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 50px);
}

.page-home .hero-copy .crumb {
  margin-bottom: 16px;
}

.page-home .hero-copy h1 {
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin-bottom: 18px;
}

.page-home .hero-lede {
  max-width: 30em;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--fog);
  margin-bottom: 26px;
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .sync-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fog);
}

.page-home .sync-line__state {
  padding: 2px 9px;
  border: 1px solid rgba(200, 255, 60, 0.45);
  color: var(--lime);
  letter-spacing: 0.06em;
}

.page-home .sync-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 255, 60, 0.6);
  animation: ph-breath 3s ease-in-out infinite;
}

@keyframes ph-breath {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 255, 60, 0.55);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgba(200, 255, 60, 0);
    opacity: 0.62;
  }
}

.page-home .hero-figure {
  margin: 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(30px, 4vw, 50px) 0 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-home .hero-meta > div {
  background: var(--ink);
  padding: 15px 18px;
}

.page-home .hero-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue-mist);
  margin-bottom: 6px;
}

.page-home .hero-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

/* ---------- 通用章节 ---------- */

.page-home .sec {
  padding-block: clamp(52px, 8vw, 108px);
  border-top: 1px solid var(--rule);
}

.page-home .sec > .shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.page-home .section-head {
  max-width: 40em;
}

.page-home .section-head h2 {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  margin: 8px 0 14px;
}

.page-home .section-head p {
  font-size: 16px;
  color: var(--fog);
  line-height: 1.85;
}

.page-home .sec-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 3.6vw, 42px);
}

.page-home .sec-foot__note {
  font-size: 14px;
  color: var(--blue-mist);
}

/* ---------- 01 主客场 ---------- */

.page-home .sec--hostaway {
  background: var(--ink-2);
}

.page-home .ha-layout {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .ha-figure {
  margin: 0;
}

.page-home .ha-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-home .ha-fields li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}

.page-home .ha-fields li:last-child {
  border-bottom: 1px solid var(--rule);
}

.page-home .ha-fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 9px;
  height: 2px;
  background: var(--lime);
}

.page-home .ha-fields strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
}

.page-home .ha-fields span {
  display: block;
  color: var(--fog);
  line-height: 1.7;
}

/* ---------- 02 射门 ---------- */

.page-home .sec--shots {
  background: var(--ink);
}

.page-home .shots-layout {
  display: grid;
  gap: clamp(26px, 3.6vw, 46px);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .shots-cards {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-home .shot-card {
  position: relative;
  background: var(--ink-2);
  padding: 20px 20px 28px;
  transition: background var(--dur) var(--ease);
}

.page-home .shot-card:hover,
.page-home .shot-card:focus-within {
  background: var(--indigo);
}

.page-home .shot-card__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-mist);
  margin-bottom: 8px;
}

.page-home .shot-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .shot-card p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--fog);
}

.page-home .shot-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}

.page-home .shot-card:hover::after,
.page-home .shot-card:focus-within::after {
  transform: scaleX(1);
}

.page-home .shots-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .shots-figure {
  margin: 0;
}

.page-home .shots-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .heat-panel {
  border: 1px solid var(--rule);
  padding: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.page-home .heat-panel__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-mist);
  justify-self: start;
}

.page-home .heat-panel__ring {
  width: min(220px, 78%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    var(--blue) 0 26%,
    var(--lime) 26% 48%,
    var(--orange) 48% 74%,
    var(--indigo) 74% 100%
  );
  opacity: 0.82;
  mask: radial-gradient(circle, transparent 34%, #000 35%);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 35%);
}

/* ---------- 03 三步查排名 ---------- */

.page-home .sec--rank {
  background: var(--ink-2);
}

.page-home .steps {
  position: relative;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .steps__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  appearance: none;
  pointer-events: none;
}

.page-home .steps__tabs {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-home .steps__tab {
  display: block;
  padding: 18px 18px 20px;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .steps__tab:hover {
  background: var(--indigo);
  color: var(--white);
}

.page-home .steps__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-mist);
  margin-bottom: 6px;
}

.page-home #ph-step-1:checked ~ .steps__tabs .steps__tab:nth-child(1),
.page-home #ph-step-2:checked ~ .steps__tabs .steps__tab:nth-child(2),
.page-home #ph-step-3:checked ~ .steps__tabs .steps__tab:nth-child(3) {
  background: var(--blue);
  color: var(--white);
}

.page-home #ph-step-1:checked ~ .steps__tabs .steps__tab:nth-child(1) .steps__num,
.page-home #ph-step-2:checked ~ .steps__tabs .steps__tab:nth-child(2) .steps__num,
.page-home #ph-step-3:checked ~ .steps__tabs .steps__tab:nth-child(3) .steps__num {
  color: var(--lime);
}

.page-home .steps__input:focus-visible ~ .steps__tabs .steps__tab {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.page-home .steps__panels {
  margin-top: 22px;
}

.page-home .steps__panel {
  display: block;
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 20px;
}

.page-home .steps__input:checked ~ .steps__panels .steps__panel {
  display: none;
}

.page-home #ph-step-1:checked ~ .steps__panels .steps__panel:nth-child(1),
.page-home #ph-step-2:checked ~ .steps__panels .steps__panel:nth-child(2),
.page-home #ph-step-3:checked ~ .steps__panels .steps__panel:nth-child(3) {
  display: block;
}

.page-home .steps__panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .steps__panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog);
  max-width: 42em;
}

/* ---------- 04 第二栏 ---------- */

.page-home .sec--nav2 {
  background: var(--ink);
}

.page-home .nav2-grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .nav2-card {
  position: relative;
  border: 1px solid var(--rule);
  padding: clamp(22px, 3vw, 34px);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .nav2-card--records {
  background: var(--indigo);
}

.page-home .nav2-card--help {
  background: var(--ink-2);
}

.page-home .nav2-card:hover {
  border-color: var(--blue-mist);
  transform: translateY(-3px);
}

.page-home .nav2-card__slot {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 12px;
}

.page-home .nav2-card h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-home .nav2-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog);
  margin-bottom: 18px;
}

.page-home .nav2-card__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .nav2-card__link:hover,
.page-home .nav2-card__link:focus-visible {
  color: var(--white);
  border-bottom-color: var(--orange);
}

/* ---------- 05 订阅 ---------- */

.page-home .sec--subscribe {
  background: var(--ink-2);
}

.page-home .sub-list {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-home .sub-item {
  background: var(--ink);
  padding: 22px 20px 24px;
  transition: background var(--dur) var(--ease);
}

.page-home .sub-item:hover {
  background: var(--indigo);
}

.page-home .sub-item__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue-mist);
  margin-bottom: 8px;
}

.page-home .sub-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-home .sub-item p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--fog);
}

/* ---------- 收束通栏 ---------- */

.page-home .closing-band {
  position: relative;
  border-top: 1px solid var(--rule);
  background: var(--ink);
}

.page-home .closing-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.page-home .closing-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.86;
}

.page-home .closing-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.2) 0%, rgba(11, 14, 19, 0.94) 88%);
}

.page-home .closing-copy {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: clamp(28px, 4vw, 52px) clamp(58px, 8vw, 104px);
  margin-top: clamp(-120px, -12vw, -60px);
  z-index: 1;
}

.page-home .closing-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin-bottom: 14px;
}

.page-home .closing-copy h2 {
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.16;
  margin-bottom: 16px;
  max-width: 20em;
}

.page-home .closing-copy > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fog);
  max-width: 34em;
  margin-bottom: 26px;
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

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

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

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

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

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

  .page-home .ha-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .ha-figure {
    margin-top: 34px;
  }

  .page-home .shots-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    align-items: start;
  }

  .page-home .shots-aside {
    margin-top: 28px;
  }

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

  .page-home .nav2-card:nth-child(2) {
    margin-top: 30px;
  }

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

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

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

  .page-home .shot-card::after,
  .page-home .nav2-card,
  .page-home .shot-card,
  .page-home .sub-item {
    transition: none;
  }
}
