:root {
  /* Paleta alinhada ao app/src/theme/colors.ts */
  --app-background: #090914;
  --app-surface: #121428;
  --app-surface-elevated: #181b33;
  --app-surface-soft: #1f2140;
  --app-border: #343767;
  --text-primary: #f6f7ff;
  --text-secondary: #c8cbf5;
  --text-muted: #9aa0d4;
  --input-selection: #42d3ff;
  --accent-blue: #4f8cff;
  --accent-purple: #8a5cff;
  --accent-pink: #ff5cb8;
  --accent-cyan: #42d3ff;
  --accent-aqua: #2de2a6;
  --danger: #ff6b7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 140, 255, 0.16), transparent 35%),
    radial-gradient(circle at 90% 85%, rgba(255, 92, 184, 0.14), transparent 40%),
    linear-gradient(160deg, var(--app-background), var(--app-surface));
  color: var(--text-primary);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.page {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
}

.card {
  width: min(680px, 100%);
  border: 1px solid var(--app-border);
  background: linear-gradient(
    160deg,
    rgba(24, 27, 51, 0.95),
    rgba(18, 20, 40, 0.88)
  );
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
}

.eyebrow {
  margin: 0;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 10px 0 14px;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 52ch;
}

.subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.store-badge img {
  display: block;
  height: 44px;
  width: auto;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 10px 26px rgba(79, 140, 255, 0.35);
}

.btn-secondary {
  color: var(--text-primary);
  border: 1px solid var(--app-border);
  background: rgba(31, 33, 64, 0.75);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 22px rgba(66, 211, 255, 0.18);
}

.bg-glow {
  position: fixed;
  width: 38vmax;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.22;
  pointer-events: none;
}

.bg-glow-left {
  top: -8vmax;
  left: -12vmax;
  background: var(--accent-blue);
}

.bg-glow-right {
  right: -14vmax;
  bottom: -10vmax;
  background: var(--accent-pink);
}

@media (max-width: 640px) {
  .card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .store-badges {
    flex-direction: column;
  }

  .store-badge {
    width: fit-content;
  }
}
