.page-home {
  --hp: clamp(18px, 4vw, 56px);
  --hw: 1240px;
  position: relative;
  overflow-x: hidden;
  background: var(--curtain);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
  color: var(--ivory);
}

.page-home h3 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  color: var(--ivory);
}

.page-home p {
  margin: 0 0 12px;
}

.page-home a {
  color: var(--blue);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(22px, 5vw, 56px) var(--hp) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(75% 58% at 88% 0%, rgba(255, 209, 102, 0.18), transparent 66%),
    radial-gradient(55% 45% at 0% 18%, rgba(76, 201, 240, 0.14), transparent 70%),
    radial-gradient(70% 55% at 42% 108%, rgba(123, 45, 107, 0.55), transparent 72%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 244, 230, 0.13) 1px, transparent 1px);
  background-size: 4px 4px;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--hw);
  margin: 0 auto;
  display: grid;
  gap: clamp(30px, 5vw, 46px);
}

.page-home .home-hero__lead .breadcrumbs {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mauve);
  margin-bottom: 14px;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 12px 0 18px;
  color: var(--ivory);
  text-shadow: 0 0 26px rgba(255, 209, 102, 0.22);
}

.page-home .home-hero__title span {
  display: inline-block;
  color: var(--gold);
  border-bottom: 4px solid rgba(255, 209, 102, 0.6);
  padding-bottom: 2px;
}

.page-home .home-hero__lede {
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.8;
  color: rgba(255, 244, 230, 0.88);
  max-width: 34em;
}

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

.page-home .home-hero__strip {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  border-top: 2px dashed rgba(185, 167, 196, 0.3);
  padding-top: 16px;
}

.page-home .home-hero__strip li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-hero__strip strong {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .home-hero__strip span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mauve);
}

/* 首屏右侧层叠 */
.page-home .hero-stack {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.page-home .hero-stack__shot {
  margin: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: var(--wine);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transform: rotate(1.4deg);
}

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

.page-home .hero-stack__card {
  position: relative;
  z-index: 2;
  margin: -56px 0 0 10px;
  padding: 16px 18px 18px;
  transform: rotate(-2deg);
}

.page-home .hero-stack__ver {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--gold);
}

.page-home .hero-stack__txt {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: rgba(255, 244, 230, 0.86);
}

/* ---------- 房间分区 ---------- */
.page-home .home-rooms {
  position: relative;
  padding: clamp(52px, 8vw, 96px) var(--hp);
  background: var(--wine);
  overflow: hidden;
}

.page-home .home-rooms__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-rooms__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.95);
}

.page-home .home-rooms__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--curtain) 0%, rgba(42, 10, 31, 0.78) 38%, var(--curtain) 100%);
}

.page-home .home-rooms__inner {
  position: relative;
  z-index: 1;
  max-width: var(--hw);
  margin: 0 auto;
}

.page-home .home-rooms__head {
  max-width: 46em;
}

.page-home .home-rooms__head p:not(.stage-label) {
  color: rgba(255, 244, 230, 0.85);
  font-size: 16px;
}

.page-home .room-list {
  list-style: none;
  margin: clamp(28px, 5vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.page-home .room-item {
  position: relative;
  padding: 22px 18px 20px;
  background: rgba(42, 10, 31, 0.86);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.page-home .room-item:hover {
  transform: translateY(-4px);
  box-shadow: 8px 10px 0 rgba(18, 6, 14, 0.9), 0 0 26px rgba(255, 209, 102, 0.26);
}

.page-home .room-item p {
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(255, 244, 230, 0.8);
  margin: 0 0 14px;
}

.page-home .room-item__no {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 32px;
  line-height: 1;
  color: rgba(255, 209, 102, 0.18);
}

/* ---------- 公告横幅 ---------- */
.page-home .home-bulletin {
  padding: clamp(52px, 8vw, 96px) var(--hp);
  background: linear-gradient(180deg, var(--curtain) 0%, #3a0d29 46%, var(--curtain) 100%);
}

.page-home .home-bulletin__inner {
  max-width: var(--hw);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.page-home .home-bulletin__art {
  margin: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: var(--wine);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

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

.page-home .home-bulletin__art .media__caption {
  display: block;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mauve);
  border-top: 2px solid rgba(18, 6, 14, 0.7);
  background: var(--ink);
}

.page-home .home-bulletin__lede {
  color: rgba(255, 244, 230, 0.85);
  font-size: 15.5px;
}

.page-home .bulletin-list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .bulletin-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(185, 167, 196, 0.22);
}

.page-home .bulletin-item .tag {
  justify-self: start;
}

.page-home .bulletin-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 244, 230, 0.9);
}

.page-home .bulletin-item__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mauve);
}

/* ---------- 资料与版本 ---------- */
.page-home .home-kit {
  padding: clamp(52px, 8vw, 96px) var(--hp);
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(76, 201, 240, 0.12), transparent 70%),
    var(--curtain);
}

