.page-home {
  background: var(--ivory);
  color: var(--ink);
}

/* ---------- 01 封面 ---------- */
.page-home .hero {
  position: relative;
  padding: 22px 0 46px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
  isolation: isolate;
}
.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(216, 208, 194, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(216, 208, 194, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
  pointer-events: none;
}
.page-home .hero__inner {
  position: relative;
  z-index: 1;
}
.page-home .hero__context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.page-home .hero__pulse {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(53, 224, 200, 0.18);
}
.page-home .hero__grid {
  display: grid;
  gap: 34px;
}
.page-home .hero__title {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 8.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 900;
  color: var(--green);
}
.page-home .hero__lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 32px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--fog);
}
.page-home .hero__fact-num {
  display: block;
  font-family: var(--font-num);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
}
.page-home .hero__fact-label {
  display: block;
  margin-top: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.page-home .hero__visual {
  position: relative;
}
.page-home .hero__figure {
  margin: 0;
  background: var(--green-deep);
  border: 1px solid var(--fog);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.page-home .hero__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: var(--night);
  border-left: 3px solid var(--red);
  color: var(--ivory);
}
.page-home .hero__badge-num {
  font-family: var(--font-num);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
}
.page-home .hero__badge-text {
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 232, 0.85);
}
.page-home .hero__badge-text b {
  color: var(--gold-pale);
}

/* 斜切分隔带 */
.page-home .band-cut {
  height: 22px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--green) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

/* ---------- 共通章节头 ---------- */
.page-home .sec-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}
.page-home .sec-head__idx {
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--red);
}
.page-home .sec-head__idx--on-dark {
  color: var(--gold);
}
.page-home .headline {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--green);
}
.page-home .headline--on-dark {
  color: var(--ivory);
}
.page-home .sec-head__note {
  margin: 0;
  max-width: 40em;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ---------- 02 牌面索引 ---------- */
.page-home .index-deck {
  padding: 54px 0 58px;
}
.page-home .deck {
  display: grid;
  gap: 14px;
}
.page-home .deck-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.page-home .deck-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.page-home .deck-card__inner {
  display: block;
  border: 1px solid var(--fog);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ivory-deep);
}
.page-home .deck-card__face {
  display: block;
  padding: 14px 16px;
}
.page-home .deck-card__face--front {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--ivory);
}
.page-home .deck-card__num {
  font-family: var(--font-num);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}
.page-home .deck-card__title {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.page-home .deck-card__face--back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: var(--ivory);
  border-top: 1px solid var(--fog);
}
.page-home .deck-card__text {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .deck-card__go {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
}

/* ---------- 03 房间 ---------- */
.page-home .rooms {
  padding: 54px 0;
  background: var(--ivory);
  border-top: 1px solid var(--fog);
}
.page-home .rooms__inner {
  display: grid;
  gap: 30px;
}
.page-home .rooms__lede {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.page-home .rooms__figure {
  margin: 24px 0;
  border: 1px solid var(--fog);
  background: var(--green-deep);
  overflow: hidden;
}
.page-home .rooms__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.page-home .rooms__figure figcaption {
  padding: 10px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--ivory-deep);
  border-top: 1px solid var(--fog);
}
.page-home .rooms__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .room-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 15px 8px;
  border-bottom: 1px solid var(--fog);
  transition: background 0.2s var(--ease-out);
}
.page-home .room-row:first-child {
  border-top: 1px solid var(--fog);
}
.page-home .room-row:hover {
  background: linear-gradient(90deg, rgba(232, 217, 168, 0.5), rgba(232, 217, 168, 0));
}
.page-home .room-row__num {
  font-family: var(--font-num);
  font-size: 0.95rem;
  color: var(--gold);
  padding-top: 3px;
}
.page-home .room-row__name {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--green);
}
.page-home .room-row__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .room-row__tag {
  grid-column: 2;
  justify-self: start;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  background: var(--gold-pale);
  color: var(--green-deep);
  border-radius: 999px;
}

