/* ---------- Design tokens ---------- */
:root {
  --bg-deep: #071A0F;
  --bg-emerald-black: #0B2215;
  --grad-start: #0A2F1C;
  --grad-end: #071A0F;

  --primary: #22C55E;
  --secondary: #84CC16;
  --gold: #FFD54A;
  --mint: #D9FFE7;

  --text-white: #FFFFFF;
  --text-gray: #D9E4DD;

  --card-bg: rgba(13, 40, 25, 0.55);
  --card-border: rgba(255, 213, 74, 0.28);
  --card-border-strong: rgba(255, 213, 74, 0.5);

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;

  --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 40px rgba(34, 197, 94, 0.10);
  --header-h: 72px;
  --app-width: 430px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.1em; margin: 0.6em 0; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.04em; word-spacing: -0.06em; margin: 0 0 0.5em; }
p { margin: 0 0 0.75em; color: var(--text-gray); }

.container { width: 100%; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- App shell (fixed mobile viewport / phone frame) ---------- */
.app-shell {
  max-width: var(--app-width);
  margin: 0 auto;
  position: relative;
}
.app-scroll {
  position: relative;
  background: radial-gradient(120% 80% at 50% -10%, var(--grad-start) 0%, var(--grad-end) 55%, var(--bg-deep) 100%);
}
.notch { display: none; }
.section { padding: 32px 20px 40px; }
.section h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--text-white); }
.section-lead { max-width: 720px; font-size: 1.02rem; }
.text-gold { color: var(--gold); }
.fine-print { font-size: 0.85rem; color: var(--text-gray); opacity: 0.8; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: #071A0F;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Background FX ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.glow-1 { width: 420px; height: 420px; background: var(--primary); top: -120px; left: -100px; }
.glow-2 { width: 380px; height: 380px; background: var(--gold); top: 30%; right: -140px; opacity: 0.15; }
.glow-3 { width: 460px; height: 460px; background: var(--secondary); bottom: -160px; left: 30%; opacity: 0.18; }

/* ---------- Glass ---------- */
.glass {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #071A0F;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5); }
.btn-secondary {
  background: rgba(217, 255, 231, 0.06);
  color: var(--text-white);
  border-color: var(--card-border-strong);
}
.btn-secondary:hover { background: rgba(217, 255, 231, 0.12); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border-strong);
  color: var(--gold);
  padding: 0 20px;
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7, 26, 15, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 213, 74, 0.12);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--text-white); }
.logo-text strong { color: var(--gold); }

.primary-nav { display: none; gap: 26px; }
.primary-nav a { font-size: 0.92rem; color: var(--text-gray); }
.primary-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(217, 255, 231, 0.06); border: 1px solid var(--card-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }

.primary-nav.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(7, 26, 15, 0.97);
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--card-border);
}
.primary-nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 20px 20px;
}
.skyline { position: absolute; bottom: -6px; left: -20px; width: calc(100% + 40px); height: 130px; z-index: 0; pointer-events: none; }
.hero > *:not(.skyline) { position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: rgba(255, 213, 74, 0.08);
  box-shadow: 0 4px 16px rgba(255, 213, 74, 0.12);
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-copy h1 { font-size: clamp(1.85rem, 6.4vw, 2.7rem); color: var(--text-white); letter-spacing: -0.045em; word-spacing: -0.08em; }
.hero-sub { font-size: 1.05rem; max-width: 420px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0; }
.hero-trust-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin: 10px 0 0; }
.hero-trust-row li { font-size: 0.85rem; color: var(--text-gray); }

/* ---------- Jackpot card ---------- */
.jackpot-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; margin: 8px 0 0;
}
.jackpot-left { display: flex; align-items: center; gap: 14px; }
.trophy { font-size: 2.2rem; }
.jackpot-label { margin: 0; font-size: 0.85rem; color: var(--text-gray); }
.jackpot-amount { margin: 2px 0 0; min-width: 15ch; font-variant-numeric: tabular-nums; font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 800; color: var(--gold); text-shadow: 0 0 20px rgba(255,213,74,0.35); }
.jackpot-graph { flex-shrink: 0; }

.jackpot-banner {
  display: block;
  margin: 14px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border-strong);
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jackpot-banner:hover { transform: translateY(-3px); box-shadow: 0 12px 44px rgba(255, 213, 74, 0.22); }
.jackpot-banner img { width: 100%; height: auto; display: block; }

/* ---------- Trust section ---------- */
.trust-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.trust-card { padding: 18px 12px; text-align: center; }
.trust-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.trust-card h3 { font-size: 0.9rem; margin-bottom: 4px; }
.trust-card p { font-size: 0.76rem; margin: 0; }

/* ---------- Compare table ---------- */
.compare-table { padding: 8px 20px; margin-top: 20px; }
.compare-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.compare-row:last-child { border-bottom: none; }
.compare-row span:first-child { color: var(--text-white); font-weight: 600; flex-shrink: 0; }
.compare-row span:last-child { color: var(--text-gray); text-align: right; }

