/* ==========================================================================
   HTML Games Code — site styles (game-lobby look). Tokens first.
   ========================================================================== */
@font-face { font-family: "Lilita One"; src: url("/fonts/lilitaone-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #1b1446; --bg-2: #120d35; --panel: #2a2170; --panel-hi: #382c8f;
  --ink: #ffffff; --ink-soft: #c9c2ff; --ink-dim: #9a90d8;
  --green: #36d35a; --green-lo: #1d9a3a; --pink: #ff5fb1; --pink-lo: #c62f80;
  --yellow: #ffcf33; --yellow-lo: #c48a00; --blue: #3fa6ff; --blue-lo: #1f6fd0; --purple: #9b5cff;
  --display: "Lilita One", "Fredoka", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: radial-gradient(1200px 700px at 70% -10%, #3a2a8f 0%, transparent 60%), linear-gradient(var(--bg), var(--bg-2)); background-color: var(--bg); line-height: 1.55; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: #ffe27a; }
b, strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: .3px; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3, h4 { font-family: var(--body); font-weight: 600; letter-spacing: 0; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
code { background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
pre { background: #0e0a2a; border: 2px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
pre code { background: none; padding: 0; }
main { position: relative; z-index: 1; }

/* ---------- animated sky -------------------------------------------------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.b1 { background: #ff5fb1; left: -160px; top: 20%; }
.b2 { background: #3fa6ff; right: -180px; top: 45%; animation-delay: -7s; }
.b3 { background: #7dff5a; left: 35%; top: 90%; opacity: .2; animation-delay: -12s; }
@keyframes drift { to { transform: translate(80px, -120px) scale(1.15); } }
.floaties span { position: absolute; bottom: -60px; font-size: 26px; opacity: .3; animation: floatUp linear infinite; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
@keyframes floatUp { to { transform: translateY(-115vh) rotate(360deg); } }

/* ---------- buttons -------------------------------------------------------- */
.btn {
  --b: var(--green); --b-lo: var(--green-lo);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 16px; cursor: pointer; text-decoration: none; color: #fff; white-space: nowrap;
  font-family: var(--display); font-size: 19px; letter-spacing: .4px; text-shadow: 0 2px 0 rgba(0,0,0,.25);
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 65%, #fff) 0%, var(--b) 48%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.12), 0 6px 0 var(--b-lo), 0 10px 20px rgba(0,0,0,.3);
  transition: transform .1s, box-shadow .1s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 3px 0 rgba(255,255,255,.35), 0 2px 0 var(--b-lo); }
.btn-green { --b: var(--green); --b-lo: var(--green-lo); }
.btn-pink { --b: var(--pink); --b-lo: var(--pink-lo); }
.btn-blue { --b: var(--blue); --b-lo: var(--blue-lo); }
.btn-yellow { --b: var(--yellow); --b-lo: var(--yellow-lo); color: #4a2a00; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.btn-xl { min-height: 62px; font-size: 22px; padding: 0 28px; border-radius: 20px; }
.btn-sm { min-height: 42px; font-size: 16px; padding: 0 14px; border-radius: 13px; }
.btn-wide { width: 100%; }
.btn-buy { min-height: 64px; padding: 0 18px; text-align: left; }
.btn-buy small { display: block; font-family: var(--body); font-weight: 600; font-size: 12px; opacity: .92; text-shadow: none; }
.btn-buy b { font-weight: 400; font-size: 21px; }
.b-ico { font-size: 26px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 8px; }

/* ---------- nav -------------------------------------------------------------- */
.topnav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; max-width: var(--max); margin: 0 auto; padding: 12px 20px; }
.topnav::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: rgba(18,13,53,.72); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); z-index: -1; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 22px; white-space: nowrap; }
.logo img { border-radius: 10px; }
.logo b { font-weight: 400; color: var(--yellow); }
.topnav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { min-height: 44px; font-size: 16px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255,255,255,.1); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { display: block; width: 22px; height: 3px; border-radius: 2px; background: #fff; transition: transform .2s; }

/* ---------- hero --------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 40px 20px 30px; min-height: 640px; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: var(--yellow); font-weight: 600; font-size: 14px; letter-spacing: .4px; }
.hero h1 { margin: 0 0 18px; }
.h1-big { display: inline; font-size: clamp(48px, 7.4vw, 92px); line-height: .98; }
.h1-big .w { display: inline-block; white-space: nowrap; }
.h1-big .w:nth-child(2) i { color: var(--yellow); }
.h1-big .w:nth-child(3) i { color: #7dff5a; }
.h1-big i { display: inline-block; font-style: normal; color: #fff; -webkit-text-stroke: 8px #2a1260; paint-order: stroke fill; filter: drop-shadow(0 6px 0 #120a3a); animation: hop 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .08s); }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14px) rotate(-4deg); } }
.h1-sub { display: inline-block; margin-left: .15em; font-size: clamp(24px, 3.4vw, 38px); color: #fff; -webkit-text-stroke: 5px #2a1260; paint-order: stroke fill; }
.h1-sub em { font-style: normal; color: var(--yellow); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 640px; }
.lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.08); font-weight: 600; font-size: 14px; }
.hero-art { position: relative; height: 600px; }
.phone { position: relative; width: 240px; border-radius: 36px; padding: 9px; background: linear-gradient(145deg, #3a3460, #15122a); box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 30px 60px rgba(0,0,0,.5); }
.phone img, .phone iframe { width: 100%; aspect-ratio: 390 / 844; border-radius: 28px; display: block; border: 0; background: #000; }
.notch { position: absolute; top: 15px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #15122a; z-index: 2; opacity: .85; }
.hero-art .phone { position: absolute; }
.p1 { left: 0; top: 70px; transform: rotate(-9deg); animation: bob 6s ease-in-out infinite; }
.p2 { left: 50%; top: 10px; margin-left: -120px; z-index: 2; animation: bob 6s -2s ease-in-out infinite; }
.p3 { right: 0; top: 80px; transform: rotate(9deg); animation: bob 6s -4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -16px; } }
.coin { position: absolute; font-size: 38px; z-index: 3; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); animation: spinBob 3.4s ease-in-out infinite; }
.c1 { left: 6%; top: 8%; } .c2 { right: 4%; top: 2%; animation-delay: -1s; } .c3 { left: 12%; bottom: 6%; animation-delay: -2s; } .c4 { right: 10%; bottom: 2%; animation-delay: -.5s; }
@keyframes spinBob { 50% { transform: translateY(-18px) rotate(14deg) scale(1.1); } }
.price-bubble { position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: center; padding: 8px 16px; border-radius: 20px; font-family: var(--display); font-size: 34px; line-height: 1; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.25); animation: bob 4s ease-in-out infinite; }
.price-bubble small { font-family: var(--body); font-weight: 600; font-size: 12px; }
.pb1 { left: -10px; top: 46%; background: var(--green); box-shadow: 0 6px 0 var(--green-lo); }
.pb2 { right: -10px; top: 58%; background: var(--pink); box-shadow: 0 6px 0 var(--pink-lo); animation-delay: -2s; }


/* ---------- sections ------------------------------------------------------------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 50px 20px; }
.section.narrow { max-width: 860px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.sec-head p { color: var(--ink-soft); font-size: 18px; }
.center-h { text-align: center; }
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s, transform .6s cubic-bezier(.2,1.2,.4,1); }
.reveal.in { opacity: 1; transform: none; }

/* game cards */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.games-grid.three { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gcard { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: linear-gradient(170deg, var(--panel-hi), var(--panel)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent), 0 8px 0 rgba(0,0,0,.25), 0 18px 30px rgba(0,0,0,.3); transition: transform .25s cubic-bezier(.2,1.4,.4,1), box-shadow .25s; transform-style: preserve-3d; }
.gcard:hover { box-shadow: inset 0 0 0 3px var(--c), 0 10px 0 rgba(0,0,0,.25), 0 26px 40px rgba(0,0,0,.4), 0 0 40px color-mix(in srgb, var(--c) 35%, transparent); }
.g-shot { position: relative; display: block; height: 300px; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 40%, #241a5e), #15103a); }
.g-shot img { position: absolute; left: 50%; top: 20px; width: 168px; margin-left: -84px; border-radius: 22px; box-shadow: 0 0 0 6px #15122a, 0 20px 30px rgba(0,0,0,.5); transition: transform .45s cubic-bezier(.2,1.2,.4,1), opacity .35s; }
.g-shot .s2 { opacity: 0; transform: translateY(30px) rotate(4deg); }
.gcard:hover .g-shot .s1 { transform: translateX(-46px) rotate(-8deg) scale(.92); opacity: .55; }
.gcard:hover .g-shot .s2 { opacity: 1; transform: translateX(34px) rotate(5deg); }
.g-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); transform: translateX(-120%); transition: transform .7s; }
.gcard:hover .g-shot::after { transform: translateX(120%); }
.g-num { position: absolute; left: 14px; top: 12px; z-index: 2; padding: 2px 10px; border-radius: 10px; background: rgba(0,0,0,.45); font-family: var(--display); font-size: 18px; }
.g-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.g-genre { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c) 25%, transparent); font-weight: 600; font-size: 13px; }
.g-body h3 { margin: 2px 0 0; font-size: 24px; }
.g-body h3 a { color: #fff; text-decoration: none; }
.g-body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.g-stats { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 6px; }
.g-stats li { padding: 3px 9px; border-radius: 10px; background: rgba(0,0,0,.25); font-size: 13px; color: var(--ink-soft); }
.g-stats b { color: var(--yellow); font-family: var(--display); font-weight: 400; }
.g-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.g-actions .btn { flex: 1; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feat { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.08); transition: transform .25s, background .25s; }
.feat:hover { transform: translateY(-6px) rotate(-.6deg); background: rgba(255,255,255,.1); }
.f-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 12px; border-radius: 18px; font-size: 30px; background: linear-gradient(145deg, #ffe27a, #ff9a2e); box-shadow: 0 5px 0 #b3561a; }
.feat p { color: var(--ink-soft); margin: 0; }

/* path (how it works) */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; position: relative; }
.path::before { content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 34px); opacity: .6; }
.path li { position: relative; text-align: center; padding: 0 8px; }
.path li b { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; font-family: var(--display); font-weight: 400; font-size: 36px; color: #4a2a00; background: radial-gradient(circle at 35% 30%, #fff3b0, var(--yellow) 60%); box-shadow: 0 6px 0 var(--yellow-lo), 0 0 0 6px rgba(255,207,51,.2); animation: pulse 2.4s ease-in-out infinite; }
.path li:nth-child(2) b { animation-delay: .3s; } .path li:nth-child(3) b { animation-delay: .6s; } .path li:nth-child(4) b { animation-delay: .9s; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.path p { color: var(--ink-soft); }

/* APK band */
.apk-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; margin-top: 30px; margin-bottom: 30px; border-radius: 34px; padding: 44px; background: linear-gradient(135deg, #ff5fb1 0%, #9b5cff 55%, #3fa6ff 100%); box-shadow: 0 12px 0 rgba(0,0,0,.25); overflow: hidden; }
.apk-band.small { display: block; text-align: center; padding: 34px; }
.apk-band .eyebrow { background: rgba(0,0,0,.2); color: #fff; }
.apk-band p { color: rgba(255,255,255,.92); font-size: 18px; }
.apk-art { position: relative; display: flex; justify-content: center; }
.apk-art .phone.solo, .apk-art .phone.big { width: 240px; transform: rotate(4deg); animation: bob 5s ease-in-out infinite; }
.ad-tag { position: absolute; padding: 8px 14px; border-radius: 14px; background: #fff; color: #3a2160; font-weight: 600; box-shadow: 0 6px 0 rgba(0,0,0,.2); animation: bob 4s ease-in-out infinite; white-space: nowrap; }
.t1 { left: 0; top: 18%; } .t2 { right: 0; top: 46%; animation-delay: -1.3s; } .t3 { left: 6%; bottom: 10%; animation-delay: -2.6s; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; box-shadow: 0 2px 0 var(--green-lo); }
.ticks.no li::before { content: "✕"; background: #ff4d5e; box-shadow: 0 2px 0 #c42a3a; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 26px; }
.price-card { position: relative; padding: 30px; border-radius: 30px; background: linear-gradient(170deg, var(--panel-hi), var(--panel)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 10px 0 rgba(0,0,0,.25); }
.price-card.hot { box-shadow: inset 0 0 0 3px var(--pink), 0 10px 0 rgba(0,0,0,.25), 0 0 50px rgba(255,95,177,.35); }
.pc-ico { font-size: 44px; }
.pc-price b { font-family: var(--display); font-weight: 400; font-size: 66px; color: var(--yellow); line-height: 1; }
.pc-price small { margin-left: 6px; color: var(--ink-dim); font-weight: 600; }
.ribbon-tag { position: absolute; top: 18px; right: -40px; transform: rotate(35deg); padding: 6px 48px; background: var(--pink); font-weight: 600; font-size: 13px; box-shadow: 0 4px 0 var(--pink-lo); }
.price-card { overflow: hidden; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.05); }
.compare th, .compare td { padding: 12px 16px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare th { font-family: var(--display); font-weight: 400; font-size: 18px; background: rgba(255,255,255,.08); }
.compare tr:last-child td { font-family: var(--display); font-size: 24px; color: var(--yellow); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.08); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #4a2a00; font-family: var(--display); font-size: 22px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 16px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

.final-cta { text-align: center; margin: 30px auto 60px; padding: 60px 20px; border-radius: 34px; background: radial-gradient(circle at 50% 0%, rgba(255,207,51,.25), transparent 70%), rgba(255,255,255,.04); }
.final-cta p { color: var(--ink-soft); font-size: 19px; }

/* product page */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 14px 20px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-dim); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.prod-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 24px 20px 40px; }
.prod-hero h1 { font-size: clamp(42px, 6vw, 72px); -webkit-text-stroke: 6px #2a1260; paint-order: stroke fill; }
.prod-hero h1 span { display: block; margin-top: 8px; font-size: .45em; color: var(--c, var(--yellow)); -webkit-text-stroke: 3px #2a1260; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 4px 0 8px; }
.stat-row li { min-width: 100px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.08); text-align: center; }
.stat-row b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--yellow); line-height: 1.05; }
.stat-row small { font-weight: 600; color: var(--ink-dim); font-size: 12px; }
.tiny { font-size: 13px; color: var(--ink-dim); }
.prod-demo { display: flex; justify-content: center; position: relative; }
.phone.big { width: min(330px, 80vw); }
.demo-inline { animation: bob 6s ease-in-out infinite; }
.play-overlay { position: absolute; inset: 9px; border-radius: 28px; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; background: radial-gradient(circle, rgba(20,12,60,.35), rgba(20,12,60,.65)); font-family: var(--display); font-size: 22px; transition: background .2s; }
.play-overlay span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font-size: 40px; padding-left: 8px; background: radial-gradient(circle at 35% 30%, #a8ff9a, var(--green)); box-shadow: 0 7px 0 var(--green-lo), 0 0 0 10px rgba(54,211,90,.25); animation: pulse 1.4s ease-in-out infinite; }
.play-overlay:hover { background: radial-gradient(circle, rgba(20,12,60,.15), rgba(20,12,60,.5)); }
.shots { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.shots .phone:nth-child(1) { transform: rotate(-4deg); } .shots .phone:nth-child(2) { transform: rotate(4deg); margin-top: 30px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.feature-list li { position: relative; padding: 16px 18px 16px 58px; border-radius: 18px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.08); font-weight: 600; }
.feature-list li::before { content: "⭐"; position: absolute; left: 16px; top: 13px; font-size: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 28px; border-radius: 26px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.08); }
.panel h2 { font-family: var(--body); font-weight: 600; font-size: 24px; }
.panel p { color: var(--ink-soft); }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 26px; text-decoration: none; color: #fff; background: linear-gradient(170deg, var(--panel-hi), var(--panel)); box-shadow: 0 8px 0 rgba(0,0,0,.25); transition: transform .2s; }
.guide-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.guide-card > span { font-size: 44px; }
.guide-card h2 { font-family: var(--body); font-weight: 600; font-size: 22px; margin: 0; }
.guide-card p { color: var(--ink-soft); margin: 0; }
.guide-card b { margin-top: auto; color: var(--yellow); }
.prose { font-size: 18px; }
.prose h1 { font-size: clamp(34px, 5vw, 54px); }
.prose h2 { font-size: 30px; margin-top: 1.4em; }
.prose p, .prose li { color: #e2ddff; }
.prose ul:not(.ticks) { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.cta-box { margin-top: 40px; padding: 30px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,95,177,.25), rgba(63,166,255,.25)); border: 2px solid rgba(255,255,255,.15); }
.cta-box h2 { margin-top: 0; }

/* footer */
.footer { position: relative; z-index: 1; margin-top: 40px; padding: 50px 20px 30px; background: rgba(10,7,32,.65); border-top: 1px solid rgba(255,255,255,.08); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; max-width: var(--max); margin: 0 auto; }
.f-grid p { color: var(--ink-dim); margin-top: 12px; }
.f-grid h4 { font-size: 18px; margin-bottom: 10px; }
.f-grid ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.f-grid a:not(.logo) { color: var(--ink-soft); text-decoration: none; }
.f-grid a:hover { color: #fff; }
.f-copy { max-width: var(--max); margin: 30px auto 0; color: var(--ink-dim); font-size: 14px; text-align: center; }

/* demo modal */
.demo { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.demo[hidden] { display: none; }
.demo-back { position: absolute; inset: 0; background: rgba(8,4,30,.8); backdrop-filter: blur(6px); animation: fade .2s; }
.demo-card { position: relative; display: flex; align-items: center; gap: 30px; animation: popIn .4s cubic-bezier(.2,1.5,.4,1); }
.demo .phone.big { width: min(360px, 82vw, calc((100vh - 60px) / 2.16)); }
.demo-side { width: 300px; }
.demo-side h3 { font-size: 40px; margin-bottom: 6px; }
.demo-side p { color: var(--ink-soft); }
.demo-buy { display: grid; gap: 12px; margin: 18px 0; }
.demo-more { font-weight: 600; }
.demo-x { position: absolute; top: -14px; right: -14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: #3a2160; font-size: 20px; font-weight: 600; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
@keyframes fade { from { opacity: 0; } }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } }
.confetti-bit { position: fixed; z-index: 60; width: 10px; height: 14px; border-radius: 2px; pointer-events: none; }

/* ---------- responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero, .prod-hero, .apk-band, .two-col { grid-template-columns: 1fr; }
  .hero { text-align: center; min-height: 0; padding-top: 20px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .chips { justify-content: center; }
  .hero-art { height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-art .phone { width: 190px; }
  .p2 { margin-left: -95px; }
  .path { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .path::before { display: none; }
  .apk-band { padding: 30px 22px; text-align: center; }
  .apk-band .ticks { justify-items: start; max-width: 380px; margin-left: auto; margin-right: auto; text-align: left; }
  .apk-art { min-height: 380px; }
  .price-grid { grid-template-columns: minmax(0, 440px); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > div:first-child { grid-column: 1 / -1; }
  .demo-card { flex-direction: column; gap: 14px; }
  .demo-side { width: min(360px, 82vw); text-align: center; }
  .demo-side h3 { font-size: 28px; } .demo-side p, .demo-more { display: none; }
  .demo .phone.big { width: min(300px, 70vw, calc((100vh - 230px) / 2.16)); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  body.nav-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 18px; background: rgba(18,13,53,.97); border-bottom: 1px solid rgba(255,255,255,.1); }
  body.nav-open .nav-links a { font-size: 18px; padding: 12px; }
  .section { padding: 36px 16px; }
  .apk-band { margin-left: 12px; margin-right: 12px; border-radius: 28px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .hero-art { height: 400px; }
  .hero-art .phone { width: 160px; border-radius: 28px; padding: 7px; }
  .hero-art .phone img { border-radius: 22px; }
  .p2 { margin-left: -80px; }
  .price-bubble { font-size: 26px; }
  .pb1 { left: 0; } .pb2 { right: 0; }
  .btn-xl { width: 100%; }
  .buy-row .btn { flex: 1 1 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .shots .phone { width: 44%; }
  .shots { gap: 12px; }
  .stat-row li { flex: 1 1 40%; }
  .f-grid { grid-template-columns: 1fr; }
  .logo { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