/* ---------- 04 赛季 ---------- */
.page-home .season {
  position: relative;
  padding: 54px 0;
  background: var(--green);
  color: var(--ivory);
  overflow: hidden;
}
.page-home .season::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 242, 232, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 242, 232, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-home .season > .wrap {
  position: relative;
  z-index: 1;
}
.page-home .season__lede {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(247, 242, 232, 0.78);
}
.page-home .season__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  margin: 28px 0 4px;
}
.page-home .season__stat {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.page-home .season__stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1;
  color: var(--gold-pale);
}
.page-home .season__stat-label {
  display: block;
  margin-top: 9px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: rgba(247, 242, 232, 0.7);
}
.page-home .season__track {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 30px 0 40px;
  padding: 6px 0 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.page-home .season__track::-webkit-scrollbar {
  height: 6px;
}
.page-home .season__track::-webkit-scrollbar-thumb {
  background: rgba(232, 217, 168, 0.45);
  border-radius: 999px;
}
.page-home .phase {
  position: relative;
  flex: 0 0 78%;
  max-width: 262px;
  scroll-snap-align: start;
  padding-top: 16px;
  border-top: 2px solid rgba(232, 217, 168, 0.35);
}
.page-home .phase::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(53, 224, 200, 0.8);
}
.page-home .phase__week {
  display: block;
  font-family: var(--font-num);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--neon);
}
.page-home .phase__title {
  margin: 7px 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ivory);
}
.page-home .phase__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.72);
}
.page-home .season__body {
  display: grid;
  gap: 32px;
}
.page-home .season__sub {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ivory);
}
.page-home .season__sub:not(:first-child) {
  margin-top: 28px;
}
.page-home .rank-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}
.page-home .rank-row li {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid rgba(232, 217, 168, 0.45);
  color: var(--gold-pale);
  border-radius: 2px;
}
.page-home .rank-row li:last-child {
  background: var(--red);
  border-color: var(--red);
  color: var(--ivory);
}
.page-home .season__note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(247, 242, 232, 0.72);
}
.page-home .reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .reward-list li {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.78);
  padding-left: 14px;
  border-left: 2px solid rgba(201, 162, 39, 0.6);
}
.page-home .reward-list b {
  color: var(--ivory);
}
.page-home .season__figure {
  margin: 0;
  border: 1px solid rgba(232, 217, 168, 0.3);
  overflow: hidden;
}
.page-home .season__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.page-home .season__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 05 三步翻牌 ---------- */
.page-home .first-run {
  padding: 54px 0;
  background: var(--ivory);
}
.page-home .first-run__inner {
  display: grid;
  gap: 30px;
}
.page-home .first-run__lede {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.page-home .step-list {
  list-style: none;
  margin: 26px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .step-card {
  display: block;
}
.page-home .step-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.page-home .step-card__inner {
  display: block;
  border: 1px solid var(--fog);
  border-left: 3px solid var(--red);
  background: var(--ivory-deep);
}
.page-home .step-card__face {
  display: block;
  padding: 14px 16px;
}
.page-home .step-card__face--front {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.page-home .step-card__num {
  font-family: var(--font-num);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--red);
}
.page-home .step-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
}
.page-home .step-card__face--back {
  border-top: 1px dashed var(--fog);
  background: var(--ivory);
}
.page-home .step-card__text {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .first-run__figure {
  margin: 0;
  border: 1px solid var(--fog);
  background: var(--green-deep);
  overflow: hidden;
  clip-path: polygon(0 24px, 24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}
.page-home .first-run__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ---------- 06 服务承诺 ---------- */
.page-home .assure {
  padding: 52px 0 56px;
  background: var(--night);
  color: var(--ivory);
}
.page-home .assure__grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.page-home .assure__item {
  padding: 16px 0 0;
  border-top: 2px solid var(--red);
}
.page-home .assure__num {
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.page-home .assure__item h3 {
  margin: 8px 0;
  font-size: 1rem;
  color: var(--ivory);
}
.page-home .assure__item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(247, 242, 232, 0.7);
}
.page-home .assure__contact {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 232, 0.18);
}
.page-home .assure__contact-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(247, 242, 232, 0.8);
  word-break: break-word;
}
.page-home .assure__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .deck {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .room-row {
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 6px 16px;
  }
  .page-home .room-row__tag {
    grid-column: auto;
  }
  .page-home .assure__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 700px) {
  .page-home .step-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .step-card {
    position: relative;
    aspect-ratio: 1 / 1;
    perspective: 900px;
  }
  .page-home .step-card__inner {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    transform-style: preserve-3d;
    transition: transform 0.48s var(--ease-out);
  }
  .page-home .step-card__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--fog);
    border-left: 3px solid var(--red);
    background: var(--ivory-deep);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .page-home .step-card__face--front {
    align-items: flex-start;
  }
  .page-home .step-card__face--back {
    border-top: 1px solid var(--fog);
    background: var(--ivory);
    transform: rotateY(180deg);
  }
  .page-home .step-card:hover .step-card__inner,
  .page-home .step-card:focus-visible .step-card__inner {
    transform: rotateY(180deg);
  }
}

@media (min-width: 860px) {
  .page-home .season__stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .phase {
    flex: 0 0 220px;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: 32px 0 60px;
  }
  .page-home .hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 48px;
  }
  .page-home .hero__title {
    -webkit-text-stroke: 1px var(--gold);
  }
  .page-home .first-run__inner {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 52px;
  }
  .page-home .season__body {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }
  .page-home .assure__contact {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .rooms__inner {
    grid-template-columns: 5fr 7fr;
    gap: 52px;
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .page-home .deck {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .page-home .deck-card {
    position: relative;
    aspect-ratio: 3 / 4;
    perspective: 1100px;
  }
  .page-home .deck-card__inner {
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transform-style: preserve-3d;
    transition: transform 0.48s var(--ease-out);
  }
  .page-home .deck-card__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--fog);
    border-radius: 4px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .page-home .deck-card__num {
    font-size: 2rem;
  }
  .page-home .deck-card__face--back {
    background: var(--ivory);
    transform: rotateY(180deg);
  }
  .page-home .deck-card:hover .deck-card__inner,
  .page-home .deck-card:focus-visible .deck-card__inner {
    transform: rotateY(180deg);
  }
  .page-home .assure__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .deck-card__inner,
  .page-home .step-card__inner,
  .page-home .room-row {
    transition-duration: 0.01ms;
  }
}
