*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fff;
  background: #0a1020;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(167, 139, 250, 0.35), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(251, 191, 36, 0.25), transparent 45%),
    linear-gradient(160deg, #0f172a 0%, #1e1b4b 45%, #0c4a6e 100%);
  z-index: 0;
}

.page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 可选：将宣传图放到 assets/hero.png 后取消下行注释 */
  /* background: url("./assets/hero.png") center bottom / cover no-repeat; */
  opacity: 0.85;
}

.page__overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.2) 0%, rgba(8, 12, 24, 0.75) 100%);
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 120px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero__title {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 12px;
}

.hero__subtitle {
  max-width: 520px;
  line-height: 1.7;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: min(100%, 520px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--android {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn--ios {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.btn--intro {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.75;
}

.hero__version {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer {
  position: relative;
  z-index: 2;
  padding: 16px 24px 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__icp {
  margin-top: 6px;
}

.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.modal__card {
  width: min(92vw, 420px);
  margin: auto;
  padding: 24px;
  border-radius: 16px;
  background: #111827;
  color: #f3f4f6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.modal__card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.modal__card p,
.modal__card li {
  line-height: 1.7;
  font-size: 14px;
  color: #d1d5db;
}

.modal__card ul {
  margin: 12px 0 0 18px;
}

.modal__link {
  display: inline-block;
  margin-top: 12px;
  color: #60a5fa;
}

.modal__close {
  margin-top: 18px;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
