.page-home {
  --home-glow-violet: rgba(123, 92, 224, .16);
  --home-glow-amber: rgba(224, 138, 60, .12);
  color: var(--ivory);
  overflow-x: clip;
}

.page-home p,
.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
}

/* ============ 首屏 ============ */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(108px, 16vw, 176px) 0 clamp(40px, 6vw, 68px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(18, 38, 63, .92) 0%, rgba(10, 22, 38, 0) 68%),
    radial-gradient(70% 50% at 82% 22%, var(--home-glow-violet) 0%, rgba(10, 22, 38, 0) 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-void) 100%);
}

.page-home .hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: .18;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, 0) 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, 0) 72%);
}

.page-home .hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 68% 32%;
}

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

.page-home .hero__ctx {
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--stone);
}

.page-home .hero__title {
  margin: 22px auto 0;
  max-width: 940px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ivory);
  text-shadow: 0 1px 0 rgba(201, 162, 74, .5), 0 0 46px rgba(201, 162, 74, .16);
}

.page-home .hero__rule {
  position: relative;
  width: min(420px, 70%);
  height: 1px;
  margin: 28px auto 22px;
  background: linear-gradient(90deg, rgba(201, 162, 74, 0) 0%, var(--line-gold) 24%, var(--gold) 50%, var(--line-gold) 76%, rgba(201, 162, 74, 0) 100%);
}

.page-home .hero__rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg-deep);
  border: 1px solid var(--gold);
}

.page-home .hero__lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(242, 237, 227, .82);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ============ 订阅面板带 ============ */
.page-home .panel-band {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 38, 63, .96) 0%, rgba(14, 30, 51, .92) 100%);
}

.page-home .panel-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 74, 0) 0%, var(--gold) 28%, var(--gold-lit) 50%, var(--gold) 72%, rgba(201, 162, 74, 0) 100%);
}

.page-home .panel-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
  padding: 24px 0;
}

.page-home .panel-band__figure {
  flex: 1 1 100%;
  margin: 0;
  height: 104px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: var(--bg-panel-2);
}

.page-home .panel-band__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .panel-band__lead {
  flex: 1 1 200px;
}

.page-home .panel-band__title {
  margin-top: 8px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ivory);
}

.page-home .panel-band__facts {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  gap: 12px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .panel-band__facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.page-home .panel-band__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-lit);
  text-shadow: 0 1px 0 rgba(201, 162, 74, .6);
}

.page-home .panel-band__unit {
  font-size: 13px;
  color: var(--stone);
}

/* ============ 三道门 ============ */
.page-home .doors {
  padding: clamp(52px, 8vw, 92px) 0 clamp(48px, 7vw, 84px);
}

.page-home .doors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
  align-items: start;
}

.page-home .door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, rgba(18, 38, 63, .92) 0%, rgba(10, 22, 38, .92) 100%);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  transition: transform var(--t-base) ease, border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}

.page-home .door--panel {
  border-top-color: var(--violet);
}

.page-home .door--rules {
  border-top-color: var(--clay);
}

.page-home .door:hover,
.page-home .door:focus-within {
  transform: translateY(-2px);
  border-color: var(--gold-lit);
  box-shadow: 0 20px 44px -30px rgba(201, 162, 74, .9);
}

.page-home .door__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--stone);
}

.page-home .door__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ivory);
}

.page-home .door__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 237, 227, .76);
}

.page-home .door__extra {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gold-lit);
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}

.page-home .door__link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--violet-lit);
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 92, 224, .35);
  align-self: flex-start;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-home .door__link:hover,
.page-home .door__link:focus-visible {
  color: var(--gold-lit);
  border-color: var(--gold);
}

/* ============ 五步 ============ */
.page-home .start {
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 15, 27, 0) 0%, rgba(18, 38, 63, .38) 45%, rgba(8, 15, 27, 0) 100%);
}

.page-home .start__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.page-home .start__figure {
  position: relative;
  margin: 0;
  max-width: 460px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  background: var(--bg-panel-2);
}

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

.page-home .start__body .section-desc {
  margin-top: 14px;
}

.page-home .steps {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .steps__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .steps__item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .steps__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--amber);
  border: 1px solid rgba(224, 138, 60, .55);
  background: rgba(224, 138, 60, .08);
}

.page-home .steps__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ivory);
}

.page-home .steps__text {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 237, 227, .72);
}

/* ============ 当季面板内容 ============ */
.page-home .season {
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid var(--line-soft);
}

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

.page-home .season__lead {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(242, 237, 227, .76);
}

.page-home .season__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}

.page-home .season__item {
  padding: 22px 20px;
  background: rgba(18, 38, 63, .55);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--violet);
  transition: border-color var(--t-base) ease, background var(--t-base) ease;
}

.page-home .season__item:hover {
  border-color: var(--line-gold);
  border-left-color: var(--gold-lit);
  background: rgba(18, 38, 63, .88);
}

.page-home .season__item-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ivory);
}

.page-home .season__item-text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(242, 237, 227, .7);
}