.page-home .home-kit__head {
  max-width: var(--hw);
  margin: 0 auto 32px;
}

.page-home .home-kit__head p:not(.stage-label) {
  max-width: 44em;
  color: rgba(255, 244, 230, 0.85);
}

.page-home .kit-grid {
  max-width: var(--hw);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.page-home .kit-card {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--wine);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-home .kit-card__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--gold);
  padding: 2px 8px;
  margin-bottom: 12px;
  transform: skewX(-8deg);
}

.page-home .kit-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(255, 244, 230, 0.8);
}

.page-home .kit-meta {
  max-width: var(--hw);
  margin: 24px auto 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 14px 16px;
  border: 2px dashed rgba(185, 167, 196, 0.35);
}

.page-home .kit-meta p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mauve);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-kit > .btn {
  display: inline-block;
  margin: 0 auto;
}

.page-home .home-kit {
  text-align: left;
}

/* ---------- 回放 ---------- */
.page-home .home-replay {
  padding: clamp(52px, 8vw, 96px) var(--hp);
  background: linear-gradient(160deg, var(--curtain) 0%, #2f0b22 60%, var(--curtain) 100%);
}

.page-home .home-replay__inner {
  max-width: var(--hw);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.page-home .home-replay__art {
  margin: 0;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: var(--wine);
  overflow: hidden;
  transform: rotate(1.1deg);
}

.page-home .home-replay__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .home-replay__body p:not(.stage-label) {
  color: rgba(255, 244, 230, 0.85);
  font-size: 15.5px;
}

.page-home .replay-filters {
  list-style: none;
  margin: 18px 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .replay-filters li {
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  color: var(--ivory);
  border: 2px solid var(--blue);
  background: rgba(76, 201, 240, 0.1);
}

.page-home .home-replay__note {
  font-size: 14px !important;
  color: var(--mauve) !important;
  border-left: 3px solid var(--lime);
  padding-left: 14px;
}

/* ---------- 数据 ---------- */
.page-home .home-stats {
  padding: clamp(52px, 8vw, 96px) var(--hp);
  background: var(--curtain);
}

.page-home .home-stats__inner {
  max-width: var(--hw);
  margin: 0 auto;
}

.page-home .home-stats__head {
  max-width: 46em;
  margin-bottom: 30px;
}

.page-home .home-stats__head p:not(.stage-label) {
  color: rgba(255, 244, 230, 0.85);
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(185, 167, 196, 0.22);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: var(--wine);
}

.page-home .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
  color: var(--gold);
  border-bottom: 3px solid rgba(255, 209, 102, 0.5);
  padding-bottom: 6px;
  align-self: flex-start;
}

.page-home .stat__lbl {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mauve);
}

.page-home .home-stats__foot {
  margin-top: 22px;
  font-size: 14px;
  color: var(--mauve);
  max-width: 52em;
}

.page-home .home-stats__foot a {
  color: var(--blue);
  text-underline-offset: 4px;
}

/* ---------- 帮助与联络 ---------- */
.page-home .home-help {
  padding: clamp(52px, 8vw, 96px) var(--hp) clamp(60px, 9vw, 104px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 159, 28, 0.14), transparent 68%),
    #22081a;
}

.page-home .home-help__inner {
  max-width: var(--hw);
  margin: 0 auto;
}

.page-home .home-help__title {
  margin-bottom: 28px;
}

.page-home .home-help__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.page-home .help-card {
  padding: 22px 20px 24px;
  background: var(--wine);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.page-home .help-card--accent {
  background: #5a1237;
  border-color: rgba(255, 209, 102, 0.55);
}

.page-home .help-card h3 {
  margin-top: 4px;
}

.page-home .help-card p:not(.stage-label) {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 244, 230, 0.82);
  margin-bottom: 18px;
}

.page-home .help-card .btn {
  display: inline-block;
}

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

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

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

  .page-home .bulletin-item {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 14px;
  }

  .page-home .bulletin-item__time {
    padding-top: 3px;
    white-space: nowrap;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .hero-stack {
    max-width: none;
  }

  .page-home .home-bulletin__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-home .home-replay__inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: center;
    gap: 44px;
  }

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

@media (min-width: 1024px) {
  .page-home .room-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .room-item:nth-child(odd) {
    transform: rotate(-0.7deg);
  }

  .page-home .room-item:nth-child(even) {
    transform: rotate(0.7deg);
  }

  .page-home .room-item:nth-child(odd):hover {
    transform: rotate(-0.7deg) translateY(-4px);
  }

  .page-home .room-item:nth-child(even):hover {
    transform: rotate(0.7deg) translateY(-4px);
  }

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

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

  .page-home .hero-stack__card {
    margin: -64px 0 0 -18px;
    max-width: 300px;
  }
}