/* ---------- Category grid ---------- */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.category-card {
  padding: 24px 18px; text-align: center;
  background: linear-gradient(160deg, rgba(34,197,94,0.14), rgba(11,34,21,0.6));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(255,213,74,0.18); }
.cat-icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.category-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text-white); }
.category-card p { font-size: 0.82rem; margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
.feature-card { padding: 24px 22px; }
.feature-card h3 { font-size: 1.08rem; color: var(--text-white); }
.mini-list { font-size: 0.9rem; color: var(--text-gray); }
.mini-list li { margin-bottom: 6px; }
.mini-list.numbered { list-style: decimal; }

.story-card { padding: 26px 24px; margin-top: 22px; }
.story-stat { color: var(--mint); }

/* ---------- Promo banner ---------- */
.promo-banner {
  position: relative; overflow: hidden;
  padding: 34px 26px; margin-top: 22px;
  background: linear-gradient(135deg, rgba(255,213,74,0.14), rgba(34,197,94,0.12));
  border-color: var(--card-border-strong);
  text-align: center;
}
.promo-gift { font-size: 2.6rem; display: block; margin-bottom: 6px; }
.promo-copy h3 { font-size: 1.4rem; margin-bottom: 4px; }
.promo-amount { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; color: var(--gold); margin-bottom: 6px; text-shadow: 0 0 24px rgba(255,213,74,0.4); }
.promo-amount span { font-size: 1rem; color: var(--text-gray); font-weight: 600; }

/* ---------- Payment grid ---------- */
.payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.payment-card { padding: 20px 16px; text-align: center; }
.payment-card span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.payment-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.payment-card p { font-size: 0.78rem; margin: 0; }

/* ---------- Golden rule ---------- */
.golden-rule { padding: 22px 24px; margin-top: 20px; font-style: italic; color: var(--mint); border-color: var(--card-border-strong); }

/* ---------- CTA block ---------- */
.cta-block { text-align: center; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.faq-item { padding: 4px 20px; }
.faq-item summary { padding: 16px 0; cursor: pointer; font-weight: 700; color: var(--text-white); list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--gold); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---------- Author ---------- */
.author-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; margin-top: 20px; }
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #071A0F; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.author-role { color: var(--gold); font-size: 0.88rem; font-weight: 600; }
.author-links { display: flex; gap: 14px; margin-top: 8px; }
.author-links a { color: var(--mint); font-size: 0.88rem; border-bottom: 1px solid rgba(217,255,231,0.3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,213,74,0.12); padding: 44px 0 30px; margin-top: 40px; }
.footer-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; text-align: center; }
.footer-features span { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.footer-features p { font-size: 0.78rem; margin: 0; color: var(--text-gray); }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-brand p { max-width: 320px; font-size: 0.85rem; }
.footer-grid h4 { font-size: 0.85rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.footer-grid a { display: block; font-size: 0.88rem; color: var(--text-gray); padding: 5px 0; }
.footer-grid a:hover { color: var(--gold); }

.disclaimer { font-size: 0.78rem; color: var(--text-gray); opacity: 0.75; margin-top: 30px; }

/* ---------- Sticky welcome-bonus CTA ---------- */
.app-scroll { padding-bottom: 88px; }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex; justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 16, 10, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 213, 74, 0.22);
}
.sticky-cta-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 400px;
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--secondary));
  color: #071A0F;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  animation: ctaPulse 2.2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 213, 74, 0.35), 0 0 0 0 rgba(255, 213, 74, 0.45); }
  50% { box-shadow: 0 8px 30px rgba(255, 213, 74, 0.5), 0 0 0 9px rgba(255, 213, 74, 0); }
}

/* ---------- Small-phone tweak ---------- */
@media (min-width: 380px) {
  .author-card { flex-direction: row; }
}

/* ---------- Phone-frame mode (desktop/tablet viewports) ---------- */
@media (min-width: 760px) {
  html, body { height: 100%; }
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(90% 70% at 50% 0%, #0e2417 0%, #04100a 55%, #020805 100%);
    padding: 36px 16px;
  }

  .app-shell {
    width: var(--app-width);
    height: min(880px, 94vh);
    max-height: 900px;
    display: flex;
    flex-direction: column;
    border-radius: 44px;
    padding: 12px;
    background: #04100a;
    box-shadow:
      0 50px 120px rgba(0, 0, 0, 0.65),
      0 0 0 2px rgba(255, 213, 74, 0.18),
      0 0 60px rgba(34, 197, 94, 0.15);
  }

  .notch {
    display: block;
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 22px;
    border-radius: 999px;
    background: #04100a;
    z-index: 20;
  }

  .app-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 24px;
    border-radius: 32px 32px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 213, 74, 0.35) transparent;
  }
  .app-scroll::-webkit-scrollbar { width: 6px; }
  .app-scroll::-webkit-scrollbar-thumb { background: rgba(255, 213, 74, 0.35); border-radius: 3px; }

  .site-header { border-radius: 32px 32px 0 0; padding-top: 6px; height: calc(var(--header-h) + 6px); }

  .sticky-cta {
    position: static;
    flex: 0 0 auto;
    border-radius: 0 0 32px 32px;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta-btn { animation: none; }
}
