.page-home {
  --home-gap: clamp(56px, 7.5vw, 96px);
  --home-panel: rgba(14, 36, 64, .55);
  color: var(--mist);
  overflow-x: hidden;
}

.page-home .section {
  padding-block: var(--home-gap);
}

.page-home .section__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .section__title {
  margin: 10px 0 14px;
  letter-spacing: .04em;
  line-height: 1.2;
}

.page-home .section__lead {
  color: var(--slate);
  line-height: 1.75;
}

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

.page-home .hero {
  padding: clamp(16px, 2.4vw, 30px) clamp(14px, 3vw, 34px) 0;
}

.page-home .hero__frame {
  position: relative;
  max-width: 1400px;
  margin-inline: auto;
  border: 1px solid var(--line-copper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-deep);
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 3;
  background: repeating-linear-gradient(90deg, var(--copper) 0 1px, transparent 1px 20px);
  opacity: .75;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .38;
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(5, 11, 20, .95) 6%, rgba(10, 26, 47, .84) 50%, rgba(10, 26, 47, .32) 100%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  padding: clamp(30px, 5.4vw, 66px) clamp(20px, 4.6vw, 62px) clamp(28px, 4.6vw, 54px);
}

.page-home .hero__crumb {
  margin-bottom: 16px;
}

.page-home .hero__crumb .breadcrumb__current {
  color: var(--slate);
}

.page-home .hero__title {
  margin: 12px 0 0;
  font-size: clamp(29px, 4.4vw, 50px);
  line-height: 1.14;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--mist);
}

.page-home .hero__title-accent {
  display: block;
  margin-top: 6px;
  color: var(--copper-bright);
  font-size: clamp(22px, 3.1vw, 34px);
  letter-spacing: .06em;
}

.page-home .hero__lead {
  max-width: 56ch;
  margin: 20px 0 0;
  color: rgba(242, 246, 250, .84);
  line-height: 1.8;
}

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

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__stat {
  padding-left: 14px;
  border-left: 2px solid var(--line-copper);
}

.page-home .hero__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--amber);
}

.page-home .hero__stat:first-child .hero__stat-num {
  color: var(--neon);
}

.page-home .hero__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

@media (min-width: 1024px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    align-items: end;
    gap: 54px;
  }

  .page-home .hero__stats {
    padding-bottom: 8px;
  }
}

/* ---------- 更新时间 ---------- */

.page-home .updates__panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink-raised), var(--ink-deep) 72%);
  padding: clamp(22px, 3.4vw, 42px);
}

.page-home .updates__grid {
  display: grid;
  gap: 26px;
}

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

.page-home .updates__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .updates__item:first-child {
  border-top: 1px dashed var(--line-soft);
}

.page-home .updates__label {
  min-width: 88px;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--slate);
}

.page-home .updates__value {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--neon);
}

.page-home .updates__note {
  flex: 1 0 100%;
  margin-left: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

@media (min-width: 900px) {
  .page-home .updates__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .updates__intro {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- 积分比率 ---------- */

.page-home .ratio__grid {
  display: grid;
  gap: 32px;
}

.page-home .ratio__main {
  min-width: 0;
}

.page-home .scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 116px;
  margin: 30px 0 0;
  border-bottom: 1px solid var(--line-copper);
}

.page-home .scale__bar {
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(55, 230, 212, .9), rgba(55, 230, 212, .12));
}

.page-home .scale__bar:nth-child(1) { height: 26%; }
.page-home .scale__bar:nth-child(2) { height: 40%; }
.page-home .scale__bar:nth-child(3) { height: 54%; }
.page-home .scale__bar:nth-child(4) { height: 68%; }
.page-home .scale__bar:nth-child(5) { height: 82%; }
.page-home .scale__bar:nth-child(6) {
  height: 100%;
  background: linear-gradient(180deg, var(--amber), rgba(240, 138, 60, .16));
}

.page-home .scale__labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  text-align: center;
}

.page-home .ratio__facts {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .ratio__fact {
  padding: 16px 16px 18px;
  border: 1px solid rgba(55, 230, 212, .18);
  border-radius: var(--radius-md);
  background: rgba(55, 230, 212, .06);
}

.page-home .ratio__fact-title {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--neon);
}

.page-home .ratio__fact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(242, 246, 250, .78);
}

.page-home .ratio__media {
  align-self: start;
}

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

@media (min-width: 940px) {
  .page-home .ratio__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 50px;
    align-items: start;
  }
}

/* ---------- 玩法分组 ---------- */

.page-home .groups__media {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .groups__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 12px;
}

.page-home .group-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--home-panel);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .group-card:hover,
.page-home .group-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-copper);
  background: rgba(14, 36, 64, .92);
}

.page-home .group-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--copper-bright);
}

.page-home .group-card__range {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--mist);
}

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

/* ---------- 名单与大厅 ---------- */

.page-home .reach__grid {
  display: grid;
  gap: 32px;
}

.page-home .reach__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.page-home .entry {
  display: block;
  padding: 22px clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(192, 138, 62, .16), rgba(5, 11, 20, .92));
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .entry + .entry {
  margin-top: 14px;
}

.page-home .entry--hall {
  background: linear-gradient(140deg, rgba(55, 230, 212, .14), rgba(5, 11, 20, .92));
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-copper);
}

.page-home .entry__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--copper-bright);
}

.page-home .entry--hall .entry__kicker {
  color: var(--neon);
}

.page-home .entry__title {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--mist);
}

.page-home .entry__desc {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.76;
  color: rgba(242, 246, 250, .76);
}

.page-home .entry__go {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--neon);
}

@media (min-width: 980px) {
  .page-home .reach__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    align-items: start;
  }
}

/* ---------- 快速路径 ---------- */

.page-home .paths__grid {
  display: grid;
  gap: 14px;
}

.page-home .path-card {
  position: relative;
  display: block;
  padding: clamp(20px, 2.8vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(14, 36, 64, .82), rgba(5, 11, 20, .94));
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .path-card:hover,
.page-home .path-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-copper);
}

.page-home .path-card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--copper-bright);
}

.page-home .path-card__title {
  margin: 12px 0 10px;
  font-size: clamp(18px, 2.2vw, 21px);
  letter-spacing: .04em;
  color: var(--mist);
}

.page-home .path-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(242, 246, 250, .76);
}

.page-home .path-card__go {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--neon);
}

.page-home .paths__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line-soft);
}

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

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

/* ---------- 媒体与降级 ---------- */

.page-home .media {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-deep);
}

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

.page-home .media__caption {
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 760px) {
  .page-home .hero__actions .btn {
    min-width: 148px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .group-card,
  .page-home .entry,
  .page-home .path-card {
    transition: none;
  }

  .page-home .group-card:hover,
  .page-home .group-card:focus-visible,
  .page-home .entry:hover,
  .page-home .entry:focus-visible,
  .page-home .path-card:hover,
  .page-home .path-card:focus-visible {
    transform: none;
  }
}
