.page-home {
  --home-grid: 48px;
  --home-cells: rgba(30, 58, 95, .30);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  color: var(--white);
  background-color: var(--deep);
  background-image:
    linear-gradient(var(--home-cells) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-cells) 1px, transparent 1px);
  background-size: var(--home-grid) var(--home-grid);
  background-position: -1px -1px;
}

.page-home::before,
.page-home::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(96px);
  pointer-events: none;
  z-index: 0;
}

.page-home::before {
  top: -140px;
  left: -120px;
  background: rgba(255, 107, 74, .28);
}

.page-home::after {
  bottom: 12%;
  right: -160px;
  background: rgba(53, 245, 208, .20);
}

.page-home > .section,
.page-home > .home-deck {
  position: relative;
  z-index: 1;
}

.page-home .section {
  padding: clamp(40px, 7vw, 76px) 0;
  border-top: 1px solid var(--line-ink);
}

.page-home .section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 20px;
  margin-bottom: 28px;
}

.page-home .section__head > div {
  flex: 1 1 320px;
  min-width: 0;
}

.page-home .section__title {
  margin: 8px 0 10px;
  font-size: clamp(22px, 4.4vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
}

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

.page-home .chapter-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(44px, 10vw, 104px);
  line-height: .82;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 107, 74, .85);
  text-shadow: 0 0 26px rgba(255, 107, 74, .28);
}

.page-home .eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .eyebrow.mono {
  letter-spacing: .14em;
}

.page-home .tag {
  font-style: normal;
}

.page-home .btn {
  text-decoration: none;
}

.page-home .card {
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--slow) var(--ease);
}

.page-home .card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
}

/* ---------- 首屏 ---------- */

.home-deck {
  padding: clamp(30px, 6vw, 68px) 0 clamp(34px, 6vw, 64px);
}

.home-deck__inner {
  display: grid;
  gap: 30px;
  align-items: center;
}

.home-deck__copy h1 {
  margin: 12px 0 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--white);
}

.home-deck__copy .lede {
  margin: 0;
  max-width: 52ch;
  color: var(--white);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
}

.home-deck__note {
  margin: 12px 0 0;
  max-width: 54ch;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.75;
}

.home-deck__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
}

.home-fact {
  min-width: 0;
  padding: 14px 12px;
  background: rgba(5, 13, 26, .86);
}

.home-fact__num {
  display: block;
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.home-fact__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
}

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

.home-deck__art {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(10, 27, 51, .92), rgba(5, 13, 26, .98));
  box-shadow: var(--shadow-lift);
}

.home-deck__art::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(53, 245, 208, .18);
  pointer-events: none;
}

.home-deck__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.06);
}

.home-deck__caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 4px 2px;
  font-size: 12px;
  color: var(--slate);
}

/* ---------- 01 索引台 ---------- */

.home-console__tabs {
  border: 1px solid var(--line);
  background: rgba(5, 13, 26, .64);
}

.page-home .tablist {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.page-home .tab {
  flex: 1 1 auto;
  min-width: 110px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid var(--line-ink);
  background: transparent;
  color: var(--slate);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .tab:last-child {
  border-right: 0;
}

.page-home .tab:hover {
  color: var(--cyan);
}

.page-home .tab[aria-selected="true"] {
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 107, 74, .24), rgba(255, 107, 74, .04));
  box-shadow: inset 0 -2px 0 var(--coral);
}

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

.page-home .panel {
  padding: 22px 18px;
}

.page-home .panel[hidden] {
  display: none;
}

.home-panel__grid {
  display: grid;
  gap: 20px;
}

.home-panel__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.home-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.home-panel__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

.home-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.home-panel__side {
  padding: 16px;
  border: 1px solid var(--line-ink);
  background: linear-gradient(150deg, rgba(10, 27, 51, .9), rgba(5, 13, 26, .96));
}

