.page-home {
  --home-head-gap: clamp(28px, 5vw, 56px);
  --accent: var(--yellow);
}

.page-home .wrap {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  display: grid;
  gap: var(--home-head-gap);
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(30px, 7vw, 84px)) var(--gutter) clamp(46px, 8vw, 92px);
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(10, 26, 47, 0.95) 0%, rgba(14, 15, 19, 0) 62%),
    var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .hero__eyebrow b {
  color: var(--yellow);
  font-weight: 700;
}

.page-home .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
}

.page-home .hero__title {
  margin: 0 0 clamp(16px, 3vw, 26px);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(38px, 8.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--yellow);
}

.page-home .hero__lead {
  max-width: 34ch;
  margin: 0 0 clamp(22px, 4vw, 32px);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.78);
}

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

.page-home .hero__meta {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .coordmap {
  position: relative;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line-strong);
  background: var(--deep);
  overflow: hidden;
}

.page-home .coordmap__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.75) contrast(1.1);
}

.page-home .coordmap__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 241, 230, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 230, 0.1) 1px, transparent 1px);
  background-size: 9% 9%;
}

.page-home .coordmap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(245, 241, 230, 0.06) 0 1px,
    transparent 1px 4px
  );
}

.page-home .px {
  position: absolute;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 2px rgba(14, 15, 19, 0.85);
}

.page-home .px--yellow {
  top: 18%;
  left: 22%;
  background: var(--yellow);
}

.page-home .px--blue {
  top: 33%;
  left: 58%;
  width: 22px;
  height: 22px;
  background: var(--blue);
}

.page-home .px--magenta {
  top: 62%;
  left: 38%;
  background: var(--magenta);
}

.page-home .px--orange {
  top: 74%;
  left: 72%;
  background: var(--orange);
}

.page-home .coordmap__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(245, 241, 230, 0.55);
}

.page-home .coordmap__label--tl {
  top: 10px;
  left: 12px;
}

.page-home .coordmap__label--br {
  right: 12px;
  bottom: 10px;
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  position: relative;
  padding: clamp(50px, 8vw, 96px) 0;
}

.page-home .section__head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-home .section__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .section__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .section__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.7);
}

.page-home .sub-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper);
}

/* ---------- 01 入口 ---------- */
.page-home .section--entries {
  background: var(--ink);
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 2vw, 14px);
}

.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.page-home .entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.page-home .entry--1 { --accent: var(--yellow); }
.page-home .entry--2 { --accent: var(--magenta); }
.page-home .entry--3 { --accent: var(--blue); }
.page-home .entry--4 { --accent: var(--orange); }

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #16181f;
}

.page-home .entry:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

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

.page-home .entry__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .entry__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 230, 0.7);
}

.page-home .entry__latest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 241, 230, 0.8);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}

.page-home .entry:hover .entry__latest,
.page-home .entry:focus-visible .entry__latest {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 02 版本与开服 ---------- */
.page-home .section--now {
  background: var(--deep);
  border-block: 1px solid var(--line);
}

.page-home .ver-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .ver {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}

.page-home .ver--beta { border-top-color: var(--magenta); }
.page-home .ver--retro { border-top-color: var(--blue); }

.page-home .ver__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .ver__no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .ver__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 230, 0.7);
}

.page-home .ver-note {
  margin: 0 0 clamp(26px, 4vw, 40px);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .now-split {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-home .tl {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-home .tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}

.page-home .tl__item {
  position: relative;
  padding-bottom: 22px;
}

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

.page-home .tl__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--yellow);
}

.page-home .tl__item--merge::before { background: var(--blue); }
.page-home .tl__item--event::before { background: var(--magenta); }

.page-home .tl__when {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--yellow);
}

.page-home .tl__item--merge .tl__when { color: var(--blue); }
.page-home .tl__item--event .tl__when { color: var(--magenta); }

.page-home .tl__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.72);
}

.page-home .now__media {
  margin: 0;
}

.page-home .now__media img,
.page-home .guide__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

.page-home .now__media figcaption,
.page-home .guide__media figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 03 配置 ---------- */
.page-home .section--config {
  background: var(--ink);
}

.page-home .cfg {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

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

.page-home .cfg__step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .cfg__step:first-child {
  padding-top: 0;
}

.page-home .cfg__n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--yellow);
}

.page-home .cfg__step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .cfg__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.7);
}

.page-home .cfg__result {
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}

.page-home .cfg__result-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .cfg__result-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .cfg__result-ver {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--yellow);
}

.page-home .tier {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  margin-bottom: 18px;
}

.page-home .tier__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .tier__track {
  position: relative;
  height: 10px;
  background: rgba(245, 241, 230, 0.08);
}

.page-home .tier__fill {
  position: absolute;
  inset: 0 auto 0 0;
}

.page-home .tier--min .tier__fill {
  width: 38%;
  background: var(--blue);
}

.page-home .tier--rec .tier__fill {
  width: 68%;
  background: var(--yellow);
}

.page-home .tier--max .tier__fill {
  width: 96%;
  background: var(--orange);
}

.page-home .tier__note {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(245, 241, 230, 0.6);
}

.page-home .cfg__result .btn {
  margin-top: 8px;
}

/* ---------- 04 攻略 ---------- */
.page-home .section--guides {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.page-home .guide-wrap {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-home .guides {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .guide {
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-home .guide summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.page-home .guide summary::-webkit-details-marker {
  display: none;
}

.page-home .guide summary::after {
  content: "＋";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--yellow);
}

.page-home .guide[open] summary::after {
  content: "－";
}

.page-home .guide summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.page-home .guide__body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.72);
}

.page-home .guide__body p {
  margin: 0 0 8px;
}

.page-home .guide__body p:last-child {
  margin-bottom: 0;
}

.page-home .guide__media {
  margin: 0;
}

/* ---------- 05 信任 ---------- */
.page-home .section--trust {
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.page-home .trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .trust__item {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-home .trust__k {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .trust__v {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.page-home .trust__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.62);
}

.page-home .trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 34px);
}

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

@media (min-width: 780px) {
  .page-home .ver-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 920px) {
  .page-home .hero {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .page-home .now-split {
    grid-template-columns: 6fr 5fr;
    align-items: start;
  }

  .page-home .cfg {
    grid-template-columns: 6fr 6fr;
    align-items: start;
  }

  .page-home .guide-wrap {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

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

@media (min-width: 1080px) {
  .page-home .entry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (hover: none) {
  .page-home .entry__latest {
    opacity: 1;
    transform: none;
  }
}

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

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