/* ============ 老玩家回归 ============ */
.page-home .return {
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(120deg, var(--home-glow-violet) 0%, rgba(10, 22, 38, 0) 58%);
}

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

.page-home .return__node {
  position: relative;
  padding: 24px 20px 24px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .return__node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}

.page-home .return__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: rgba(167, 148, 240, .9);
}

.page-home .return__title {
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ivory);
}

.page-home .return__text {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 237, 227, .74);
}

.page-home .return__foot {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .return__foot a {
  color: var(--violet-lit);
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 92, 224, .4);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-home .return__foot a:hover,
.page-home .return__foot a:focus-visible {
  color: var(--gold-lit);
  border-color: var(--gold);
}

/* ============ 本季上新 ============ */
.page-home .now {
  border-top: 1px solid var(--line-soft);
  padding-bottom: clamp(52px, 8vw, 92px);
}

.page-home .now__banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-gold);
  background: var(--bg-void);
}

.page-home .now__banner img {
  display: block;
  width: 100%;
  height: clamp(140px, 26vw, 250px);
  max-width: 100%;
  object-fit: cover;
}

.page-home .now__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 38, .5) 0%, rgba(10, 22, 38, .08) 42%, rgba(10, 22, 38, .88) 100%);
  pointer-events: none;
}

.page-home .now .shell {
  padding-top: clamp(36px, 5vw, 56px);
}

.page-home .now__list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .now__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .now__item:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-home .now__time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .now__text {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(242, 237, 227, .82);
}

.page-home .now__more {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .now__more a {
  color: var(--violet-lit);
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 92, 224, .4);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-home .now__more a:hover,
.page-home .now__more a:focus-visible {
  color: var(--gold-lit);
  border-color: var(--gold);
}

/* ============ 规模数字 ============ */
.page-home .figures {
  padding: clamp(52px, 8vw, 92px) 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 38, 63, .6) 0%, rgba(8, 15, 27, 0) 100%);
}

.page-home .figures__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .figures__cell {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line-gold);
}

.page-home .figures__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--gold-lit);
  text-shadow: 0 1px 0 rgba(201, 162, 74, .55);
}

.page-home .figures__unit {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone);
}

.page-home .figures__label {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(242, 237, 227, .68);
}

/* ============ 尾部出口 ============ */
.page-home .outs {
  padding: clamp(44px, 6vw, 72px) 0 clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--line-soft);
}

.page-home .outs__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ivory);
}

.page-home .outs__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}

.page-home .outs__link {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  text-decoration: none;
  background: rgba(18, 38, 63, .45);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--clay);
  transition: transform var(--t-base) ease, border-color var(--t-base) ease, background var(--t-base) ease;
}

.page-home .outs__link:hover,
.page-home .outs__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-gold);
  border-left-color: var(--gold-lit);
  background: rgba(18, 38, 63, .82);
}

.page-home .outs__link-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--gold-lit);
}

.page-home .outs__link-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 237, 227, .72);
}

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

@media (min-width: 700px) {
  .page-home .panel-band__figure {
    flex: 0 0 148px;
    height: 78px;
  }
}

@media (min-width: 760px) {
  .page-home .hero__bg {
    left: auto;
    width: 58%;
    opacity: .3;
    -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 44%, #000 100%);
    mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 44%, #000 100%);
  }
}

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

  .page-home .return__node {
    padding: 26px 26px 8px 0;
  }

  .page-home .return__node + .return__node {
    padding-left: 26px;
  }
}

@media (min-width: 860px) {
  .page-home .season__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }

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

  .page-home .figures__cell {
    padding: 20px 20px 4px;
    border-top: none;
    border-left: 1px solid var(--line-soft);
  }

  .page-home .figures__cell:first-child {
    border-left: none;
    padding-left: 0;
  }
}

@media (min-width: 880px) {
  .page-home .doors__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 58px;
  }

  .page-home .doors__grid > .door:nth-child(2) {
    margin-top: 30px;
  }

  .page-home .doors__grid > .door:nth-child(3) {
    margin-top: 58px;
  }

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

@media (min-width: 900px) {
  .page-home .start__inner {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 60px;
  }
}

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

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

@media (hover: hover) and (min-width: 880px) {
  .page-home .door__extra {
    max-height: 0;
    padding-left: 0;
    opacity: 0;
    overflow: hidden;
    border-left-color: rgba(201, 162, 74, 0);
    transition: max-height var(--t-base) ease, opacity var(--t-base) ease, padding-left var(--t-base) ease, border-color var(--t-base) ease;
  }

  .page-home .door:hover .door__extra,
  .page-home .door:focus-within .door__extra {
    max-height: 7em;
    padding-left: 10px;
    opacity: 1;
    border-left-color: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .door,
  .page-home .outs__link,
  .page-home .door__extra {
    transition: none;
  }

  .page-home .door:hover,
  .page-home .door:focus-within,
  .page-home .outs__link:hover,
  .page-home .outs__link:focus-visible {
    transform: none;
  }
}
