:root {
  --bg-top: #161225;
  --bg-bottom: #0A0812;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-up: rgba(255, 255, 255, 0.09);
  --hairline: rgba(255, 255, 255, 0.12);
  --text: #F6F3FF;
  --dim: #B7B0CC;
  --faint: #7d7695;
  --gold: #FFD27D;
  --gold-deep: #F2A94E;
  --mint: #37E0A3;
  --coral: #FF6B6B;
  --violet: #A78BFA;
  --radius: 22px;
  --max: 1120px;
  --font: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
          BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-bottom);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 210, 125, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% 8%, rgba(167, 139, 250, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom) 70%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 8, 18, 0.55);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--dim); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #241a05; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 16px;
  padding: 13px 22px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #241a05;
  box-shadow: 0 10px 26px rgba(242, 169, 78, 0.34);
  transition: transform .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242,169,78,.42); }
.btn.ghost {
  background: var(--surface-up); color: var(--text);
  border: 1px solid var(--hairline); box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,.14); box-shadow: none; }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.22);
  padding: 11px 20px 11px 18px; border-radius: 14px;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.5); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .t { display: flex; flex-direction: column; line-height: 1.1; }
.appstore .t small { font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .01em; }
.appstore .t span { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: rgba(255,210,125,.10);
  border: 1px solid rgba(255,210,125,.22); padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; font-weight: 900;
  letter-spacing: -0.02em; margin: 22px 0 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--gold), #fff2d6 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--dim); max-width: 30ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 22px; color: var(--faint); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Phone frame */
.phone {
  position: relative; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2a2440, #14101f);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4) inset;
}
.phone img { border-radius: 35px; }
.hero-phone { justify-self: center; width: min(340px, 78vw); transform: rotate(2deg); }
.hero-phone.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-14px); } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .eyebrow { margin: 0 auto; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-phone { margin-top: 10px; transform: none; }
  .hero-phone.float { animation: none; }
}

/* ---------- Section shell ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.02em; margin: 12px 0 12px; }
.section-head p { color: var(--dim); font-size: 17px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); background: var(--surface-up); }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--hairline);
}
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 15px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Decks ---------- */
.decks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deck {
  border-radius: var(--radius); padding: 28px; border: 1px solid var(--hairline);
  background: var(--surface); position: relative; overflow: hidden;
}
.deck .flag { font-size: 40px; }
.deck h3 { font-size: 22px; font-weight: 800; margin: 12px 0 6px; }
.deck p { color: var(--dim); font-size: 15px; }
.deck .count { margin-top: 16px; font-weight: 800; font-size: 14px; }
.deck.intl { box-shadow: inset 0 0 0 1px rgba(56,189,248,.25); }
.deck.intl .count { color: #38BDF8; }
.deck.brit { box-shadow: inset 0 0 0 1px rgba(244,114,182,.25); }
.deck.brit .count { color: #F472B6; }
.deck.dutch { box-shadow: inset 0 0 0 1px rgba(251,146,60,.28); }
.deck.dutch .count { color: #FB923C; }
@media (max-width: 720px) { .decks { grid-template-columns: 1fr; } }

/* ---------- Screenshot showcase ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.shot { text-align: center; }
.shot .phone { width: 100%; max-width: 300px; margin: 0 auto 18px; }
.shot h4 { font-size: 18px; font-weight: 800; }
.shot p { color: var(--dim); font-size: 14px; margin-top: 4px; }
.shot:nth-child(1) .phone { transform: rotate(-2deg); }
.shot:nth-child(3) .phone { transform: rotate(2deg); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; gap: 44px; } .shot .phone { transform: none !important; } }

/* ---------- How to play ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.step .n {
  counter-increment: step; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 900; font-size: 18px; margin-bottom: 14px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #241a05;
}
.step .n::before { content: counter(step); }
.step h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  text-align: center; border-radius: 30px; padding: 60px 28px; margin: 20px auto;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(255,210,125,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--hairline);
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.02em; }
.cta p { color: var(--dim); margin: 12px auto 26px; max-width: 40ch; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--hairline); padding: 40px 0; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand { font-size: 16px; color: var(--text); }
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--dim); font-weight: 600; font-size: 14px; }
footer .links a:hover { color: var(--text); }
footer small { display: block; margin-top: 8px; }

/* ---------- Content pages (support / privacy) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.page h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.page .sub { color: var(--dim); margin-bottom: 34px; }
.page h2 { font-size: 22px; font-weight: 800; margin: 30px 0 10px; }
.page p, .page li { color: var(--dim); font-size: 16px; margin-bottom: 12px; }
.page ul, .page ol { padding-left: 22px; }
.page a.inline { color: var(--gold); font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-weight: 700; margin-bottom: 28px; }
.back:hover { color: var(--text); }