.home-panel__side p {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.home-panel__side .meta {
  margin: 0;
  color: var(--yellow);
}

.home-wide {
  margin: 28px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(5, 13, 26, .72);
}

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

.home-wide figcaption {
  padding: 10px 4px 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 02 更新流 ---------- */

.home-flow__banner {
  position: relative;
  margin: 0 0 26px;
  border: 1px solid var(--line-ink);
  background: rgba(5, 13, 26, .8);
}

.home-flow__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: .92;
}

.home-flow__banner figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--deep);
  background: var(--cyan);
}

.home-flow__grid {
  display: grid;
  gap: 28px;
}

.home-flow__col {
  min-width: 0;
}

.home-flow__week {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--slate);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px dashed var(--line);
  display: grid;
  gap: 14px;
}

.timeline__item {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line-ink);
  background: linear-gradient(160deg, rgba(10, 27, 51, .92), rgba(5, 13, 26, .96));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--slow) var(--ease);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--deep);
  border: 2px solid var(--cyan);
}

.timeline__item:hover {
  border-color: var(--cyan);
  transform: translateX(3px);
  box-shadow: var(--shadow-lift);
}

.timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.timeline__time {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.timeline__item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.timeline__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.home-flow__more {
  margin: 26px 0 0;
}

/* ---------- 03 适配速查 ---------- */

.home-fit__grid {
  align-items: start;
}

.home-fit__table {
  min-width: 0;
}

.page-home .data-table th[scope="row"] {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.page-home .data-table caption {
  text-align: left;
  padding: 0 0 12px;
  color: var(--slate);
}

.home-fit__cards {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.home-fit__cards .card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.home-fit__cards .card__meta {
  margin: 0;
  color: var(--yellow);
  letter-spacing: .1em;
}

.home-fit__cards .card__title {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

/* ---------- 04 开服 ---------- */

.home-launch__grid {
  align-items: start;
}

.home-launch__clock {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--coral);
  background: linear-gradient(150deg, rgba(255, 107, 74, .18), rgba(5, 13, 26, .96) 62%);
}

.home-clock {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
}

.home-clock__cell {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 4px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(5, 13, 26, .82);
}

.home-clock__num {
  display: block;
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.home-clock__unit {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--slate);
}

.home-launch__clock-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.home-launch__art {
  margin: 18px 0 0;
  padding: 6px;
  border: 1px solid var(--line-ink);
  background: rgba(5, 13, 26, .8);
}

.home-launch__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  opacity: .95;
}

.ann-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-ink);
}

.ann-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-ink);
}

.ann-list__time {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
  white-space: nowrap;
}

.ann-list__body {
  min-width: 0;
}

.ann-list__body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.ann-list__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.home-launch__more {
  margin: 22px 0 0;
}

/* ---------- 05 礼包 ---------- */

.home-gift__panel {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(122, 92, 255, .16), rgba(5, 13, 26, .96) 58%);
}

.home-gift__copy p:not(.eyebrow) {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}

.home-gift__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.home-gift__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: gift;
  display: grid;
  gap: 12px;
}

.home-gift__steps li {
  position: relative;
  padding: 14px 16px 14px 54px;
  border: 1px solid var(--line-ink);
  background: rgba(5, 13, 26, .74);
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.home-gift__steps li::before {
  counter-increment: gift;
  content: counter(gift, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--coral);
}

.home-gift__steps li:hover {
  border-color: var(--violet);
  transform: translateX(3px);
}

/* ---------- 信任区 ---------- */

.home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
}

.home-trust__list li {
  padding: 18px 16px;
  background: rgba(5, 13, 26, .88);
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.home-trust__list .mono {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.home-trust__more {
  margin: 24px 0 0;
}

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .home-flow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

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

@media (min-width: 880px) {
  .home-deck__inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
    gap: 48px;
  }

  .home-panel__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 30px;
  }

  .home-gift__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 40px;
  }

  .home-fit__cards {
    margin-top: 0;
  }
}

@media (min-width: 1040px) {
  .home-trust__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-deck__art {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .card,
  .timeline__item,
  .home-gift__steps li,
  .page-home .tab {
    transition: none;
  }

  .page-home .card:hover,
  .timeline__item:hover,
  .home-gift__steps li:hover {
    transform: none;
  }
}
