/* ===== 皇冠竞技 · 主页专属样式 ===== */
.page-home {
  --home-gold: #f2b705;
  --home-neon: #39ff14;
  --home-cyan: #00e5ff;
}

.page-home .media-frame__media {
  width: 100%;
  object-fit: cover;
}

/* --- 首屏框景 --- */
.page-home__hero {
  position: relative;
  padding: 28px 0 18px;
  background: var(--color-navy);
  overflow: hidden;
}
.page-home__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 88%);
  mask-image: linear-gradient(to right, #000, transparent 88%);
}
.page-home__frame {
  position: relative;
  padding: 24px 18px 14px;
  border: 1px solid rgba(242, 183, 5, .45);
  background: rgba(27, 42, 74, .5);
}
.page-home__scanlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-home__hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  align-items: center;
}
.page-home__hero-copy {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.page-home__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}
.page-home__eyebrow .cat-tag {
  border-color: rgba(242, 183, 5, .7);
  color: var(--home-gold);
}
.page-home__eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--home-cyan);
  text-transform: uppercase;
}
.page-home__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-neon);
  box-shadow: 0 0 12px rgba(57, 255, 20, .8);
  animation: page-home-pulse 1.6s ease-in-out infinite;
}
@keyframes page-home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.72); }
}
.page-home__hero-copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--color-ivory);
}
.page-home__hero-copy h1 small {
  display: block;
  margin-top: .4em;
  font-family: var(--font-sub);
  font-size: .52em;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: none;
  color: var(--home-gold);
}
.page-home__hero-desc {
  margin: 0;
  max-width: 56ch;
  font-family: var(--font-body);
  font-size: .94rem;
  line-height: 1.75;
  color: rgba(245, 240, 230, .8);
}
.page-home__countdown {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  margin-top: 2px;
  border-left: 3px solid var(--home-gold);
  background: rgba(0, 0, 0, .28);
}
.page-home__countdown-label {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--home-cyan);
}
.page-home__countdown-time {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--color-ivory);
  font-variant-numeric: tabular-nums;
}
.page-home__countdown-caption {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--color-mist);
}
.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.page-home__hero-figure,
.page-home__triage-figure,
.page-home__vault-figure,
.page-home__mobile-figure {
  margin: 0;
}
.page-home .media-frame__caption {
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--color-mist);
}
.page-home__ruler {
  margin-top: 18px;
}

/* --- 页内目录 --- */
.page-home__toc {
  margin-top: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(242, 183, 5, .25);
  overflow-x: auto;
}
.page-home__toc-inner {
  display: flex;
  gap: 8px;
  min-width: max-content;
}
.page-home__toc a {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--color-mist);
  text-decoration: none;
  transition: color .3s, border-color .3s, background .3s;
}
.page-home__toc a:hover {
  color: var(--home-gold);
}
.page-home__toc a.is-active {
  color: var(--home-gold);
  border-color: rgba(242, 183, 5, .45);
  background: rgba(242, 183, 5, .08);
}

/* --- 游戏库 Bento --- */
.page-home__library {
  position: relative;
  padding: 56px 0 44px;
  background: var(--color-navy);
}
.page-home__flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  pointer-events: none;
  opacity: .7;
}
.page-home__flow svg {
  width: 100%;
  height: 100%;
}
.page-home__library .section-heading {
  margin-bottom: 24px;
}
.page-home__bento {
  gap: 14px;
}
.page-home__bento .dossier-card {
  position: relative;
  height: 100%;
  padding: 20px 18px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(0, 229, 255, .09), transparent 46%),
    var(--color-midnight);
  border: 1px solid rgba(156, 163, 175, .18);
}
.page-home__bento .dossier-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-gold), var(--home-neon), var(--home-cyan));
  opacity: 0;
  transition: opacity .3s;
}
.page-home__bento .dossier-card:hover::after {
  opacity: 1;
}
.page-home__bento-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 14px 0 6px;
  color: var(--color-ivory);
}
.page-home__num-lg {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
}
.page-home__num-plus {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--home-gold);
}
.page-home__bento-meta {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--color-mist);
}
.page-home__bento-link {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  color: var(--home-cyan);
  text-decoration: none;
}
.page-home__bento-link:hover {
  color: var(--home-gold);
}
.page-home__genre-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.page-home__genre-list li {
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(156, 163, 175, .22);
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 500;
  color: var(--color-ivory);
}
.page-home__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.page-home__tag-cloud li {
  padding: 6px 9px;
  border: 1px solid rgba(57, 255, 20, .35);
  background: rgba(57, 255, 20, .08);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--home-neon);
}
.page-home__fresh-title {
  margin: 14px 0 4px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ivory);
}
.page-home__fresh-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--home-neon);
}

