/* ── Ambient City — Main Theme ────────────────────────────── */

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-hover: #1a1a28;
  --border: #2a2a3e;
  --text: #d0d0e0;
  --text-dim: #707088;
  --accent: #FF6064;
  --accent-glow: #FF606433;
  --green: #4ade80;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 720px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

/* ── Header ──────────────────────────────────────────────── */

h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: #fff;
}

h2, h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.subtitle {
  color: var(--text-dim);
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.balance-note {
  color: var(--text-dim);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ── Landing Page ────────────────────────────────────────── */

.landing {
  max-width: 640px;
}

.logo-img {
  display: block;
  margin: 0 auto 1rem;
  width: 120px;
  height: auto;
}

.logo .pink {
  color: #FF6064;
}

.logo {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

.tagline {
  color: var(--accent);
  font-size: 1.15rem;
  font-style: italic;
  margin: 0.5rem 0 2rem;
}

.intro {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: var(--accent);
}

.feature-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-right: 0.5rem;
}

.feature h3 {
  display: inline;
  font-size: 1rem;
  color: #fff;
}

.feature p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Pack Cards ──────────────────────────────────────────── */

.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.pack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pack-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  background: var(--surface-hover);
}

.pack-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pack-card .credits {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pack-card .price {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.pack-card .per-dollar {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.pack-card button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.pack-card button:hover {
  background: #9080f5;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ── Success Page ────────────────────────────────────────── */

.success-icon {
  font-size: 3rem;
  color: var(--green);
  margin: 1.5rem 0;
}

.return-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.return-link:hover {
  text-decoration: underline;
}

/* ── Misc ────────────────────────────────────────────────── */

.error {
  color: #f87171;
  font-weight: 600;
}

a {
  color: var(--accent);
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
