:root {
  --bg-top: #2a1149;
  --bg-bottom: #150826;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f4f0ff;
  --muted: #b9aed6;
  --gold: #f5c518;
  --pink: #ff3da5;
  --cyan: #5cd8fb;
  --violet: #8b5cf6;
  --orange: #ff7a1a;
  --lime: #8be03e;
  --radius: 20px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 50% -10%, #3a1d6e 0%, var(--bg-top) 40%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(21, 8, 38, 0.55);
  border-bottom: 1px solid var(--card-border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .word {
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 1px;
}
.nav-links a { color: var(--muted); margin-left: 22px; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 76px 0 52px; }
.hero img.appicon {
  width: 120px; height: 120px; border-radius: 27px;
  box-shadow: 0 18px 50px rgba(255, 61, 165, 0.35);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(52px, 12vw, 108px); font-weight: 900; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline { font-size: clamp(20px, 4vw, 30px); font-weight: 800; margin-top: 14px; }
.hero .sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 16px auto 30px; }

.btn {
  display: inline-block; font-weight: 800; font-size: 17px; color: #fff;
  padding: 15px 30px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 12px 30px rgba(255, 61, 165, 0.45);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.secondary { background: var(--card); border: 1px solid var(--card-border); box-shadow: none; }

/* Hero call-to-action: App Store badge + secondary link */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 22px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.appstore-badge:hover { text-decoration: none; transform: translateY(-1px); border-color: rgba(255,255,255,0.5); }
.appstore-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.appstore-badge .ab-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.appstore-badge .ab-text small { font-size: 11px; font-weight: 500; letter-spacing: 0.3px; }
.appstore-badge .ab-text strong { font-size: 20px; font-weight: 600; letter-spacing: 0.2px; }

/* Sections */
section { padding: 46px 0; }
.section-title { text-align: center; font-size: clamp(28px, 6vw, 40px); font-weight: 900; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }

/* Zig-zag features: one column, screenshot and copy alternate sides */
.zigzag { display: flex; flex-direction: column; gap: 64px; margin-top: 26px; }
.zz { display: flex; align-items: center; gap: 56px; }
.zz:nth-child(even) { flex-direction: row-reverse; }
.zz-media { flex: 0 0 auto; }
.zz-copy { flex: 1 1 0; min-width: 0; }
.zz-copy h3 {
  font-size: clamp(24px, 3.4vw, 30px); font-weight: 900; margin-bottom: 12px; line-height: 1.15;
  display: flex; align-items: center; gap: 12px;
}
.zz-copy h3 .title {
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.zz-copy h3 .emoji { -webkit-text-fill-color: initial; font-size: 1.05em; line-height: 1; }
.zz-copy p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.zz .phone { width: 274px; }

/* Keep the copy hugging its screenshot: left rows stay left, right rows go right */
.zz:nth-child(even) .zz-copy { text-align: right; }
.zz:nth-child(even) .zz-copy h3 { justify-content: flex-end; }
.zz:nth-child(even) .zz-copy p { margin-left: auto; }

@media (max-width: 760px) {
  .zigzag { gap: 44px; }
  .zz, .zz:nth-child(even) { flex-direction: column; text-align: center; gap: 22px; }
  .zz-copy, .zz:nth-child(even) .zz-copy { text-align: center; }
  .zz-copy h3, .zz:nth-child(even) .zz-copy h3 { justify-content: center; }
  .zz-copy p, .zz:nth-child(even) .zz-copy p { margin-left: auto; margin-right: auto; }
  .zz .phone { width: 240px; }
}

/* Phone frame (used by the zig-zag feature rows) */
.phone {
  padding: 10px; border-radius: 38px; background: #0b0616;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255,255,255,0.04);
}
.phone img { width: 100%; display: block; border-radius: 29px; }

/* Wager highlight */
.highlight {
  background: linear-gradient(135deg, rgba(92,216,251,0.16), rgba(139,92,246,0.16));
  border: 1px solid rgba(92,216,251,0.4);
  border-radius: 26px; padding: 40px; text-align: center;
}
.highlight .badge {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: #06121a; background: var(--cyan); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.highlight h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 900; margin-bottom: 10px; }
.highlight p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Content pages (support / privacy) */
.page { padding: 48px 0 20px; }
.page h1 { font-size: clamp(32px, 7vw, 46px); font-weight: 900; margin-bottom: 6px; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px; }
.doc h2 { font-size: 22px; margin: 26px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { color: #ddd6f2; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc a { font-weight: 600; }
.callout {
  background: rgba(245, 197, 24, 0.1); border: 1px solid rgba(245,197,24,0.35);
  border-radius: 14px; padding: 14px 18px; color: #f3ecd0; margin: 14px 0;
}

.faq { border-top: 1px solid var(--card-border); padding: 20px 0; }
.faq:first-of-type { border-top: none; }
.faq h3 { font-size: 18px; margin-bottom: 6px; }
.faq p { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--card-border); margin-top: 40px; padding: 30px 0 50px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer .links a { color: var(--muted); margin-right: 20px; font-weight: 600; }
footer .copy { color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .nav-links a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 48px 0 36px; }
}