/* --- 三步低配筛选 --- */
.page-home__triage {
  position: relative;
  padding: 60px 0 52px;
  background:
    linear-gradient(120deg, rgba(123, 47, 190, .15), transparent 42%),
    var(--color-navy);
  overflow: hidden;
}
.page-home__triage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--home-gold), var(--home-neon), var(--home-cyan));
}
.page-home__triage-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
}
.page-home__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home__step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 16px;
  border: 1px solid rgba(242, 183, 5, .22);
  background: rgba(10, 17, 40, .58);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
}
.page-home__step:hover {
  transform: translateX(6px);
  border-color: rgba(242, 183, 5, .6);
  background: rgba(27, 42, 74, .75);
}
.page-home__step-index {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--home-gold);
  opacity: .9;
}
.page-home__step-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--color-ivory);
}
.page-home__step-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(245, 240, 230, .74);
}

/* --- 攻略收藏浅色区 --- */
.page-home__vault {
  position: relative;
  padding: 62px 0 56px;
  background: var(--color-ivory);
}
.page-home__vault::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--home-gold), var(--home-neon), var(--home-cyan));
}
.page-home__vault .section-heading h2 {
  color: var(--color-ink);
}
.page-home__vault .section-lead {
  color: var(--color-violet);
}
.page-home__vault .section-heading > p:last-child {
  color: #45505f;
}
.page-home__vault .media-frame__caption {
  color: var(--color-ink);
}
.page-home__vault-grid {
  display: grid;
  gap: 16px;
  margin: 26px 0 22px;
}
.page-home__guide-card {
  position: relative;
  padding: 22px 20px;
  border: 1px solid rgba(31, 41, 55, .14);
  background: #fffdf8;
  box-shadow: 0 2px 0 rgba(31, 41, 55, .06), 0 14px 32px -22px rgba(10, 17, 40, .45);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.page-home__guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 0 rgba(31, 41, 55, .07), 0 20px 36px -24px rgba(10, 17, 40, .55);
}
.page-home__guide-card .cat-tag {
  margin-bottom: 12px;
  color: var(--color-violet);
  border-color: rgba(123, 47, 190, .35);
}
.page-home__guide-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-sub);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-ink);
}
.page-home__guide-excerpt {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: .86rem;
  line-height: 1.7;
  color: #3d4a5c;
}
.page-home__guide-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  color: var(--color-violet);
  text-decoration: none;
  transition: color .3s;
}
.page-home__guide-link:hover {
  color: var(--color-midnight);
}

/* --- 运行指标 --- */
.page-home__metrics {
  padding: 44px 0;
  background: #080d1f;
  border-top: 1px solid rgba(242, 183, 5, .2);
  border-bottom: 1px solid rgba(0, 229, 255, .18);
}
.page-home__metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.page-home__metric {
  display: grid;
  gap: 6px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid rgba(242, 183, 5, .4);
  text-align: left;
}
.page-home__metric-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-ivory);
}
.page-home__metric-num span {
  color: var(--home-gold);
}
.page-home__metric-label {
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--color-mist);
}

/* --- 移动端提示 --- */
.page-home__mobile {
  position: relative;
  padding: 58px 0 64px;
  background: var(--color-navy);
  overflow: hidden;
}
.page-home__mobile::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 229, 255, .16), transparent 68%);
  pointer-events: none;
}
.page-home__mobile-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  align-items: center;
}
.page-home__mobile-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.page-home__mobile-copy .cat-tag {
  border-color: rgba(242, 183, 5, .65);
  color: var(--home-gold);
}
.page-home__mobile-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-ivory);
}
.page-home__mobile-copy p {
  margin: 0;
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(245, 240, 230, .78);
}
.page-home__mobile-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home__mobile-list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-ivory);
}
.page-home__mobile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 10px;
  height: 2px;
  background: var(--home-gold);
  box-shadow: 0 0 8px rgba(242, 183, 5, .7);
}

/* --- 联系入口 --- */
.page-home__reach {
  padding: 34px 0 44px;
  background: var(--color-midnight);
}
.page-home__reach-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 24px;
  border: 1px solid rgba(0, 229, 255, .3);
  background: linear-gradient(120deg, rgba(0, 229, 255, .08), rgba(123, 47, 190, .14));
}
.page-home__reach-box h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-ivory);
}
.page-home__reach-box p {
  margin: 0;
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, .72);
}

/* --- 桌面端布局增强 --- */
@media (min-width: 760px) {
  .page-home__triage-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  }
  .page-home__mobile-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .page-home__reach-box {
    flex-direction: row;
    align-items: center;
  }
  .page-home__reach-box .btn {
    flex-shrink: 0;
  }
  .page-home__metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 980px) {
  .page-home__hero {
    padding: 44px 0 24px;
  }
  .page-home__frame {
    padding: 38px 30px 16px;
  }
  .page-home__hero-body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 32px;
  }
  .page-home__hero-copy {
    gap: 14px;
  }
  .page-home__hero-desc {
    font-size: 1rem;
  }
  .page-home__triage {
    padding: 72px 0 64px;
  }
  .page-home__triage-grid {
    margin-top: 34px;
  }
  .page-home__steps {
    gap: 16px;
  }
  .page-home__step {
    padding: 22px 20px;
  }
  .page-home__vault {
    padding: 72px 0 64px;
  }
  .page-home__vault-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home__mobile {
    padding: 72px 0 80px;
  }
  .page-home__mobile-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .page-home__reach {
    padding: 40px 0 52px;
  }
}
