.page-home {
  --home-gold-glow: rgba(212, 175, 55, 0.35);
  --home-emerald-soft: rgba(11, 110, 79, 0.16);
  background: var(--ivory);
}

.page-home [id] {
  scroll-margin-top: 84px;
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(11, 110, 79, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 36px 0 72px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -18%;
  width: 66%;
  height: 124%;
  background:
    radial-gradient(circle at 68% 26%, rgba(240, 230, 140, 0.24), transparent 36%),
    linear-gradient(135deg, var(--emerald), var(--ink-jade));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 4% 100%);
  z-index: 0;
}

.page-home .home-hero__goldline {
  position: absolute;
  top: -12%;
  right: 24%;
  width: 10px;
  height: 130%;
  background: linear-gradient(180deg, rgba(240, 230, 140, 0.9), rgba(212, 175, 55, 0.95));
  transform: rotate(24deg);
  transform-origin: top center;
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.5);
  z-index: 0;
  pointer-events: none;
}

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

.page-home .home-hero__context {
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  padding: 6px 14px;
  border: 1px solid rgba(74, 85, 104, 0.22);
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.72);
  margin: 0 0 20px;
}

.page-home .home-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-hero__copy {
  max-width: 560px;
}

.page-home .home-hero__kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--emerald);
  margin-bottom: 14px;
}

.page-home .home-hero__copy h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.page-home .home-hero__lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 520px;
  margin: 0;
}

.page-home .home-hero__lead strong {
  color: var(--ink-jade);
  font-weight: 700;
}

.page-home .home-hero__quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.page-home .home-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(253, 251, 247, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-jade);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.page-home .home-quick-link:hover {
  transform: translateY(-2px);
  border-color: var(--royal-gold);
  background: var(--ivory);
  box-shadow: var(--shadow-md);
}

.page-home .home-quick-link__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--royal-gold);
  letter-spacing: 0.06em;
}

.page-home .home-hero__visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.page-home .home-hero__frame {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: var(--ink-jade);
  box-shadow: 0 28px 66px rgba(6, 46, 30, 0.3);
  overflow: hidden;
}

.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240, 230, 140, 0.16), transparent 42%, rgba(6, 46, 30, 0.36));
  pointer-events: none;
}

.page-home .home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* 漂浮麻将牌 */
.page-home .home-tile {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(253, 251, 247, 0.96), rgba(230, 244, 241, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.65);
  color: var(--emerald);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(6, 46, 30, 0.18);
  opacity: 0;
  animation-name: pageHomeTileDrift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  z-index: 2;
}

.page-home .home-tile:hover {
  background: var(--gold-gradient);
  color: var(--ink-jade);
  border-color: var(--royal-gold);
}

.page-home .home-tile--1 {
  top: 2%;
  left: -18px;
  animation-duration: 9s;
  animation-delay: -1.2s;
}

.page-home .home-tile--2 {
  top: 30%;
  right: -16px;
  animation-duration: 8s;
  animation-delay: -4.4s;
}

.page-home .home-tile--3 {
  bottom: 18%;
  left: -24px;
  animation-duration: 10s;
  animation-delay: -6.8s;
}

.page-home .home-tile--4 {
  bottom: 2%;
  right: 12%;
  animation-duration: 7.5s;
  animation-delay: -2.6s;
}

@keyframes pageHomeTileDrift {
  0% {
    transform: translate3d(70px, 10px, 0) rotate(20deg) scale(0.92);
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  30% {
    transform: translate3d(14px, 0, 0) rotate(6deg) scale(1);
  }
  70% {
    transform: translate3d(-10px, -16px, 0) rotate(-4deg) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-56px, -30px, 0) rotate(-14deg) scale(0.96);
    opacity: 0;
  }
}

/* ===== 通用内容带 ===== */
.page-home .home-section {
  padding: 64px 0;
}

.page-home .home-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--royal-gold);
  margin-bottom: 12px;
}

.page-home .home-section__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-gradient);
}

.page-home .home-section h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 16px;
}

.page-home .home-section__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  max-width: 620px;
  margin: 0 0 24px;
}

/* ===== 内容带 01：结算明细 ===== */
.page-home .home-section--settlement {
  background: var(--mist);
}

.page-home .home-settlement__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-settlement__card {
  margin: 0;
  background: var(--ivory);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.page-home .home-settlement__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.page-home .home-settlement__season {
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-gold);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.page-home .home-settlement__card img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-settlement__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--slate);
  border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.page-home .home-settlement__caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--royal-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  flex: 0 0 auto;
}

.page-home .home-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.page-home .home-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--slate);
}

.page-home .home-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 内容带 02：房间与版本切换 ===== */
.page-home .home-section--room {
  background:
    radial-gradient(circle at 86% 8%, rgba(212, 175, 55, 0.16), transparent 40%),
    linear-gradient(165deg, var(--ink-jade), var(--charcoal) 78%);
  color: var(--ivory);
}

.page-home .home-section--room h2 {
  color: var(--ivory);
}

