/* Giggity website, pre-launch look: night-time Florida, glowing cyan and gold, the app's cartoon world.
   Shared by the homepage, the games (/play) and the ad landing pages. Legal pages keep styles.css. */
:root {
  --bg: #050812;
  --bg2: #0a1124;
  --ink: #f4f7fc;
  --muted: rgba(226, 234, 248, 0.72);
  --faint: rgba(226, 234, 248, 0.45);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass2: rgba(255, 255, 255, 0.09);
  --cyan: #22e4f2;
  --gold: #ffc94d;
  --pink: #ff4f8b;
  --green: #4be38a;
  --violet: #8c7cff;
  --orange: #ff9a3d;
  --navy: #0a192f;
  --r: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(34, 228, 242, 0.35); }

/* ───────── sky: drifting glows + stars behind everything ───────── */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1200px 700px at 15% -10%, #12224a 0%, transparent 60%), radial-gradient(900px 600px at 110% 30%, #1c1240 0%, transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg) 40%); }
.sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0.4; animation: twinkle 4s ease-in-out infinite; }
.sky .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: drift 18s ease-in-out infinite alternate; }
@keyframes twinkle { 50% { opacity: 0.08; } }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.1); } }

/* ───────── nav ───────── */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: rgba(5, 8, 18, 0.62); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--cyan); }
.brand img { border-radius: 9px; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.nav .links a:hover { color: var(--ink); text-decoration: none; }
.nav .sound { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); display: grid; place-items: center; cursor: pointer; }
.nav .sound[aria-pressed='true'] { color: var(--cyan); border-color: rgba(34, 228, 242, 0.5); }
@media (max-width: 860px) { .nav .links { display: none; } .nav .wrap > .btn { margin-left: auto; } }
@media (max-width: 420px) { .nav .wrap { gap: 10px; } .brand { font-size: 19px; } .nav .btn-sm { padding: 9px 13px; font-size: 13px; } .nav [data-founder] { display: none !important; } }
@media (max-width: 360px) { .brand span { display: none; } }

/* ───────── buttons, chips ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15.5px; cursor: pointer; transition: transform 0.2s var(--bounce), box-shadow 0.2s, background 0.2s; white-space: nowrap; text-decoration: none !important; }
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--cyan); color: #03141c; box-shadow: 0 10px 30px rgba(34, 228, 242, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34, 228, 242, 0.5); }
.btn-gold { background: var(--gold); color: #241600; box-shadow: 0 10px 30px rgba(255, 201, 77, 0.35); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--glass); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--glass2); transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-xl { padding: 18px 30px; font-size: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; transition: 0.2s; }
.chip:hover { background: var(--glass2); }
.chip[aria-pressed='true'], .chip.on { background: rgba(34, 228, 242, 0.14); border-color: var(--cyan); color: var(--cyan); }

/* ───────── type ───────── */
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgba(34, 228, 242, 0.1); border: 1px solid rgba(34, 228, 242, 0.35); color: var(--cyan); font-weight: 800; font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; }
.kicker.gold { background: rgba(255, 201, 77, 0.1); border-color: rgba(255, 201, 77, 0.4); color: var(--gold); }
.kicker.pink { background: rgba(255, 79, 139, 0.1); border-color: rgba(255, 79, 139, 0.4); color: var(--pink); }
.kicker.red { background: rgba(255, 77, 77, 0.12); border-color: rgba(255, 77, 77, 0.45); color: #ff6b6b; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.04; }
.h-hero { font-size: clamp(44px, 8vw, 96px); font-weight: 800; }
.h-sec { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; }
.h-card { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hl { color: var(--cyan); }
.hl-gold { color: var(--gold); }
.hl-pink { color: var(--pink); }
.hl-green { color: var(--green); }
.lede { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 640px; }
.fine { font-size: 13px; color: var(--faint); }
/* Kinetic headline: kit.js wraps each word; words rise out of a mask one after another when revealed. */
.kin .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.kin .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 0.75s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.kin.in .w > span { transform: none; }
.marker { position: relative; white-space: nowrap; }
.marker::after { content: ''; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.08em; height: 0.32em; border-radius: 0.08em; background: currentColor; opacity: 0.22; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease) 0.5s; z-index: -1; }
.in .marker::after, .marker.in::after { transform: scaleX(1); }

/* ───────── sections ───────── */
.sec { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; justify-items: start; }
.center { text-align: center; margin-inline: auto; justify-items: center; }
.grid2 { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; overflow: hidden; }
.card p { color: var(--muted); margin: 8px 0 0; }
.card .ico-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.tile-cyan { background: rgba(34, 228, 242, 0.14); color: var(--cyan); }
.tile-gold { background: rgba(255, 201, 77, 0.14); color: var(--gold); }
.tile-pink { background: rgba(255, 79, 139, 0.14); color: var(--pink); }
.tile-green { background: rgba(75, 227, 138, 0.14); color: var(--green); }
.tile-violet { background: rgba(140, 124, 255, 0.16); color: var(--violet); }
.ico { width: 22px; height: 22px; }

/* Reveal on scroll: kit.js adds .in. Respect people who turn off motion. */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .kin .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sky i, .sky .blob { animation: none; }
}

