:root {
  --bg: #fafaf9;
  --surface: #fff;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --gold: #d4a017;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Presell — editorial */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.article-header {
  margin-bottom: 32px;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.article-header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.byline {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-figure {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
}

.article-body p {
  margin-bottom: 20px;
  max-width: 65ch;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}

.steps {
  margin: 0 0 28px 20px;
  max-width: 65ch;
}

.steps li {
  margin-bottom: 8px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.cta:hover {
  background: var(--accent-dark);
}

.cta:active {
  transform: translateY(1px);
}

.cta-wide {
  width: 100%;
}

.cta-pay {
  background: #16a34a;
}

.cta-pay:hover {
  background: #15803d;
}

.fine-print {
  margin-top: 36px;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 65ch;
}

/* Wheel page */
.wheel-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.wheel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.spins-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.spins-pill strong {
  color: var(--text);
}

.wheel-block {
  text-align: center;
}

.wheel-block h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.wheel-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.wheel-stage {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 26px;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(28, 25, 23, 0.12));
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--accent);
  z-index: 10;
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.1);
  z-index: 5;
}

.result {
  min-height: 28px;
  margin-top: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.recharge {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.recharge-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.recharge-copy {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.recharge-copy strong {
  color: var(--text);
}

.hidden {
  display: none;
}

/* Checkout */
.checkout-body {
  background: #f5f5f4;
}

.checkout-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.checkout-brand {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.amount-box {
  text-align: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.amount-box span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.amount-box strong {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout-card label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.checkout-card input,
.checkout-card select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s;
}

.checkout-card input:focus,
.checkout-card select:focus {
  border-color: var(--text);
}

.checkout-card button {
  width: 100%;
  padding: 15px;
  font: 600 1rem/1 'Outfit', sans-serif;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}

.checkout-card button:hover {
  background: var(--accent-dark);
}

.checkout-card button:disabled {
  opacity: 0.55;
  cursor: default;
}

.err {
  color: var(--accent);
  font-size: 0.85rem;
  margin: 12px 0 0;
}

.result {
  margin-top: 24px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.row b {
  font-weight: 600;
  word-break: break-all;
  text-align: right;
}

.mono {
  font-family: ui-monospace, Menlo, monospace;
}

#qr {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.wait {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

.paid {
  text-align: center;
  color: #16a34a;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 18px;
}

.secure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 20px;
}
