.page-home {
  --ph-cream: var(--c-cream);
  --ph-navy: var(--c-navy);
  --ph-accent: var(--c-terracotta);
  --ph-gold: var(--c-gold);
  --ph-moss: var(--c-moss);
  --ph-ink: var(--c-ink);
  --ph-mist: var(--c-mist);
  --ph-card: #FFFFFF;
  --ph-radius: var(--radius-sm);

  position: relative;
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.page-home__section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.page-home__section-head h2 {
  margin: 0.6rem 0 0.75rem;
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem);
}

.page-home__section-head .section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 56ch;
}

/* ============ 首屏：向每位玩家敞开的大门 ============ */
.page-home__hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  background: var(--ph-cream);
  overflow: hidden;
}

.page-home__terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.page-home__hero-copy {
  max-width: 54ch;
}

.page-home__hero-copy .section-kicker {
  color: var(--ph-accent);
}

.page-home__hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.15rem, 1.55rem + 3vw, 3.4rem);
  text-wrap: balance;
}

.page-home__hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.page-home__hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home__hero-stats .stat-panel {
  flex: 1 1 30%;
  min-width: 7.5rem;
  padding: 1rem 0.85rem;
  background: var(--ph-card);
  border: var(--line);
  border-radius: var(--ph-radius);
}

.page-home__hero-stats .stat-panel-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 1.7rem);
  margin: 0.35rem 0 0;
  color: var(--ph-navy);
  overflow-wrap: anywhere;
}

.page-home__hero-visual {
  position: relative;
}

.page-home__hero-visual::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: 16%;
  background: var(--ph-navy);
  clip-path: polygon(8% 0, 100% 0, 100% 90%, 0 100%);
}

.page-home__hero-visual::after {
  content: "";
  position: absolute;
  left: -0.75rem;
  bottom: -0.75rem;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--ph-gold);
  transform: rotate(14deg);
}

.page-home__hero-frame {
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 40px rgba(26, 32, 44, 0.18);
}

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

.page-home__status-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--ph-cream);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ph-navy);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* ============ 订阅服务最新动态 ============ */
.page-home__subscribe {
  padding: 3.5rem 0;
  background: var(--bg-body);
  border-top: var(--line);
}

.page-home__subscribe-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home__subscribe-panels {
  display: grid;
  gap: 0.75rem;
}

.page-home__sub-card {
  padding: 1.4rem;
  border: var(--line);
  border-radius: var(--radius-md);
  background: var(--ph-card);
}

.page-home__sub-card .site-tag {
  margin-bottom: 0.75rem;
}

.page-home__sub-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.page-home__sub-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-home__subscribe-figure {
  max-width: 400px;
  margin-inline: auto;
}

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

/* ============ 帮助中心查配置指南 ============ */
.page-home__help {
  position: relative;
  padding: 3.5rem 0;
  background: var(--ph-navy);
  color: var(--ph-cream);
  overflow: hidden;
}

.page-home__help::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 8rem;
  height: 8rem;
  background: var(--ph-gold);
  opacity: 0.06;
  transform: rotate(45deg);
}

.page-home__help .section-kicker {
  color: var(--ph-gold);
}

.page-home__help .section-subtitle {
  color: rgba(249, 246, 240, 0.78);
}

.page-home__help h2 {
  color: var(--ph-cream);
}

.page-home__help-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.page-home__help-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.page-home__help-steps li {
  position: relative;
  padding: 0.9rem 0.5rem 0.9rem 2.6rem;
  border-bottom: 1px solid rgba(249, 246, 240, 0.16);
  color: rgba(249, 246, 240, 0.9);
  line-height: 1.55;
}

.page-home__help-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ph-gold);
}

.page-home__help-steps li:first-child {
  border-top: 1px solid rgba(249, 246, 240, 0.16);
}

