*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #d8b15b;
  --gray: #eaecef;
  --muted: rgba(234, 236, 239, 0.55);
}

html,
body {
  height: 100%;
}

body {
  background: linear-gradient(180deg, #1d3557 0%, #0c1422 100%);
  color: var(--gray);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.page {
  position: relative;
  text-align: center;
  max-width: 520px;
}

.glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216, 177, 91, 0.07),
    transparent 60%
  );
  pointer-events: none;
}

/* ─── Logo ──────────────────────────────────── */

.logo-img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 24px;
}

/* ─── Tagline ───────────────────────────────── */

.tagline {
  font-size: 17px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ─── Store badges ─────────────────────────── */

.badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  min-width: 200px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.badge--ios {
  background: rgba(22, 35, 58, 0.85);
  border: 1px solid rgba(216, 177, 91, 0.35);
  color: var(--gray);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 4px;
}

.badge-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.badge--ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.badge--ios:active {
  transform: translateY(0) scale(0.98);
}

.badge--android {
  background: rgba(22, 35, 58, 0.5);
  border: 1px solid rgba(234, 236, 239, 0.1);
  color: var(--muted);
  cursor: default;
  opacity: 0.6;
  position: relative;
}

.badge-icon {
  font-size: 26px;
  line-height: 1;
}

.badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.badge-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
}

.badge-text strong {
  font-size: 15px;
  font-weight: 800;
}

.badge-coming {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: #1d2433;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ─── Legal links ──────────────────────────── */

.legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

.legal a {
  color: rgb(234 236 239);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  transition: color 0.15s;
}

.legal a:hover {
  color: rgba(234, 236, 239, 0.65);
}

/* ─── Responsive ───────────────────────────── */

/* ─── Legal pages (privacy, terms) ─────────── */

.body--legal {
  height: auto;
  min-height: 100vh;
  align-items: flex-start;
  padding: 48px 24px;
}

.page--legal {
  max-width: 680px;
  text-align: left;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--gray);
}

.legal-title {
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.legal-content h2 {
  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin-bottom: 14px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--gold);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal--bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(234, 236, 239, 0.08);
}

@media (max-width: 480px) {
  .badges {
    flex-direction: column;
  }

  .badge {
    min-width: 0;
    width: 100%;
    max-width: 260px;
  }

  .legal {
    gap: 16px;
  }

  .legal a {
    font-size: 12px;
  }
}
