.page-home {
  --home-gap: clamp(56px, 8vw, 104px);
  --home-frame: rgba(46, 230, 230, .35);
  display: block;
  overflow-x: clip;
}

.page-home .mono-label {
  letter-spacing: .12em;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(112px, 15vw, 176px) clamp(44px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
  opacity: .24;
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 96% at 88% 0%, rgba(255, 46, 139, .30), transparent 62%),
    radial-gradient(96% 84% at 2% 100%, rgba(46, 230, 230, .22), transparent 60%),
    linear-gradient(180deg, rgba(6, 7, 12, .34) 0%, rgba(6, 7, 12, .93) 70%, var(--ink) 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(245, 247, 250, .05) 0 1px, transparent 1px 5px);
  opacity: .55;
}

.page-home .hero__ghost {
  position: absolute;
  top: clamp(48px, 8vw, 92px);
  right: -0.06em;
  z-index: -1;
  font-family: var(--font-mono);
  font-size: clamp(140px, 27vw, 360px);
  font-weight: 200;
  line-height: .78;
  letter-spacing: -.05em;
  color: rgba(245, 247, 250, .045);
  pointer-events: none;
  user-select: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
}

.page-home .hero__kicker {
  display: block;
  margin-top: 22px;
  color: var(--cyan);
}

.page-home .hero__copy h1 {
  margin: 14px 0 0;
  max-width: 17ch;
  font-size: clamp(30px, 6.4vw, 56px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* 积分快照 */
.page-home .hero__board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .hero__board::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grad-rank);
}

.page-home .board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.page-home .board__row {
  position: relative;
  display: grid;
  grid-template-columns: 26px auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .18s var(--ease);
}

.page-home .board__row:last-child {
  border-bottom: 0;
}

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

.page-home .board__pts {
  font-family: var(--font-mono);
  font-size: clamp(38px, 7.4vw, 64px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .board__bar {
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(30, 38, 54, .92);
  overflow: hidden;
}

.page-home .board__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: filter .18s var(--ease);
}

.page-home .board__row:nth-child(1) .board__bar i {
  width: 96%;
  background: linear-gradient(90deg, #3BE8F0 0%, #FF3C8E 100%);
}

.page-home .board__row:nth-child(2) .board__bar i {
  width: 86%;
  background: linear-gradient(90deg, #3BE8F0 0%, #A85BF0 100%);
}

.page-home .board__row:nth-child(3) .board__bar i {
  width: 76%;
  background: linear-gradient(90deg, #2EE6E6 0%, #8C6BF0 100%);
}

@media (hover: hover) {
  .page-home .board__row:hover {
    background: linear-gradient(90deg, rgba(46, 230, 230, .09), rgba(46, 230, 230, 0) 72%);
  }
  .page-home .board__row:hover .board__bar i {
    filter: brightness(1.2);
  }
}

.page-home .board__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.page-home .board__version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(46, 230, 230, .28);
  background: rgba(46, 230, 230, .07);
}

.page-home .version-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--cyan);
}

/* 三个入口 */
.page-home .hero__entries {
  display: grid;
  gap: 12px;
}

.page-home .entry-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 44px 20px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 20, 32, .94), rgba(15, 20, 32, .6));
  text-decoration: none;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

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

.page-home .entry-card::after {
  content: "→";
  position: absolute;
  top: 20px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--magenta);
  opacity: .85;
}

.page-home .entry-card__num {
  color: var(--cyan);
}

.page-home .entry-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .entry-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 赛季专题 ---------- */
.page-home .section {
  padding-block: var(--home-gap);
}

.page-home .spotlight {
  position: relative;
}

.page-home .spotlight__grid {
  display: grid;
  gap: 30px;
}

.page-home .rail {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .rail::-webkit-scrollbar {
  display: none;
}

.page-home .rail__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}

.page-home .rail__item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.page-home .rail__item.is-now {
  color: var(--cyan);
  border-color: rgba(46, 230, 230, .45);
  background: rgba(46, 230, 230, .08);
}

