:root {
  --ink: #050505;
  --text: #f5f2ea;
  --gold: #f2c14e;
  --gold-hi: #ffe29a;
  --gold-lo: #b8862b;
  --purple-1: #3a1690;
  --purple-2: #6c2fd6;
  --red-1: #7d0a12;
  --red-2: #c41d2a;
  --panel: #ffb80d;
  --panel-ink: #141414;
  --field-line: #c9c9c9;
  --cta-text: #ffc21a;
  --link: #0b3d91;
  --error: #8b0000;
  --ok: #0f5c2a;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--panel); }

body {
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 520px; min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; background: var(--panel); }

/* Hero: per-page background photo, faded to black at the bottom */
.hero {
  position: relative;
  padding: 150px 16px 34px;
  text-align: center;
  background-color: var(--ink);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-bottom: 2px solid var(--gold-lo);
  border-radius: 0 0 50% 50% / 0 0 28px 28px;
}
.bg-india-best { background-image: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,0.85) 60%, var(--ink) 80%), url(img/bg-india-best.jpg); }
.bg-bonus-4 { background-image: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,0.85) 60%, var(--ink) 80%), url(img/bg-bonus-4.jpg); }
.bg-lossback { background-image: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,0.85) 60%, var(--ink) 80%), url(img/bg-lossback.jpg); }
.bg-withdrawal { background-image: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,0.85) 60%, var(--ink) 80%), url(img/bg-withdrawal.jpg); }