.page-home__console {
  border: 1px solid rgba(249, 246, 240, 0.24);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.page-home__console-head {
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(249, 246, 240, 0.26);
  color: var(--ph-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-home__console-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home__console-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(249, 246, 240, 0.1);
}

.page-home__console-list li:last-child {
  border-bottom: 0;
}

.page-home__console-list span {
  color: rgba(249, 246, 240, 0.7);
}

.page-home__console-list strong {
  color: var(--ph-cream);
  font-weight: 700;
  text-align: right;
}

.page-home__console-ok {
  color: var(--ph-gold);
}

/* ============ 游戏平台反馈入口 ============ */
.page-home__feedback {
  position: relative;
  padding: 3.5rem 0;
  background: var(--ph-cream);
  overflow: hidden;
}

.page-home__feedback::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 34%;
  background: linear-gradient(160deg, var(--ph-accent), #B44B36);
  clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%);
}

.page-home__feedback-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home__feedback-copy {
  max-width: 54ch;
}

.page-home__feedback-copy .section-kicker {
  color: var(--ph-accent);
}

.page-home__feedback-lead {
  margin: 0 0 1.5rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-home__feedback-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.page-home__feedback-stats .stat-panel {
  padding: 1rem;
  background: var(--ph-card);
  border: var(--line);
  border-radius: var(--ph-radius);
}

.page-home__feedback-stats .stat-panel-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ph-accent);
  overflow-wrap: anywhere;
}

.page-home__feedback-pulse {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin-inline: auto;
}

.page-home__pulse-ring,
.page-home__pulse-core {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}

.page-home__pulse-ring {
  width: 8.5rem;
  height: 8.5rem;
  border: 2px dashed var(--ph-navy);
  opacity: 0.35;
  transform: translate(-50%, -50%);
  animation: home-pulse 3.2s ease-in-out infinite;
}

.page-home__pulse-core {
  width: 3rem;
  height: 3rem;
  background: var(--ph-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(217, 108, 79, 0.14);
}

@keyframes home-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.18;
  }
}

/* ============ 下载与支持平台 ============ */
.page-home__download {
  padding: 3.5rem 0;
  background: var(--ph-mist);
}

.page-home__download-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home__download-figure {
  max-width: 460px;
  margin-inline: auto;
}

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

.page-home__platform-panel {
  padding: 1.75rem;
  background: var(--ph-card);
  border: var(--line);
  border-radius: var(--radius-md);
}

.page-home__platform-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.page-home__platform-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.page-home__platform-list li {
  padding: 0.6rem 0.75rem;
  background: var(--ph-cream);
  border: var(--line);
  border-radius: var(--ph-radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--ph-navy);
}

.page-home__platform-panel p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ 社区与玩家动态 ============ */
.page-home__community {
  padding: 3.5rem 0;
  background: var(--ph-cream);
}

.page-home__community-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home__community-figure {
  max-width: 560px;
}

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

.page-home__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home__news-list li {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 0;
  border-bottom: var(--line);
}

.page-home__news-list li:first-child {
  border-top: var(--line);
}

.page-home__news-list a {
  display: inline-block;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ph-navy);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.page-home__news-list a:hover {
  color: var(--ph-accent);
  transform: translateX(4px);
}

.page-home__community-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============ 响应式布局 ============ */
@media (min-width: 720px) {
  .page-home__subscribe-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    column-gap: 3rem;
  }

  .page-home__subscribe-panels {
    order: 2;
  }

  .page-home__subscribe-figure {
    order: 1;
  }

  .page-home__help-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2.5rem;
  }

  .page-home__help-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .page-home__download-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 2.5rem;
  }

  .page-home__community-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    column-gap: 2.5rem;
  }

  .page-home__feedback-stats {
    max-width: 420px;
  }
}

@media (min-width: 860px) {
  .page-home__hero {
    padding: 4rem 0 5.5rem;
  }

  .page-home__hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }

  .page-home__feedback-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home__pulse-ring {
    animation: none;
  }
}
