/* 首屏 - 使用 App 原始透明角色插画，文字与按钮保持原生 HTML。 */
body {
  background: var(--color-home);
}

.hero {
  padding-block: 76px 56px;
  background: radial-gradient(ellipse at 78% 45%, #17204b66, transparent 52%);
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 5.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-intro {
  max-width: 430px;
  margin-bottom: 30px;
  font-size: 1.125rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.hero-actions > a:not(.button) {
  padding-block: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.release-note {
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.hero-art {
  display: block;
  width: min(100%, 490px);
  margin-inline: auto;
}

.game-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  padding-block: 28px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.game-facts p {
  margin: 0;
  font-size: 0.875rem;
}

.game-facts strong {
  color: var(--color-text);
  font-weight: 650;
  margin-right: 6px;
}

/* 玩法与流程 - 同一套蓝紫主题，交替使用卡片与开放布局。 */
.section {
  padding-block: 90px;
}

.section-heading {
  max-width: 630px;
  margin-bottom: 38px;
}

.section-heading h2, .faq-heading h2, .support h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.section-heading p {
  margin: 0;
}

.mode-card {
  position: relative;
  height: 100%;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #24517e;
  border-radius: var(--radius-panel);
  background: linear-gradient(130deg, #07183a, #092b65 60%, #07102e);
}

.mode-card.undercover {
  border-color: #683994;
  background: linear-gradient(130deg, #1b0b48, #321067 60%, #16072f);
}

.mode-art {
  display: block;
  width: 240px;
  height: 257px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.mode-card h3 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.mode-card p {
  max-width: 390px;
  margin-bottom: 24px;
  color: #d6deee;
}

.mode-roles {
  padding-top: 20px;
  border-top: 1px solid #ffffff29;
  color: var(--color-classic);
  font-size: 0.8125rem;
  font-weight: 600;
}

.undercover .mode-roles {
  color: var(--color-undercover);
}

.how-section {
  background: var(--color-surface);
}

.steps {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.step-number {
  display: block;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 650;
}

.steps h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
}

.local-note {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
  font-size: 0.875rem;
}

.local-note p {
  margin: 0;
}

/* FAQ 采用原生 details，禁用 JavaScript 后仍可展开。 */
.faq-heading p {
  max-width: 270px;
}

.faq-list details {
  border-bottom: 1px solid var(--color-line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--color-line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 23px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .icon {
  transition: transform 160ms ease;
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-list details p {
  padding-right: 30px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.support {
  padding-block: 0 84px;
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 42px;
  border-top: 1px solid var(--color-line);
}

.support h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.support p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .hero {
    padding-block: 60px 40px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 6.8vw, 4.5rem);
  }

  .section {
    padding-block: 64px;
  }

  .mode-card {
    padding: 24px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 48px;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-art {
    width: min(100%, 370px);
    margin-top: 36px;
  }

  .game-facts {
    gap: 12px 24px;
  }

  .game-facts p:last-child {
    flex-basis: 100%;
  }

  .faq-heading p {
    max-width: none;
  }
}
