/* ============================================================
   page-home · 首页专属样式
   选择器全部限定在 .page-home 作用域内
   ============================================================ */

.page-home {
  --hp-block: clamp(46px, 7vw, 96px);
  --hp-tight: clamp(24px, 3.4vw, 44px);
  display: block;
}

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

.page-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.page-home .hero__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(13px, 1.8vw, 20px);
  padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(32px, 5vw, 58px);
  background:
    linear-gradient(158deg, rgba(47, 243, 210, 0.075), transparent 54%),
    var(--ink);
}

.page-home .hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 6.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-home .hero__lead {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--paper);
}

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

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .hero__stats > div {
  padding: 12px 14px 14px;
  background: var(--panel-deep);
}

.page-home .hero__stats dt {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .hero__stats dd {
  margin: 7px 0 0;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-home .hero__visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 76% 16%, rgba(47, 243, 210, 0.16), transparent 60%),
    var(--panel-deep);
}

.page-home .hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(6, 26, 22, 0.88) 0%, rgba(6, 26, 22, 0.16) 44%, rgba(6, 26, 22, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(47, 243, 210, 0.09) 0 1px, transparent 1px 72px);
}

.page-home .hero__panel {
  position: absolute;
  left: clamp(16px, 3.4vw, 40px);
  right: clamp(16px, 3.4vw, 40px);
  bottom: clamp(16px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 22px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(47, 243, 210, 0.38);
  background: rgba(6, 26, 22, 0.84);
}

.page-home .hero__panel-k {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.page-home .hero__panel-num {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .hero__panel-u {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .hero__panel-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
}

.page-home .hero__panel-bars i {
  display: block;
  flex: 1 1 0;
  min-height: 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 243, 210, 0.12));
}

.page-home .hero__panel-bars i:nth-child(1) { height: 34%; }
.page-home .hero__panel-bars i:nth-child(2) { height: 58%; }
.page-home .hero__panel-bars i:nth-child(3) { height: 44%; }
.page-home .hero__panel-bars i:nth-child(4) { height: 76%; }
.page-home .hero__panel-bars i:nth-child(5) { height: 62%; }
.page-home .hero__panel-bars i:nth-child(6) { height: 100%; background: linear-gradient(180deg, var(--amber), rgba(255, 138, 61, 0.16)); }

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

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

/* ---------- 横向主题带 ---------- */

.page-home .band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.page-home .band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.17;
}

.page-home .band__inner {
  position: relative;
  padding-top: var(--hp-block);
  padding-bottom: var(--hp-block);
}

.page-home .band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-home .band__head h2 {
  margin: 8px 0 0;
  max-width: 24ch;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .band__head p {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.page-home .band__item a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 128px;
  padding: 20px 20px 22px;
  border-top: 2px solid transparent;
  background: rgba(8, 33, 28, 0.86);
  color: inherit;
  text-decoration: none;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .band__item a:hover {
  background: rgba(11, 43, 36, 0.96);
  border-top-color: var(--cyan);
}

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

.page-home .band__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

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

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

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

/* ---------- 快速查询路径 ---------- */

.page-home .quick {
  padding: var(--hp-block) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .quick__head {
  max-width: 66ch;
}

.page-home .quick__head h2 {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .quick__lead {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .steps {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 26px;
  background: var(--panel-deep);
}

.page-home .step__no {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .step h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.page-home .step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .quick__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.page-home .quick__compare-col {
  padding: 20px;
  background: rgba(8, 33, 28, 0.9);
}

.page-home .quick__compare-col--new {
  background: rgba(11, 43, 36, 0.95);
}

.page-home .quick__compare-num {
  margin: 10px 0 4px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.page-home .quick__compare-col--new .quick__compare-num {
  color: var(--amber);
}

.page-home .quick__compare-txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper);
}

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

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

/* ---------- 赛季时间轴与记录卡片流 ---------- */

.page-home .season {
  padding: var(--hp-block) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 43, 36, 0.55), rgba(6, 26, 22, 0) 42%),
    var(--ink);
}

.page-home .season__head h2 {
  margin: 8px 0 0;
  max-width: 26ch;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .season__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(26px, 4vw, 42px);
}

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

.page-home .tl__item {
  position: relative;
  padding: 0 0 26px 24px;
  border-left: 1px solid var(--line);
}

.page-home .tl__item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 5px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border: 1px solid var(--cyan);
}

.page-home .tl__item:last-child {
  padding-bottom: 0;
}

.page-home .tl__round {
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-home .tl__note {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .season__visual {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel-deep);
}

.page-home .season__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.86;
}

.page-home .season__visual figcaption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-home .season__records {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .rcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(11, 43, 36, 0.92), rgba(8, 33, 28, 0.92));
  transition: background 180ms var(--ease);
}

.page-home .rcard:hover {
  background: linear-gradient(180deg, rgba(14, 54, 45, 0.96), rgba(9, 36, 31, 0.96));
}

.page-home .rcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .rcard__no {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .rcard__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.page-home .rcard__metric strong {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  transform-origin: left center;
  transition: transform 180ms var(--ease);
}

.page-home .rcard:hover .rcard__metric strong {
  transform: scale(1.07);
}

.page-home .rcard__metric span {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-home .rcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 0;
}

.page-home .rcard__meta > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .rcard__meta dt {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .rcard__meta dd {
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--paper);
}

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

@media (min-width: 1080px) {
  .page-home .season__top {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
  }

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

/* ---------- 会员权益与场馆提示 ---------- */

.page-home .benefits {
  padding: var(--hp-block) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
}

.page-home .benefits__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel-deep);
  overflow: hidden;
}

.page-home .benefits__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(255, 138, 61, 0.16), transparent 55%),
    repeating-linear-gradient(0deg, rgba(47, 243, 210, 0.07) 0 1px, transparent 1px 56px);
}

.page-home .benefits__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.7;
}

.page-home .benefits__body h2 {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .benefits__body > p {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .benefits__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .benefits__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
}

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

@media (min-width: 900px) {
  .page-home .benefits__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------- 更新节奏 ---------- */

.page-home .cadence {
  padding: var(--hp-block) 0 var(--hp-tight);
}

.page-home .cadence__head {
  max-width: 62ch;
}

.page-home .cadence__head h2 {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .cadence__head p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.page-home .cadence__list {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .cadence__item {
  padding: 20px;
  background: var(--panel-deep);
}

.page-home .cadence__when {
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.page-home .cadence__what {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .cadence__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .cadence__trust {
  margin: 0;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.78;
  color: var(--muted);
}

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

/* ---------- 动效与可访问性 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .band__item a,
  .page-home .rcard,
  .page-home .rcard__metric strong {
    transition: none;
  }

  .page-home .rcard:hover .rcard__metric strong {
    transform: none;
  }
}
</main>