.page-home .spotlight__body h2 {
  margin: 12px 0 0;
  max-width: 22ch;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--paper);
}

.page-home .spotlight__lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

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

.page-home .case-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .case-list__name {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.page-home .spotlight__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.page-home .spotlight__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

/* ---------- 横向画面带 ---------- */
.page-home .band-wrap {
  padding-block: 0;
}

.page-home .band {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
}

.page-home .band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.06) brightness(.82);
}

.page-home .band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 12, .1) 0%, rgba(6, 7, 12, .88) 100%);
}

.page-home .band .media-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
  color: var(--text-soft);
}

/* ---------- 会员权益 ---------- */
.page-home .perks__grid {
  display: grid;
  gap: 30px;
}

.page-home .perks__copy h2 {
  margin: 12px 0 0;
  max-width: 20ch;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--paper);
}

.page-home .perks__copy > p {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

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

.page-home .perks__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .perks__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 2px;
  background: var(--grad-line);
}

.page-home .perks__table {
  padding: 8px 20px;
  border-radius: var(--r-lg);
}

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

.page-home .perks__row:last-child {
  border-bottom: 0;
}

.page-home .perks__row--head {
  padding-block: 12px;
}

.page-home .perks__row--head .mono-label {
  color: var(--muted);
}

.page-home .perks__v {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--paper);
}

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

/* ---------- 数据服务 ---------- */
.page-home .service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--home-gap);
}

.page-home .service__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .service__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
}

.page-home .service__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 46, 139, .18), transparent 62%),
    linear-gradient(180deg, rgba(6, 7, 12, .78) 0%, rgba(6, 7, 12, .97) 100%);
}

.page-home .service__inner {
  max-width: 880px;
}

.page-home .service__inner h2 {
  margin: 12px 0 0;
  max-width: 24ch;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--paper);
}

.page-home .service__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .service__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  margin: 30px 0 0;
  padding: 24px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .service__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--cyan);
}

.page-home .service__facts li:nth-child(2) .service__num {
  color: var(--magenta);
}

.page-home .service__cap {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .service__note {
  margin: 24px 0 26px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- 工具条 ---------- */
.page-home .toolstrip {
  padding-block: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.page-home .toolstrip__inner {
  display: grid;
  gap: 18px;
}

.page-home .toolstrip__title {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--paper);
}

.page-home .toolstrip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .toolstrip__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}

.page-home .toolstrip__chip .mono-label {
  color: var(--muted);
}

.page-home .toolstrip__chip:hover {
  border-color: var(--cyan);
  color: var(--paper);
  background: rgba(46, 230, 230, .07);
}

.page-home .toolstrip__chip.is-active {
  border-color: var(--magenta);
  color: var(--paper);
  background: rgba(255, 46, 139, .1);
}

.page-home .toolstrip__note {
  margin: 0;
  color: var(--muted);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 720px) {
  .page-home .hero__entries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 44px;
    align-items: start;
  }

  .page-home .hero__copy {
    grid-column: 1 / span 6;
  }

  .page-home .hero__board {
    grid-column: 8 / span 5;
  }

  .page-home .hero__entries {
    grid-column: 1 / -1;
  }

  .page-home .spotlight__grid {
    grid-template-columns: 168px minmax(0, 1fr) 280px;
    column-gap: 44px;
    align-items: start;
  }

  .page-home .rail {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .page-home .rail__item {
    position: relative;
    padding: 0 0 28px 22px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: none;
    align-items: flex-start;
  }

  .page-home .rail__item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }

  .page-home .rail__item i {
    position: absolute;
    left: -4px;
    top: .42em;
    width: 7px;
    height: 7px;
  }

  .page-home .rail__item.is-now {
    color: var(--cyan);
    box-shadow: none;
  }

  .page-home .rail__item.is-now i {
    box-shadow: 0 0 0 4px rgba(46, 230, 230, .18);
  }

  .page-home .perks__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 56px;
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .spotlight__grid {
    grid-template-columns: 180px minmax(0, 1fr) 320px;
    column-gap: 56px;
  }
}