/* ───────── hero ───────── */
.hero { padding: 54px 0 30px; position: relative; }
.hero .wrap { display: grid; gap: 34px; grid-template-columns: 1.05fr 1fr; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero .proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero .proof svg { color: var(--green); width: 16px; height: 16px; }
.mapbox { position: relative; aspect-ratio: 1 / 1.02; border-radius: 30px; background: radial-gradient(circle at 60% 40%, #0d1d3d, #050b19 70%); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), inset 0 0 80px rgba(34, 228, 242, 0.06); }
.mapbox svg.fl { width: 100%; height: 100%; }
.mapbox .map-label { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: 13px; color: var(--muted); }
.mapbox .map-label b { color: var(--ink); font-size: 15px; }
.mapbox .map-chip { position: absolute; top: 16px; left: 16px; }
.light-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.light-core { animation: breathe 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breathe { 50% { transform: scale(1.25); } }

/* ───────── marquee ───────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.marquee .track { display: flex; gap: 40px; padding: 16px 0; width: max-content; animation: slide 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.marquee span::before { content: '✦'; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ───────── scroll story ───────── */
.story { position: relative; }
.story .stage-wrap { position: sticky; top: 64px; height: calc(100vh - 64px); display: grid; place-items: center end; width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.story .stage { width: min(560px, 50%); aspect-ratio: 1 / 0.86; border-radius: 30px; background: linear-gradient(180deg, #13284d, #0b1730); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); overflow: hidden; position: relative; }
.story .steps { position: relative; margin-top: calc(-100vh + 64px); }
.story .step { min-height: 100vh; display: flex; align-items: center; }
.story .step .card { max-width: 380px; background: rgba(8, 14, 30, 0.86); backdrop-filter: blur(10px); }
@media (max-width: 860px) { .story .stage-wrap { place-items: start center; padding-top: 3vh; } .story .stage { width: min(560px, 100%); } .story .step { align-items: flex-end; padding-bottom: 8vh; justify-content: center !important; } .story .step .card { max-width: 92vw; } }

/* ───────── arcade ───────── */
.arcade { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
/* Six games: two even rows of three on wide screens, never five plus one. */
@media (min-width: 900px) { .arcade { grid-template-columns: repeat(3, 1fr); } }
.arcade-card { display: grid; gap: 6px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); color: var(--ink); text-decoration: none !important; transition: transform 0.25s var(--bounce), border-color 0.25s, box-shadow 0.25s; }
.arcade-card:hover { transform: translateY(-6px) rotate(-0.6deg); border-color: rgba(34, 228, 242, 0.5); box-shadow: 0 20px 50px rgba(34, 228, 242, 0.15); }
.arcade-card b { font-size: 18px; letter-spacing: -0.02em; }
.arcade-card small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.arcade-art { aspect-ratio: 25 / 16; border-radius: 16px; margin-bottom: 8px; background: #0d1a34; overflow: hidden; display: block; position: relative; }

/* ───────── waitlist modal, badge card, toast ───────── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(2, 4, 10, 0.72); backdrop-filter: blur(6px); }
.modal.open { display: grid; animation: fade 0.25s; }
.modal .sheet { width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: linear-gradient(180deg, #111b33, #0a1122); border: 1px solid var(--line); border-radius: 28px; padding: 26px; position: relative; animation: rise 0.45s var(--bounce); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.modal .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; display: grid; place-items: center; }
.modal h3 { font-size: 28px; margin: 6px 0 6px; }
.modal .sides { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); color: var(--ink); font: inherit; outline: none; transition: border-color 0.2s; }
.field input:focus { border-color: var(--cyan); }
.modal .err { color: #ff8080; font-size: 14px; min-height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
.badge-card { position: relative; border-radius: 22px; padding: 18px; background: radial-gradient(circle at 20% 0%, rgba(34, 228, 242, 0.25), transparent 50%), linear-gradient(135deg, #142a52, #0b1530 60%, #1d1240); border: 1px solid rgba(255, 255, 255, 0.16); display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; overflow: hidden; }
.badge-card .num { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold); line-height: 1; }
.badge-card small { color: var(--muted); }
.badge-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 45%, transparent 60%); transform: translateX(-100%); animation: sheen 3.2s ease-in-out infinite 1s; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 120; padding: 12px 18px; border-radius: 14px; background: #1a2645; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: 0.3s var(--bounce); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────── mascot ───────── */
.mascot { position: fixed; right: 14px; bottom: -120px; z-index: 40; width: 86px; cursor: pointer; background: none; border: 0; padding: 0; transition: bottom 0.6s var(--bounce); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)); }
.mascot.peek { bottom: -14px; }
.mascot .bubble { position: absolute; right: 70px; bottom: 70px; width: max-content; max-width: 200px; padding: 9px 12px; border-radius: 14px 14px 2px 14px; background: #fff; color: #0a192f; font-weight: 700; font-size: 13px; opacity: 0; transform: scale(0.8); transform-origin: bottom right; transition: 0.3s var(--bounce); }
.mascot.talk .bubble { opacity: 1; transform: none; }
.mascot:not(.talk) .bubble { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mascot { transition: none; } }

/* ───────── landing / play pages ───────── */
.play-page { min-height: 100vh; display: flex; flex-direction: column; }
.play-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.play-head .title { font-weight: 800; letter-spacing: -0.02em; }
.play-stage { flex: 1; display: grid; place-items: center; padding: 8px 12px 24px; }
.game-host { width: min(560px, 100%); }
.hook-hero { padding: 40px 0 10px; text-align: center; }
.hook-hero .h-hero { font-size: clamp(40px, 9vw, 84px); }
.after { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 18px 0 60px; }

/* ───────── FAQ, footer ───────── */
details.faq { border-top: 1px solid var(--line); padding: 18px 2px; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: '+'; color: var(--cyan); font-size: 22px; line-height: 1; transition: transform 0.25s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--muted); margin: 10px 0 0; }
.foot { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--muted); font-size: 14px; }
.foot .cols { display: grid; gap: 26px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.foot h4 { color: var(--ink); margin: 0 0 10px; font-size: 14px; }
.foot a { display: block; color: var(--muted); margin: 6px 0; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* ───────── the tap-through phone (app.js), light like the app, scoped inside .phone ───────── */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: middle; }
.ico.s { width: 15px; height: 15px; stroke-width: 2.4; }
.ico.xs { width: 13px; height: 13px; stroke-width: 2.4; }
.sim-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sim-controls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.score { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 14px; }
.score b { color: var(--gold); }
.phone { --p-navy: #0a192f; --p-muted: #5b6b82; --p-bg: #eef2f7; --p-border: #d7dfea; width: 320px; max-width: 100%; height: 640px; border-radius: 46px; background: #0b1220; padding: 12px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 2px #1d2a44, 0 0 80px rgba(34, 228, 242, 0.12); position: relative; color: #0f1b2d; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 28px; background: #0b1220; border-radius: 999px; z-index: 3; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--p-bg); position: relative; display: flex; flex-direction: column; }
.phone .screen-top { height: 52px; flex: none; }
.phone .app-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 8px; }
.phone .app-bar .name { font-weight: 800; color: var(--p-navy); font-size: 15px; }
.phone .app-bar .pill { font-size: 11px; font-weight: 700; color: var(--p-navy); background: rgba(0, 225, 240, 0.25); padding: 4px 9px; border-radius: 999px; }
.phone .sim-body { flex: 1; overflow: hidden; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone .sim-body h3 { margin: 4px 0 0; font-size: 18px; letter-spacing: -0.02em; color: var(--p-navy); line-height: 1.2; }
.phone .sim-body p { margin: 0; font-size: 13px; color: var(--p-muted); }
.phone .scard { background: #fff; border: 1px solid var(--p-border); border-radius: 16px; padding: 12px 14px; font-size: 13px; box-shadow: 0 4px 14px rgba(10, 25, 47, 0.05); animation: simpop 0.35s ease both; }
.phone .scard.go { cursor: pointer; }
.phone .scard.dark { background: linear-gradient(135deg, #0a192f, #1b3a66); color: #fff; border: 0; }
.phone .scard.dark small { color: rgba(255, 255, 255, 0.7); }
.phone .scard.gold { background: #fff8e6; border-color: #f1d892; }
.phone .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.phone small { display: block; color: var(--p-muted); font-size: 11px; }
.phone .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.phone .chip { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--p-border); color: #0f1b2d; cursor: pointer; }
.phone .chip.on, .phone .chip:hover { background: var(--p-navy); color: #fff; border-color: var(--p-navy); }
.phone .chip .ico { width: 15px; height: 15px; margin-right: 6px; color: currentColor; }
.phone .sim-cta { margin-top: auto; }
.phone .sim-cta button { width: 100%; }
.phone .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 13px; flex: none; }
.phone .badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: rgba(0, 225, 240, 0.22); color: var(--p-navy); }
.phone .badge.gold { background: #fff0c2; color: #6b4b00; }
.phone .badge.green { background: #dff4e6; color: #146b3c; }
.phone .meter { height: 8px; border-radius: 999px; background: #e4eaf3; overflow: hidden; }
.phone .meter > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00e1f0, #22c8ff); transition: width 1.2s ease; }
.phone .tabbar { display: flex; justify-content: space-around; padding: 10px 8px 14px; margin: 0 10px 10px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--p-border); border-radius: 22px; font-size: 10px; font-weight: 700; color: var(--p-muted); }
.phone .tabbar span.on { color: var(--p-navy); }
.phone .why summary { font-size: 11px; font-weight: 700; color: #0891b2; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.phone .why p { font-size: 11.5px; color: var(--p-muted); margin: 4px 0 0; line-height: 1.4; }
.phone .kv { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 12px; }
.phone .kv .dim { color: var(--p-muted); }
.phone .sim-body .ico { color: #0891b2; }
.phone .scard .ico.xs { color: var(--p-muted); margin-right: 4px; vertical-align: -2px; }
.phone .ok { color: #1e7f4a; }
.phone .no { color: #d64545; }
.phone .stars { display: inline-flex; gap: 2px; }
.phone .stars .ico { width: 14px; height: 14px; color: #f5c451; fill: currentColor; stroke: none; }
.phone .ico.st { fill: #f5c451; stroke: none; }
.phone .btn-primary { box-shadow: none; }
.phone .confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.phone .confetti i { position: absolute; top: -10px; width: 8px; height: 12px; border-radius: 2px; animation: simfall 1.6s ease-in forwards; }
@keyframes simpop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes simfall { to { transform: translateY(700px) rotate(540deg); opacity: 0.6; } }

/* ───────── homepage pieces ───────── */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(75, 227, 138, 0.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(75, 227, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(75, 227, 138, 0); } }
.door { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); color: var(--ink); text-decoration: none !important; position: relative; overflow: hidden; transition: transform 0.3s var(--bounce), border-color 0.3s; }
.door::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: var(--c); opacity: 0.16; filter: blur(40px); transition: opacity 0.3s, transform 0.5s var(--ease); }
.door:hover { transform: translateY(-8px); border-color: var(--c); }
.door:hover::before { opacity: 0.32; transform: scale(1.2); }
.door b { font-size: 24px; letter-spacing: -0.02em; }
.door p { color: var(--muted); margin: 0; }
.door-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: var(--c); }
.door-go { color: var(--c); font-weight: 800; font-size: 14px; margin-top: 6px; }
.door-cyan { --c: var(--cyan); } .door-gold { --c: var(--gold); } .door-pink { --c: var(--pink); }

/* story stage scenes */
.story .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.94); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); pointer-events: none; }
.story .scene.on { opacity: 1; transform: none; }
.s-card { background: #fff; color: #0a192f; border-radius: 20px; padding: 18px 20px; width: min(300px, 78%); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: grid; gap: 6px; position: relative; z-index: 2; }
.s-card small { color: #5b6b82; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.s-card b { font-size: 22px; letter-spacing: -0.02em; }
.s-row { display: flex; gap: 8px; flex-wrap: wrap; }
.s-tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #eef2f7; }
.s-price { font-weight: 800; color: #0891b2; font-size: 14px; }
.scene.on .s-pop { animation: rise 0.6s var(--bounce); }
.s-tv { position: absolute; right: 9%; top: 10%; width: 32%; aspect-ratio: 16 / 10; background: #0b1220; border: 3px solid #22e4f2; border-radius: 8px; transform: rotate(-8deg); box-shadow: 0 0 30px rgba(34, 228, 242, 0.35); }
.scene.on .s-tv { animation: tvswing 2.4s ease-in-out infinite alternate; }
@keyframes tvswing { to { transform: rotate(4deg) translateY(4px); } }
.s-tv-screen { position: absolute; inset: 6px; border-radius: 3px; background: linear-gradient(135deg, #1b3a66, #2a1240); }
.s-stack { display: grid; gap: 10px; width: min(320px, 82%); }
.s-pro { display: flex; align-items: center; gap: 12px; background: #fff; color: #0a192f; border-radius: 18px; padding: 12px 14px; transform: rotate(var(--r)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.scene.on .s-pro { animation: rise 0.5s var(--bounce) both; }
.scene.on .s-pro:nth-child(2) { animation-delay: 0.12s; } .scene.on .s-pro:nth-child(3) { animation-delay: 0.24s; }
.s-pro small { display: block; color: #5b6b82; font-size: 12px; }
.s-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.s-badge { margin-left: auto; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: rgba(0, 225, 240, 0.2); color: #0a5f6b; }
.s-badge.gold { background: #fff0c2; color: #6b4b00; }
.s-stamp { position: absolute; right: 12%; bottom: 14%; border: 4px solid var(--green); color: var(--green); font-weight: 900; font-size: 28px; padding: 4px 14px; border-radius: 10px; transform: rotate(-12deg) scale(2); opacity: 0; letter-spacing: 2px; text-transform: uppercase; }
.scene.on .s-stamp { animation: stamp 0.5s var(--bounce) 0.7s forwards; }
@keyframes stamp { to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.s-clock { position: absolute; left: 10%; top: 12%; width: 38%; display: grid; place-items: center; }
.s-clock svg { width: 100%; }
.s-clock > div { position: absolute; text-align: center; }
.s-clock b { font-size: 28px; display: block; }
.s-clock small { color: var(--muted); font-size: 12px; }
.scene.on .s-ring { animation: ring 3s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 80; } }
.s-mini { position: absolute; right: 8%; bottom: 12%; width: min(240px, 56%); }
.s-ph { flex: 1; height: 58px; border-radius: 10px; background: repeating-linear-gradient(45deg, #6b5a45 0 8px, #5c4c3a 8px 16px); }
.s-ph.after { background: linear-gradient(135deg, #e7ecf2, #cfd8e3); }
.s-approve { text-align: center; justify-items: center; }
.s-btn { margin-top: 8px; background: #22e4f2; color: #03141c; font-weight: 800; border-radius: 999px; padding: 12px 34px; }
.scene.on .s-btn { animation: press 1.6s ease-in-out 0.6s infinite; }
@keyframes press { 0%, 70%, 100% { transform: none; } 80% { transform: scale(0.92); } }
.s-check { position: absolute; top: 12%; right: 14%; width: 70px; height: 70px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transform: scale(0); box-shadow: 0 0 40px rgba(75, 227, 138, 0.6); }
.s-check svg { width: 38px; fill: none; stroke: #03140a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.scene.on .s-check { animation: stamp2 0.5s var(--bounce) 1s forwards; }
@keyframes stamp2 { to { transform: scale(1); } }

/* honest prices */
.price-card { display: grid; gap: 10px; }
.price-card.hi { border-color: rgba(255, 201, 77, 0.45); box-shadow: 0 0 60px rgba(255, 201, 77, 0.08); }
.big-price { font-size: clamp(44px, 6vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.pbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.pbar i { display: block; height: 100%; width: 0; transition: width 1.4s var(--ease) 0.3s; }
.in .pbar i, .pbar.in i { width: var(--w); }

/* create band */
.band { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #1a0f2e, #2a1240 50%, #0f1b3d); border: 1px solid rgba(255, 79, 139, 0.25); }
.band-glow { position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 139, 0.35), transparent 65%); pointer-events: none; }
.band .card { background: rgba(0, 0, 0, 0.25); }

/* try it */
.try { display: grid; gap: 40px; grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }

/* join */
.join-box { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr; align-items: center; padding: clamp(26px, 5vw, 52px); border-radius: 34px; border: 1px solid rgba(255, 201, 77, 0.3); background: radial-gradient(800px 400px at 0% 0%, rgba(255, 201, 77, 0.12), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); }
@media (max-width: 860px) { .join-box { grid-template-columns: 1fr; } }
.qr-card { background: #fff; color: #0a192f; border-radius: 24px; padding: 22px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.qr-card svg { width: 170px; height: 170px; }
.qr-card p { margin: 0; font-size: 13.5px; color: #5b6b82; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.stores a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #0a192f; color: #fff; font-weight: 700; font-size: 13px; }
.faq-h { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 34px 0 6px; }
#faq .wrap { max-width: 860px; }

/* ───────── arcade leaderboards (kit.js arcade.*) ───────── */
.lb-wrap { padding: 0 0 30px; display: grid; justify-items: center; }
.lb { width: min(560px, 100%); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); padding: 16px; }
.lb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.lb-head b { font-size: 18px; letter-spacing: -0.02em; }
.lb-streak { color: var(--gold); font-weight: 800; font-size: 13.5px; }
.lb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); margin-bottom: 10px; }
.lb-tabs button { border: 0; border-radius: 10px; padding: 8px 4px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.lb-tabs button[aria-selected='true'] { background: rgba(34, 228, 242, 0.16); color: var(--cyan); }
.lb-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb-rows li { display: grid; grid-template-columns: 38px 30px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.lb-rows li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.lb-rows li.me { background: rgba(255, 201, 77, 0.14); outline: 1px solid rgba(255, 201, 77, 0.45); }
.lb-rows li.lb-empty { display: block; text-align: center; color: var(--muted); padding: 18px 10px; background: none; }
.lb-rank { font-weight: 800; color: var(--muted); font-size: 15px; text-align: center; }
.lb-giggy { width: 30px; height: 38px; display: block; }
.lb-giggy svg { width: 100%; height: 100%; display: block; }
.lb-name { font-weight: 800; letter-spacing: 0.18em; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.lb-name em { font-style: normal; letter-spacing: 0; font-family: inherit; font-size: 12px; color: var(--gold); margin-left: 6px; }
.lb-score { font-weight: 800; color: var(--ink); }
.lb-foot { margin: 10px 2px 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.arc-post { display: grid; gap: 8px; justify-items: center; text-align: center; margin-top: 6px; }
.arc-line { margin: 0; font-size: 14.5px; line-height: 1.5; }
.arc-line.muted, .arc-fine { color: var(--muted); }
.arc-line .gold, .arc-line b.gold { color: var(--gold); font-weight: 800; }
.arc-fine { margin: 0; font-size: 11.5px; }
.arc-form { display: flex; gap: 8px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.arc-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); text-align: left; }
.arc-form input { width: 120px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 201, 77, 0.5); background: rgba(0, 0, 0, 0.35); color: var(--gold); font: 800 22px/1 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 0.35em; text-transform: uppercase; text-align: center; }
.arc-change { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.arcade-top { display: block; margin-top: 4px; font-size: 12.5px; color: var(--gold); }
.lb-champ { margin: -2px 2px 10px; font-size: 13px; color: var(--gold); }
.arc-xp { margin: 0; font-weight: 800; font-size: 13px; color: var(--green); letter-spacing: 0.02em; }
.arc-card { margin-top: 2px; }

/* ───────── your arcade: level, XP, today's missions (kit.js paintMe) ───────── */
.am { display: grid; gap: 10px; }
.lb-me { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.am-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.am-lv { font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; }
.am-lv b { color: var(--gold); font-size: 17px; }
.am-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.am-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 0 12px rgba(34, 228, 242, 0.5); transition: width 0.6s var(--ease); }
.am-xp { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.am-sub { margin: 0; font-size: 13.5px; color: var(--muted); }
.am details summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; align-items: center; gap: 6px; }
.am details summary::-webkit-details-marker { display: none; }
.am details summary::before { content: '▸'; color: var(--cyan); transition: transform 0.2s; }
.am details[open] summary::before { transform: rotate(90deg); }
.am-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.am-list li { display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13.5px; }
.am-list li.done { background: rgba(75, 227, 138, 0.1); }
.am-list li.done .am-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(75, 227, 138, 0.6); }
.am-check { color: var(--cyan); font-weight: 900; text-align: center; }
.am-list li.done .am-check { color: var(--green); }
.am-text small { display: block; color: var(--faint); font-size: 11.5px; }
.am-prog { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.am-list em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.am-fine { margin: 8px 2px 0; font-size: 11.5px; color: var(--faint); }
.arcade-me { width: min(720px, 100%); margin: 0 auto 26px; padding: 16px 18px; border-radius: 22px; border: 1px solid rgba(255, 201, 77, 0.28); background: linear-gradient(180deg, rgba(255, 201, 77, 0.08), rgba(255, 255, 255, 0.02)); }
