.page-home {
  --ph-gap: clamp(20px, 3vw, 34px);
  --ph-radius: var(--r-lg);
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(110% 80% at 88% 0%, rgba(53, 224, 207, 0.13), transparent 62%),
    radial-gradient(80% 70% at 4% 8%, rgba(255, 106, 42, 0.11), transparent 58%);
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

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

.page-home .hero__lede {
  margin-top: 18px;
  max-width: 34em;
}

.page-home .hero__accent {
  background: linear-gradient(100deg, var(--orange-500), var(--orange-300) 46%, var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.page-home .hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.page-home .hero__facts > div {
  min-width: 0;
}

.page-home .hero__facts dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.page-home .hero__facts dd {
  margin: 6px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--ink);
}

.page-home .hero__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* 版本徽标 —— 原生 details 展开 */
.page-home .version-badge {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 12px 16px;
}

.page-home .version-badge summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--cyan-400);
}

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

.page-home .version-badge__hint {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  border-left: 1px solid var(--line-soft);
  padding-left: 12px;
}

.page-home .version-badge__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .version-badge__body p {
  margin: 0 0 10px;
}

.page-home .hero__media {
  border-radius: var(--ph-radius);
  overflow: hidden;
  position: relative;
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 22, 37, 0.15), rgba(6, 22, 37, 0.82) 78%);
  pointer-events: none;
}

/* 赛季刻度条 */
.page-home .season-rail {
  display: flex;
  gap: 10px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 16px 0 8px;
  list-style: none;
  overflow-x: auto;
  border-top: 1px solid var(--line-soft);
  scrollbar-width: thin;
}

.page-home .season-rail__item {
  flex: 0 0 auto;
  padding: 6px 15px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.page-home .season-rail__item:first-child {
  background: var(--cyan-400);
  border-color: transparent;
  color: var(--sea-900);
  font-weight: 700;
}

.page-home .season-rail__note {
  margin: 10px 0 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- 主题声明 ---------- */
.page-home .statement__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

.page-home .statement__body {
  margin-top: 16px;
  color: var(--ink-soft);
  line-height: 1.78;
}

.page-home .quick-index {
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .quick-index__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .quick-index__item span {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.page-home .quick-index__item:hover,
.page-home .quick-index__item:focus-visible {
  border-color: var(--cyan-400);
  background: var(--surface-2);
  transform: translateX(4px);
}

/* ---------- 索引预览 ---------- */
.page-home .index-preview__head .lede {
  margin-top: 12px;
}

.page-home .index-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.page-home .index-card {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--ph-radius);
  background: linear-gradient(158deg, var(--surface-2), rgba(10, 34, 56, 0.32));
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.page-home .index-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 60% at 100% 0%, rgba(53, 224, 207, 0.12), transparent 72%);
  pointer-events: none;
}

.page-home .index-card:hover {
  border-color: var(--steel-500);
}

.page-home .index-card__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.page-home .index-card h3 {
  margin: 0 0 10px;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink);
}

.page-home .index-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .index-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-home .index-card__list li::marker {
  color: var(--orange-500);
}

.page-home .index-preview__figure {
  border-radius: var(--ph-radius);
  overflow: hidden;
}

/* ---------- 战报归类 ---------- */
.page-home .reports__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
  align-items: center;
}

.page-home .reports__text p {
  color: var(--ink-soft);
  line-height: 1.78;
  max-width: 40em;
}

.page-home .reports__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .reports__media {
  border-radius: var(--ph-radius);
  overflow: hidden;
}

/* ---------- 费用速览 ---------- */
.page-home .fees__head .lede {
  margin-top: 12px;
  max-width: 46em;
}

.page-home .fees__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .fees__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--ph-radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .fees__item .tag {
  align-self: flex-start;
}

.page-home .fees__item h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
}

.page-home .fees__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
  flex: 1 1 auto;
}

.page-home .fees__price {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--orange-300);
}

.page-home .fees__go {
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  color: var(--cyan-400);
}

.page-home .fees__item:hover,
.page-home .fees__item:focus-visible {
  border-color: var(--orange-500);
  transform: translateY(-3px);
}

.page-home .fees__item--lead {
  background: linear-gradient(152deg, rgba(255, 106, 42, 0.18), rgba(10, 34, 56, 0.55) 68%);
  border-color: rgba(255, 106, 42, 0.42);
}

/* ---------- 近期更新 ---------- */
.page-home .updates__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
  align-items: start;
}

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

.page-home .update-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel-500);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-left-color var(--dur) var(--ease);
}

.page-home .update-item:hover {
  border-left-color: var(--orange-500);
}

.page-home .update-item__meta {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--cyan-400);
}

.page-home .update-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .update-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--ink-soft);
}

.page-home .updates__media {
  border-radius: var(--ph-radius);
  overflow: hidden;
}

/* ---------- 服务与联络 ---------- */
.page-home .reach__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
  align-items: start;
}

.page-home .reach__text p {
  color: var(--ink-soft);
  line-height: 1.78;
  max-width: 42em;
}

.page-home .reach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .reach__panel {
  border-radius: var(--ph-radius);
  padding: clamp(18px, 2.6vw, 26px);
}

.page-home .reach__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .reach__key {
  flex: 0 0 auto;
  min-width: 72px;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.page-home .reach__value {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.page-home a.reach__value:hover {
  color: var(--cyan-400);
}

.page-home .reach__note {
  margin: 16px 0 0;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--ink-soft);
}

/* ---------- 媒体框统一 ---------- */
.page-home .media-frame {
  margin: 0;
  background: linear-gradient(150deg, var(--sea-700), var(--sea-800));
}

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

.page-home .media-frame__caption {
  position: relative;
  z-index: 1;
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .index-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: clamp(24px, 3vw, 48px);
  }

  .page-home .hero__lead {
    grid-column: 1 / span 7;
  }

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

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

  .page-home .reports__inner {
    grid-template-columns: 6fr 6fr;
  }

  .page-home .updates__inner {
    grid-template-columns: 8fr 4fr;
  }

  .page-home .reach__inner {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .fees__grid {
    grid-template-columns: 5fr 4fr 3fr;
  }

  .page-home .fees__item--lead {
    grid-column: auto;
  }
}

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

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

@media (max-width: 700px) {
  .page-home .update-list {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .page-home .update-item {
    scroll-snap-align: start;
  }

  .page-home .hero__facts {
    gap: 8px;
  }

  .page-home .hero__facts dd {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .quick-index__item,
  .page-home .fees__item,
  .page-home .index-card,
  .page-home .update-item {
    transition: none;
  }

  .page-home .quick-index__item:hover,
  .page-home .fees__item:hover {
    transform: none;
  }
}