.age {
  position: absolute; top: 12px; right: 12px;
  font-size: 12px; font-weight: 700; color: #ddd; background: rgba(0,0,0,0.55);
  border: 1px solid #5a5248; border-radius: 6px; padding: 4px 8px;
}
.crown { display: block; margin: 0 auto 4px; color: var(--gold); filter: drop-shadow(0 0 8px rgba(242,193,78,0.6)); }
.eyebrow {
  margin: 0; font-size: 22px; font-weight: 700; font-style: italic;
  letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.headline {
  margin: 0; font-size: 46px; line-height: 1.02; font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}
.rule { height: 1px; margin: 14px auto; max-width: 340px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #fff; }
.wordmark b { font-weight: 800; font-size: 40px; letter-spacing: 1.5px; }
.wordmark span { font-weight: 700; font-size: 17px; letter-spacing: 3.6px; margin-top: 4px; padding-bottom: 5px; border-bottom: 1.5px solid var(--gold); }

/* USP strip */
.usps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 0; padding: 0; list-style: none;
}
.usps li {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 4px; font-size: 11px; font-weight: 700; line-height: 1.25;
  text-transform: uppercase; text-align: left;
}
.usps li + li { border-left: 1px solid #5a4a22; }
.usps svg { flex: 0 0 auto; color: var(--gold); }
.usps em { font-style: normal; color: var(--gold); }

/* Offer badges */
.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.badges.single { grid-template-columns: minmax(0, 1fr); }
.badge {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 72px; padding: 10px 12px; border-radius: 12px;
  border: 1.5px solid var(--gold); transform: skewX(-6deg);
  box-shadow: 0 0 18px rgba(242, 193, 78, 0.3);
}
.badge > * { transform: skewX(6deg); }
.badge.purple { background: linear-gradient(135deg, var(--purple-1), var(--purple-2)); }
.badge.red { background: linear-gradient(135deg, var(--red-1), var(--red-2)); }
.badge strong {
  font-size: 36px; font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.badge span { font-size: 13px; font-weight: 700; line-height: 1.2; text-transform: uppercase; text-align: left; }
.single .badge strong { font-size: 48px; }
.single .badge span { font-size: 16px; }

/* Yellow signup panel */
.join { flex: 1 0 auto; padding: 30px 16px 28px; background: var(--panel); color: var(--panel-ink); }

.su-screen { display: flex; flex-direction: column; gap: 14px; }
.su-screen[hidden] { display: none; }

.su-phone {
  display: flex; align-items: center; min-height: 54px;
  background: #fff; border: 1px solid var(--field-line); border-radius: 8px;
}
.su-phone:focus-within { outline: 2px solid var(--panel-ink); outline-offset: 1px; }
.su-cc {
  flex: 0 0 auto; align-self: stretch; padding: 0 6px 0 14px; border: 0; border-right: 1px solid var(--field-line);
  border-radius: 8px 0 0 8px; background: transparent; color: var(--panel-ink);
  font: inherit; font-size: 17px; font-weight: 600; -webkit-appearance: none; appearance: none;
}
.su-input {
  flex: 1 1 auto; min-width: 0; width: 100%; min-height: 52px; padding: 0 14px;
  border: 0; background: transparent; color: var(--panel-ink); font: inherit; font-size: 17px; font-weight: 500;
}
.su-input::placeholder { color: #8a8a8a; }
.su-cc:focus, .su-input:focus { outline: none; }
.su-otp {
  border: 1px solid var(--field-line); border-radius: 8px; background: #fff;
  text-align: center; font-size: 22px; letter-spacing: 6px;
}
.su-otp::placeholder { font-size: 16px; letter-spacing: 0; }
.su-otp:focus { outline: 2px solid var(--panel-ink); outline-offset: 1px; }

.su-field {
  width: 100%; min-height: 54px; padding: 0 14px;
  border: 1px solid var(--field-line); border-radius: 8px; background: #fff;
  color: var(--panel-ink); font: inherit; font-size: 17px; font-weight: 500;
}
.su-field::placeholder { color: #8a8a8a; }
.su-field:focus { outline: 2px solid var(--panel-ink); outline-offset: 1px; }

.su-via { margin: 2px 0 -4px; text-align: center; font-size: 16px; font-weight: 600; }
.su-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.su-seg button {
  min-height: 52px; border-radius: 6px; border: 1px solid #444; background: #fff; color: var(--panel-ink);
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
.su-seg button[aria-checked="true"] { background: linear-gradient(180deg, #4a4a4a, #111 70%); color: var(--cta-text); border-color: #111; }

.su-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; border: 0; border-radius: 6px; font: inherit; cursor: pointer;
}
.su-primary {
  margin-top: 14px;
  background: linear-gradient(180deg, #4a4a4a, #111 70%); color: var(--cta-text);
  font-size: 24px; font-weight: 700; font-style: italic; letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
[data-step="otp"] .su-primary { margin-top: 2px; }
.su-btn:disabled, .su-seg button:disabled { opacity: 0.65; cursor: default; }
.su-btn.is-loading { color: transparent; }
.su-btn.is-loading::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--cta-text); border-right-color: transparent; animation: su-spin 0.7s linear infinite;
}
@keyframes su-spin { to { transform: rotate(360deg); } }

.su-member { margin: 0; text-align: center; font-size: 16px; font-weight: 600; }
.su-member a, .su-link { color: var(--link); }
.su-sent { margin: 0; text-align: center; font-size: 15px; font-weight: 600; }
.su-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 16px; font-size: 14px; }
.su-link {
  min-height: 44px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: underline;
}
.su-link:disabled { color: #6b5520; text-decoration: none; cursor: default; }
.su-change { align-self: center; color: var(--panel-ink); }
.su-msg { margin: 12px 0 0; min-height: 1em; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.4; }
.su-msg.is-error { color: var(--error); }
.su-msg.is-ok { color: var(--ok); }

/* Legal links and fine print */
.legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(20,20,20,0.25);
}
.legal a { color: var(--panel-ink); font-size: 15px; font-weight: 600; line-height: 2; }
.fine { margin: 14px 0 0; text-align: center; font-size: 12px; line-height: 1.55; color: #3a2e0a; }
.fine a { color: var(--link); font-weight: 700; }