.page-home .home-section--room .home-section__lead {
  color: rgba(253, 251, 247, 0.88);
}

.page-home .home-room__layout {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-room__content {
  max-width: 560px;
}

.page-home .home-room-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-home .home-room-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: rgba(253, 251, 247, 0.9);
}

.page-home .home-room-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--royal-gold);
  border-radius: 50%;
}

.page-home .home-room__milestone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.22);
  font-size: 14px;
  color: rgba(253, 251, 247, 0.9);
  margin: 4px 0 24px;
}

.page-home .home-room__milestone-year {
  font-weight: 900;
  color: var(--royal-gold);
  letter-spacing: 0.04em;
}

.page-home .home-room__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-section--room .btn--ghost {
  border-color: rgba(253, 251, 247, 0.6);
  color: var(--ivory);
}

.page-home .home-section--room .btn--ghost:hover {
  border-color: var(--royal-gold);
  color: var(--royal-gold);
}

.page-home .home-room__visual {
  margin: 0;
  position: relative;
  max-width: 300px;
  justify-self: center;
  text-align: center;
}

.page-home .home-room__tablet {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: #0f1d18;
  box-shadow: 0 30px 70px rgba(2, 18, 12, 0.5);
}

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

.page-home .home-room__switch {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0e68c, #d4af37);
  color: var(--ink-jade);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.page-home .home-room__caption {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(253, 251, 247, 0.72);
  letter-spacing: 0.06em;
}

/* ===== 内容带 03：服务范围变更说明 ===== */
.page-home .home-section--scope {
  background:
    radial-gradient(circle at 86% 22%, rgba(230, 244, 241, 0.9), transparent 34%),
    var(--ivory);
}

.page-home .home-scope__head {
  max-width: 720px;
}

.page-home .home-scope-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.page-home .home-scope-card {
  background: rgba(253, 251, 247, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .home-scope-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.65);
}

.page-home .home-scope-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--emerald), var(--ink-jade));
  color: var(--royal-gold);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-home .home-scope-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.page-home .home-scope-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}

.page-home .home-scope__panel {
  position: relative;
  margin: 40px 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--mist);
  box-shadow: var(--shadow-sm);
}

.page-home .home-scope__panel img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-scope__panel figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(6, 46, 30, 0.84);
  color: var(--ivory);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.42);
}

.page-home .home-scope__action {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 8px 0 0;
}

.page-home .home-scope__link {
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 110, 79, 0.3);
  padding-bottom: 2px;
}

/* ===== 内容带 04：品牌核心数字与信任标志 ===== */
.page-home .home-section--trust {
  position: relative;
  background:
    radial-gradient(circle at 14% 10%, rgba(11, 110, 79, 0.7), transparent 44%),
    radial-gradient(circle at 88% 88%, rgba(6, 78, 59, 0.5), transparent 42%),
    var(--charcoal);
  color: var(--ivory);
  padding-bottom: 96px;
}

.page-home .home-section--trust::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0.9;
}

.page-home .home-section--trust h2 {
  color: var(--ivory);
}

.page-home .home-section--trust .home-section__lead {
  color: rgba(253, 251, 247, 0.82);
}

.page-home .home-trust__head {
  max-width: 720px;
}

.page-home .home-trust__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(212, 175, 55, 0.24);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 36px 0;
}

.page-home .home-trust__stat {
  background: #223039;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.page-home .home-trust__stat-num {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  background-image: linear-gradient(90deg, #f0e68c, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-trust__stat-label {
  font-size: 14px;
  color: rgba(253, 251, 247, 0.78);
}

.page-home .home-trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.page-home .home-trust__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(11, 110, 79, 0.14);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ivory);
}

.page-home .home-trust__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--royal-gold);
  flex: 0 0 auto;
}

.page-home .home-trust__note {
  background: rgba(6, 78, 59, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 4px solid var(--royal-gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 15px;
  color: rgba(253, 251, 247, 0.92);
  max-width: 720px;
}

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

.page-home .home-section--trust .btn--ghost {
  border-color: rgba(253, 251, 247, 0.6);
  color: var(--ivory);
}

.page-home .home-section--trust .btn--ghost:hover {
  border-color: var(--royal-gold);
  color: var(--royal-gold);
}

/* ===== 桌面端 ===== */
@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 80px 0 120px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 60px;
  }

  .page-home .home-hero__copy h1 {
    font-size: 60px;
  }

  .page-home .home-hero__lead {
    font-size: 18px;
  }

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

  .page-home .home-hero__visual {
    justify-self: end;
    max-width: 480px;
  }

  .page-home .home-section {
    padding: 96px 0;
  }

  .page-home .home-section h2 {
    font-size: 38px;
  }

  .page-home .home-settlement__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .page-home .home-room__layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 60px;
  }

  .page-home .home-room__visual {
    justify-self: end;
    max-width: 300px;
  }

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

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

  .page-home .home-trust__stat-num {
    font-size: 58px;
  }
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-tile,
  .page-home .home-hero__goldline {
    animation: none !important;
    transition: none !important;
  }
}
