.page-home {
  --home-pad: clamp(40px, 6vw, 92px);
  --home-tick: repeating-linear-gradient(to right, rgba(22, 240, 208, 0.42) 0 1px, transparent 1px 22px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(20px, 4vw, 52px) clamp(36px, 6vw, 84px);
  background:
    radial-gradient(115% 85% at 90% 4%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(85% 70% at 4% 98%, rgba(22, 240, 208, 0.1), transparent 62%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, rgba(155, 166, 184, 0.055) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.page-home .hero-window {
  position: relative;
  border: 1px solid var(--line-cyan);
  border-radius: var(--r-panel);
  background: linear-gradient(158deg, rgba(18, 28, 49, 0.94) 0%, rgba(7, 11, 20, 0.95) 62%);
  padding: clamp(22px, 3.2vw, 46px);
  box-shadow: 0 30px 80px -46px rgba(22, 240, 208, 0.4);
}

.page-home .hero-window__ticks {
  position: absolute;
  top: 0;
  left: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  height: 10px;
  background: var(--home-tick);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .hero-window__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-home .hero-copy__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hero-copy__lede {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--text-dim);
}

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

.page-home .hero-jump {
  list-style: none;
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.page-home .hero-jump a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .hero-jump a:hover,
.page-home .hero-jump a:focus-visible {
  border-color: var(--line-cyan);
  background-color: rgba(22, 240, 208, 0.08);
  color: var(--cyan);
}

.page-home .hero-jump .mono {
  font-size: 12px;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}

.page-home .hero-jump a:hover .mono,
.page-home .hero-jump a:focus-visible .mono {
  color: var(--cyan);
}

.page-home .hero-score {
  position: relative;
  text-align: right;
  isolation: isolate;
}

.page-home .hero-score__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  border-radius: var(--r-card);
  z-index: -1;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 80% at 70% 40%, #000 30%, transparent 100%);
}

.page-home .hero-score__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(104px, 19vw, 208px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--cyan);
  text-shadow: 0 0 48px rgba(22, 240, 208, 0.34);
  margin-right: clamp(-18px, -1.4vw, 0px);
}

.page-home .hero-score__cap {
  display: block;
  margin-top: 12px;
  color: var(--mist);
}

.page-home .hero-score__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}

.page-home .hero-score__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero-score__meta dd {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* ---------- 赛事覆盖 ---------- */
.page-home .home-events__head {
  max-width: 62ch;
}

.page-home .home-events__head .h2 {
  margin: 12px 0 0;
}

.page-home .home-events__head .body-text {
  margin-top: 14px;
}

.page-home .event-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
}

.page-home .event-chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background-color: rgba(14, 21, 38, 0.72);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}

.page-home .home-events__figure {
  position: relative;
  margin: clamp(24px, 3.4vw, 40px) 0 0;
}

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

.page-home .home-events__caption {
  display: block;
  margin-top: 12px;
  color: var(--mist);
}

/* ---------- 分隔刻度带 ---------- */
.page-home .home-divider {
  height: 1px;
  margin-inline: var(--gutter);
  background: repeating-linear-gradient(to right, var(--line) 0 2px, transparent 2px 10px);
}

/* ---------- 四个入口 ---------- */
.page-home .home-entries__head {
  max-width: 52ch;
}

.page-home .home-entries__head .h2 {
  margin: 12px 0 0;
}

.page-home .entries {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.page-home .entry {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 32px);
  padding-left: clamp(28px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(160deg, rgba(14, 21, 38, 0.94), rgba(7, 11, 20, 0.88));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-home .entry::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
}

.page-home .entry--cyan::after { background: var(--cyan); }
.page-home .entry--orange::after { background: var(--orange); }
.page-home .entry--violet::after { background: var(--violet); }
.page-home .entry--green::after { background: var(--green); }

.page-home .entry:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
}

.page-home .entry--orange:hover { border-color: var(--line-orange); }
.page-home .entry--violet:hover { border-color: var(--line-violet); }
.page-home .entry--green:hover { border-color: rgba(33, 208, 122, 0.5); }

.page-home .entry__no {
  display: block;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-home .entry__title {
  margin: 12px 0 0;
}

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

.page-home .entry__num {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.page-home .entry__unit {
  font-size: 13px;
  color: var(--mist);
}

.page-home .entry__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .entry__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-cyan);
  color: var(--cyan);
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  gap: 12px;
}

/* ---------- 费用速览 ---------- */
.page-home .home-fees__head {
  max-width: 62ch;
}

.page-home .home-fees__head .h2 {
  margin: 12px 0 0;
}

.page-home .home-fees__head .body-text {
  margin-top: 14px;
}

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

.page-home .fee-tier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background-color: var(--panel);
}

