.page-home {
  --card-bg: #0B2231;
  --card-bg-hover: #0D2A39;
  background: var(--ink);
  color: var(--mist);
}

/* ---------- 首屏：参数压阵 ---------- */
.page-home .hero-spec {
  padding: calc(var(--header-h) + 26px) 0 58px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(31, 227, 208, 0.10), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(58, 43, 98, 0.38), transparent 66%),
    var(--ink);
}

.page-home .hero-spec-grid {
  display: grid;
  gap: 34px;
}

.page-home .hero-lead h1 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 7.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--mist);
  max-width: 17ch;
}

.page-home .hero-sub {
  margin: 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .hero-panel {
  min-width: 0;
}

.page-home .spec-panel {
  padding: 6px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.page-home .spec-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .spec-table caption {
  text-align: left;
}

.page-home .spec-table thead th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.page-home .spec-table tbody th,
.page-home .spec-table tbody td {
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid rgba(31, 227, 208, 0.12);
  white-space: nowrap;
}

.page-home .spec-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card-bg);
  color: var(--mist);
}

.page-home .spec-table tbody tr {
  transition: background-color 120ms var(--ease);
}

.page-home .spec-table tbody tr:hover {
  background: rgba(31, 227, 208, 0.1);
}

.page-home .spec-table tbody tr:hover th[scope="row"] {
  background: var(--card-bg-hover);
}

.page-home .spec-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--neon);
}

.page-home .spec-table .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.page-home .spec-table .spec-group td {
  padding: 18px 14px 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  border-bottom: none;
}

.page-home .spec-table tbody tr:last-child th,
.page-home .spec-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .spec-note {
  margin: 16px 2px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hero-shot {
  margin: 20px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-neon);
}

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

/* ---------- 章节速查 ---------- */
.page-home .chapter-nav {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 30;
  margin: 0 0 8px;
}

.page-home .chapter-nav-inner {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(8, 26, 38, 0.86);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}

.page-home .chapter-nav-inner::-webkit-scrollbar {
  display: none;
}

.page-home .chapter-nav-inner a {
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.page-home .chapter-nav-inner a:hover {
  color: var(--mist);
}

.page-home .chapter-nav-inner a.is-active,
.page-home .chapter-nav-inner a[aria-current="true"] {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
  font-weight: 600;
}

/* ---------- 开服节点 ---------- */
.page-home .calendar-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--slate) 24%, var(--slate) 100%);
}

.page-home .calendar-figure {
  margin: 0 0 26px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .calendar-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .day-strip {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 4px 2px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .day-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 168px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 26, 38, 0.55);
  color: var(--mist);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.page-home .day-chip:hover {
  transform: translateY(-3px);
  border-color: var(--line-neon);
  background: rgba(8, 26, 38, 0.85);
}

.page-home .day-chip .day-date {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
}

.page-home .day-chip .day-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .day-chip.is-current {
  border-color: var(--line-gold);
  background: rgba(200, 162, 39, 0.1);
}

.page-home .day-chip.is-current .day-date {
  color: var(--gold);
}

.page-home .day-chip.is-current .day-label {
  color: #E6D6A6;
}

.page-home .cal-notes {
  margin-top: 20px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(8, 26, 38, 0.55);
}

.page-home .cal-notes summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--mist);
  cursor: pointer;
  list-style: none;
}

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

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

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

.page-home .cal-notes ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.page-home .cal-notes li + li {
  margin-top: 6px;
}

/* ---------- 资料日期 ---------- */
.page-home .freshness-section {
  background: var(--ink);
}

.page-home .freshness-grid {
  display: grid;
  gap: 34px;
}

.page-home .freshness-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--mist);
}

.page-home .freshness-copy p {
  margin: 0 0 16px;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .freshness-figure {
  margin: 26px 0 0;
  max-width: 320px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .audit-timeline {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 28px;
  list-style: none;
}

.page-home .audit-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--neon), rgba(31, 227, 208, 0.06));
}

.page-home .audit-row {
  position: relative;
  padding: 0 0 26px;
}

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

.page-home .audit-row::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--neon-deep);
  border-radius: 50%;
  background: var(--ink);
}

.page-home .audit-row.is-active::before {
  border-color: var(--neon);
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(31, 227, 208, 0.16);
}

.page-home .audit-month {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.page-home .audit-title {
  display: block;
  margin: 5px 0 5px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .audit-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 攻略入口 ---------- */
.page-home .guides-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, var(--indigo) 32%, var(--indigo) 100%);
}

.page-home .guide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .guides-section .container {
  position: relative;
  z-index: 1;
}

.page-home .guide-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-home .guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 26, 38, 0.72);
  color: var(--mist);
  text-decoration: none;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.page-home .guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-neon);
  background: rgba(8, 26, 38, 0.92);
}

.page-home .guide-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-neon);
  border-radius: 15px;
  color: var(--neon);
}

.page-home .guide-icon svg {
  width: 20px;
  height: 20px;
}

.page-home .guide-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.page-home .guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

/* ---------- 三类场景 ---------- */
.page-home .routes-section {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--ink) 30%, var(--ink) 100%);
}

.page-home .skill-path {
  position: relative;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .skill-step {
  position: relative;
  padding: 0 0 30px 34px;
}

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

.page-home .skill-step::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line-neon);
}

.page-home .skill-step:last-child::before {
  display: none;
}

.page-home .skill-step::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--neon);
  border-radius: 50%;
  background: var(--ink);
}

.page-home .skill-step-title {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--mist);
}

.page-home .skill-step p {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .routes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hero-spec {
    padding-top: calc(var(--header-h) + 34px);
  }

  .page-home .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-spec-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .hero-shot {
    margin-top: 24px;
  }

  .page-home .freshness-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .skill-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .skill-step {
    padding: 30px 0 0;
  }

  .page-home .skill-step::before {
    left: 0;
    right: -24px;
    top: 11px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .page-home .skill-step:last-child::before {
    display: block;
  }

  .page-home .skill-step::after {
    left: 0;
    top: 5px;
  }

  .page-home .skill-step-title {
    display: block;
    margin-top: 6px;
  }
}