.page-home .fee-tier--standard { border-color: var(--line-cyan); }
.page-home .fee-tier--pro { border-color: var(--line-violet); }

.page-home .fee-tier__name {
  color: var(--mist);
  font-size: 12px;
}

.page-home .fee-tier--standard .fee-tier__name { color: var(--cyan); }
.page-home .fee-tier--pro .fee-tier__name { color: var(--violet); }

.page-home .fee-tier__free {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-home .fee-tier__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-home .fee-tier__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .fee-tier__term {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.page-home .fee-tier__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-home .fee-tier__cur {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mist);
}

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

.page-home .fee-tier__list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .fee-tier__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .fee-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background-color: var(--cyan);
}

.page-home .fee-tier--pro .fee-tier__list li::before { background-color: var(--violet); }

.page-home .term-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(20px, 2.6vw, 30px);
}

.page-home .term-strip__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px;
  border: 1px dashed var(--line-orange);
  border-radius: var(--r-card);
  background-color: rgba(255, 122, 26, 0.06);
}

.page-home .term-strip__label {
  color: var(--mist);
  font-size: 12px;
}

.page-home .term-strip__val {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 48px);
  align-items: center;
}

.page-home .rhythm-copy .h2 {
  margin: 12px 0 0;
}

.page-home .rhythm-copy .body-text {
  margin-top: 14px;
  max-width: 46ch;
}

.page-home .rhythm-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 0;
}

.page-home .rhythm-stats li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: rgba(14, 21, 38, 0.72);
}

.page-home .rhythm-stats__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

.page-home .rhythm-visual .media-frame {
  margin: 0;
}

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

.page-home .rhythm-panel {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background-color: rgba(7, 11, 20, 0.72);
}

.page-home .rhythm-panel__title {
  color: var(--cyan);
  font-size: 12px;
}

.page-home .rhythm-panel__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .rhythm-panel__list li {
  padding: 7px 16px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: 13px;
}

.page-home .rhythm-panel__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ---------- 客服 ---------- */
.page-home .help-wrap {
  position: relative;
}

.page-home .help-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  border-radius: var(--r-panel);
  z-index: 0;
  -webkit-mask-image: linear-gradient(to top, #000 12%, transparent 86%);
  mask-image: linear-gradient(to top, #000 12%, transparent 86%);
}

.page-home .help-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(26px, 3.6vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(150deg, rgba(14, 21, 38, 0.95), rgba(7, 11, 20, 0.9));
}

.page-home .help-panel__copy .h2 {
  margin: 12px 0 0;
}

.page-home .help-panel__copy .body-text {
  margin-top: 14px;
  max-width: 48ch;
}

.page-home .help-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-home .help-panel__side-title {
  color: var(--mist);
  font-size: 12px;
}

.page-home .help-panel__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .help-panel__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .help-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background-color: var(--orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .term-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

@media (min-width: 960px) {
  .page-home .hero-window__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

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

  .page-home .help-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
}

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

  .page-home .entries > .entry:nth-child(1) {
    grid-column: 1 / span 7;
  }

  .page-home .entries > .entry:nth-child(2) {
    grid-column: 8 / span 5;
    margin-top: clamp(26px, 4vw, 56px);
  }

  .page-home .entries > .entry:nth-child(3) {
    grid-column: 1 / span 4;
  }

  .page-home .entries > .entry:nth-child(4) {
    grid-column: 6 / span 7;
    margin-top: clamp(18px, 3vw, 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .hero-jump a,
  .page-home .entry__link {
    transition: none;
  }

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