/* ==========================================================================
   Public website — same royal blue + gold world as the app.
   Mobile first. No framework, no external requests.
   ========================================================================== */
:root {
    --deep: #060f42;
    --bg: #081553;
    --bg2: #0f2275;
    --royal: #16308f;
    --royal2: #2147c4;
    --gold: #ffc93c;
    --gold-l: #ffe58a;
    --gold-d: #e08a00;
    --red: #e5262e;
    --green: #13a846;
    --yellow: #ffb000;
    --blue: #1c6ce6;
    --text: #f3f6ff;
    --mut: #a9b5e6;
    --line: rgba(255, 255, 255, .1);
    --glass: rgba(255, 255, 255, .06);
    --glass2: rgba(255, 255, 255, .1);
    --r: 22px;
    --shadow: 0 20px 50px -18px rgba(0, 0, 0, .55);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --head: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--deep); }
body {
    margin: 0; color: var(--text); background: var(--deep);
    font: 400 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1300; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 860px; }
.mut { color: var(--mut); }
.small { font-size: 13.5px; }
.gold { color: var(--gold); }
.gold-text {
    display: block; background: linear-gradient(100deg, var(--gold-l) 0%, var(--gold) 40%, var(--gold-d) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 24px rgba(255, 201, 60, .25));
}

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 11px 20px; border-radius: 16px; border: 0; cursor: pointer;
    font-weight: 700; font-size: 15px; line-height: 1.15; white-space: nowrap; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-gold {
    color: #3a2300; background: linear-gradient(180deg, #ffe58a 0%, #ffc93c 45%, #f2a516 100%);
    box-shadow: 0 10px 30px -8px rgba(255, 176, 0, .65), inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(170, 90, 0, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 176, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(170, 90, 0, .35); }
.btn-glass { color: var(--text); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--glass2); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 8px 14px; border-radius: 13px; font-size: 14px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn-lg { min-height: 60px; padding: 12px 24px; border-radius: 18px; font-size: 16px; }
.btn-lg .android { width: 28px; height: 28px; }
.btn-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-txt b { font-size: 16.5px; font-weight: 800; }
.btn-txt small { font-size: 12px; font-weight: 600; opacity: .72; margin-top: 2px; }
.shine::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
    transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ── header ──────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; padding-top: env(safe-area-inset-top); }
.hdr.solid { background: rgba(6, 15, 66, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -15px rgba(0, 0, 0, .6); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 46px; height: 42px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: #dfe6ff; transition: background .2s, color .2s; }
.nav a:hover { background: var(--glass); color: #fff; }
.hdr-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
    .nav { position: fixed; inset: calc(68px + env(safe-area-inset-top)) 12px auto; display: flex; flex-direction: column; padding: 10px; border-radius: 20px;
           background: rgba(8, 21, 83, .97); border: 1px solid var(--line); box-shadow: var(--shadow);
           opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
    .nav a { padding: 14px 16px; font-size: 16px; }
    .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
    .hdr-cta .btn span { display: none; }
    .hdr-cta .btn { padding: 8px 11px; }
}
@media (min-width: 900px) {
    .nav { display: flex; }
    .hdr-cta { margin-left: 8px; }
    .burger { display: none; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(96px + env(safe-area-inset-top)) 0 40px; overflow: hidden; isolation: isolate;
        background: radial-gradient(1100px 700px at 75% 10%, #2147c4 0%, transparent 60%), radial-gradient(900px 600px at 0% 60%, #16308f 0%, transparent 65%), linear-gradient(180deg, #0f2275 0%, #081553 55%, #060f42 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero::after, .page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(180deg, transparent, var(--deep)); pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; background: #3b6bff; top: -120px; right: -80px; }
.o2 { width: 360px; height: 360px; background: #ffb000; opacity: .18; bottom: -140px; left: -100px; animation-delay: -6s; }
.o3 { width: 280px; height: 280px; background: #e5262e; opacity: .14; top: 40%; left: 45%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.grid-glow { position: absolute; inset: 0; opacity: .22;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); }
.sparks { position: absolute; inset: 0; opacity: .7;
    background-image: radial-gradient(2px 2px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 72% 14%, #ffe58a 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 88% 62%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 34% 78%, #9fc1ff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 55% 40%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 22% 55%, #ffe58a 50%, transparent 51%);
    animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }

.hero-in { display: grid; gap: 34px; align-items: center; }
.hero-copy { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line);
         font-size: 13px; font-weight: 600; color: #dfe6ff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #2fe07a; box-shadow: 0 0 0 0 rgba(47, 224, 122, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 224, 122, 0); } }
.hero h1 { margin: 18px 0 16px; font-size: clamp(40px, 10.5vw, 76px); font-weight: 800; letter-spacing: -.04em; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.lead { max-width: 560px; margin: 0 auto; font-size: clamp(16px, 2.4vw, 18.5px); color: #c9d4ff; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin: 28px auto 0; max-width: 360px; }
.hero-cta .btn { width: 100%; }
.note { margin-top: 14px; font-size: 13px; color: var(--mut); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(19, 168, 70, .14); border: 1px solid rgba(91, 221, 110, .25); font-size: 13px; font-weight: 600; color: #c9f7d3; }
.chips svg { width: 15px; height: 15px; color: #5bdd6e; }

.invite { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 24px auto 0; max-width: 460px; padding: 14px; border-radius: 20px; text-align: left;
          background: linear-gradient(135deg, rgba(255, 201, 60, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 201, 60, .35); }
.invite img { width: 54px; }
.invite .code { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px dashed var(--gold); background: rgba(255, 201, 60, .08); cursor: pointer;
                color: var(--gold); font: 800 24px/1.1 ui-monospace, Menlo, monospace; letter-spacing: 5px; }
.invite .code small { font: 600 11px/1 'Inter', sans-serif; letter-spacing: 0; color: var(--mut); margin-top: 5px; }

/* phone + floating pieces */
.hero-art { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 1.12; }
.board-ring { position: absolute; inset: 9% 3%; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(229, 38, 46, .55) 0 25%, rgba(19, 168, 70, .55) 0 50%, rgba(255, 176, 0, .55) 0 75%, rgba(28, 108, 230, .55) 0 100%);
    filter: blur(38px); opacity: .55; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 9 / 19; transform: translate(-50%, -50%) rotate(-4deg);
         border-radius: 38px; padding: 9px; background: linear-gradient(145deg, #2a3b8c, #0b1650 60%, #1d2d7a); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 2px rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(255, 255, 255, .12); }
.phone .notch { position: absolute; top: 15px; left: 50%; z-index: 2; width: 32%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #050a2c; }
.phone .screen { position: relative; height: 100%; overflow: hidden; border-radius: 30px; background: linear-gradient(180deg, #16308f, #0f2275 45%, #081553); }
.phone .screen > img { width: 100%; height: 100%; object-fit: cover; }
.fl { position: absolute; z-index: 3; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); will-change: transform; animation: float 6s ease-in-out infinite; }
.f-dice1 { width: 27%; left: -2%; top: 8%; animation-duration: 6.5s; cursor: pointer; }
.f-dice2 { width: 22%; right: 0; bottom: 12%; animation-delay: -2s; cursor: pointer; }
.f-red { width: 11%; right: 9%; top: 6%; animation-delay: -1s; }
.f-blue { width: 9%; left: 13%; bottom: 2%; animation-delay: -3s; }
.f-green { width: 10.5%; right: 2%; top: 42%; animation-delay: -4s; }
.f-yellow { width: 10%; left: 4%; top: 42%; animation-delay: -2.5s; }
.f-crown { width: 17%; left: 4%; top: 66%; animation-delay: -1.5s; }
.f-coin { width: 15%; left: 24%; bottom: 0; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: 6deg; } }
.fl.rolling { animation: roll .7s var(--ease); }
@keyframes roll { 0% { rotate: 0deg; scale: 1; } 50% { scale: 1.2; } 100% { rotate: 720deg; scale: 1; } }

/* built-in mini app inside the phone */
.mini { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7%; padding: 13% 7% 6%; font-size: clamp(8px, 2.4vw, 11px); }
.mini-top { display: flex; align-items: center; gap: 6px; }
.mini-top > img { width: 18%; border-radius: 50%; }
.mini-user { display: flex; flex-direction: column; line-height: 1.15; }
.mini-user b { font-size: 1.15em; }
.mini-user span { color: var(--gold-l); font-size: .9em; }
.mini-bal { display: flex; align-items: center; gap: 3px; margin-left: auto; padding: 3px 5px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 201, 60, .4); }
.mini-bal img { width: 15px; }
.mini-bal b { color: var(--gold-l); font-size: 1.05em; }
.mini-logo { width: 62%; margin: 0 auto; animation: float 5s ease-in-out infinite; }
.mini-card { display: flex; align-items: center; gap: 8%; padding: 6% 7%; border-radius: 16px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 8px 16px -6px rgba(0, 0, 0, .5); }
.mini-card img { width: 34%; }
.mini-card b { display: block; font-size: 1.35em; font-weight: 800; line-height: 1.1; }
.mini-card span { font-size: .95em; opacity: .85; }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.mini-card.sm { flex-direction: column; gap: 4px; padding: 7% 4%; text-align: center; }
.mini-card.sm img { width: 62%; }
.mini-card.sm b { font-size: 1.1em; }
.c-blue { background: linear-gradient(135deg, #3d8bff, #1c4fd0); }
.c-green { background: linear-gradient(135deg, #2bc35c, #0a7a33); }
.c-red { background: linear-gradient(135deg, #ff5a4f, #b5121c); }
.mini-nav { display: flex; justify-content: space-around; margin-top: auto; padding: 6px; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.mini-nav span { width: 13%; aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.mini-nav span.on { background: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
.stats div { padding: 16px 8px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--head); font-size: clamp(22px, 5vw, 34px); font-weight: 800; color: var(--gold); }
.stats span { font-size: 12.5px; color: var(--mut); }

@media (min-width: 900px) {
    .hero { padding: 130px 0 70px; }
    .hero-in { grid-template-columns: 1.05fr 1fr; gap: 40px; }
    .hero-copy { text-align: left; }
    .lead { margin: 0; }
    .hero-cta { flex-direction: row; max-width: none; margin: 32px 0 0; }
    .hero-cta .btn { width: auto; }
    .chips { justify-content: flex-start; }
    .invite { margin-left: 0; }
    .hero-art { max-width: 520px; }
}

/* ── sections ────────────────────────────────────────────────────────── */
.sec { position: relative; padding: 64px 0; }
.sec-head { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 800; }
.sec-head p:not(.eyebrow) { margin-top: 12px; color: var(--mut); font-size: 16.5px; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 201, 60, .12); color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .sec { padding: 96px 0; } .sec-head { margin-bottom: 48px; } }

.feat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feat { position: relative; padding: 24px; border-radius: var(--r); background: linear-gradient(160deg, rgba(33, 71, 196, .35), rgba(255, 255, 255, .03)); border: 1px solid var(--line);
        transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; overflow: hidden; }
.feat::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 201, 60, .7), transparent 40%, transparent 60%, rgba(91, 176, 255, .6));
                -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat:hover::before { opacity: 1; }
.feat-ic { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; border-radius: 22px; background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)); }
.feat-ic img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .4)); transition: transform .5s var(--ease); }
.feat:hover .feat-ic img { transform: scale(1.12) rotate(-6deg); }
.feat h3 { font-size: 19px; font-weight: 700; }
.feat p { margin-top: 8px; color: var(--mut); font-size: 15px; }

.modes { display: grid; gap: 14px; }
@media (min-width: 700px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r); overflow: hidden; position: relative;
        box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 18px 40px -20px rgba(0, 0, 0, .6); transition: transform .35s var(--ease); }
.mode:hover { transform: translateY(-5px) scale(1.01); }
.mode img { width: 38%; max-width: 150px; flex: none; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .4)); transition: transform .5s var(--ease); }
.mode:hover img { transform: scale(1.08) rotate(-4deg); }
.mode h3 { font-size: 21px; font-weight: 800; }
.mode p { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.m-blue { background: linear-gradient(135deg, #3d8bff, #1844b8); }
.m-green { background: linear-gradient(135deg, #2bc35c, #08692b); }
.m-red { background: linear-gradient(135deg, #ff5a4f, #a10f19); }
.m-yellow { background: linear-gradient(135deg, #ffc93c, #d47a00); }
.m-yellow h3, .m-yellow p { color: #3a2300; }

.tiers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); gap: 14px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tiers::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .tiers { grid-auto-columns: minmax(220px, 1fr); } }
.tier { scroll-snap-align: start; padding: 22px 18px; border-radius: var(--r); text-align: center; background: linear-gradient(180deg, rgba(33, 71, 196, .5), rgba(8, 21, 83, .6)); border: 1px solid rgba(255, 201, 60, .22); transition: transform .35s var(--ease), border-color .3s; }
.tier:hover { transform: translateY(-6px); border-color: rgba(255, 201, 60, .6); }
.tier img { width: 58px; margin: 0 auto 10px; }
.tier-name { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.tier-entry { margin-top: 4px; font-size: 15px; }
.tier-entry b { font-family: var(--head); font-size: 22px; }
.tier-prize { display: grid; gap: 8px; margin-top: 14px; }
.tier-prize div { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); }
.tier-prize span { font-size: 13px; color: var(--mut); }
.tier-prize b { color: var(--gold); font-family: var(--head); font-size: 19px; }

.shots-wrap { position: relative; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: none; width: 62%; max-width: 250px; margin: 0; scroll-snap-align: center; text-align: center; }
.shot .phone { position: relative; left: auto; top: auto; width: 100%; transform: none; border-radius: 32px; padding: 7px; }
.shot .phone .screen { border-radius: 26px; }
.shot .phone .notch { top: 12px; height: 14px; }
.shot-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 32px; }
.shot-open .phone, .shot-open .screen, .shot-open .notch { display: block; }
.shot-open .screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shot-open:hover .screen img { transform: scale(1.04); }
.zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(8, 21, 83, .85); border: 1px solid rgba(255, 201, 60, .5); color: var(--gold); opacity: .9; transition: transform .3s var(--ease); }
.zoom svg { width: 20px; height: 20px; }
.shot-open:hover .zoom { transform: scale(1.12); }
.shot figcaption { margin-top: 12px; font-weight: 600; color: #dfe6ff; }
.shots-btn { display: none; position: absolute; top: 42%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 21, 83, .85); font-size: 26px; line-height: 1; cursor: pointer; }
.shots-btn.prev { left: -6px; } .shots-btn.next { right: -6px; }
@media (min-width: 900px) { .shots-btn { display: grid; place-items: center; } .shot { width: 23%; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
    .steps { grid-template-columns: repeat(4, 1fr); }
    .steps::before { content: ''; position: absolute; }
    .step:not(:last-child)::after { content: ''; position: absolute; top: 46px; left: calc(50% + 40px); width: calc(100% - 80px + 14px); border-top: 2px dashed rgba(255, 201, 60, .35); }
}
.step { position: relative; padding: 24px 20px; border-radius: var(--r); text-align: center; background: var(--glass); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; font-family: var(--head); font-size: 22px; font-weight: 800; color: #3a2300;
          background: linear-gradient(180deg, #ffe58a, #ffc93c 50%, #f2a516); box-shadow: 0 10px 24px -8px rgba(255, 176, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .6); }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 6px; font-size: 14.5px; color: var(--mut); }

.install { display: grid; gap: 26px; align-items: center; padding: 26px 20px; border-radius: 28px; background: linear-gradient(135deg, rgba(33, 71, 196, .55), rgba(8, 21, 83, .8)); border: 1px solid var(--line); }
.install h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
.install-steps { list-style: none; counter-reset: i; margin: 20px 0 16px; padding: 0; display: grid; gap: 14px; }
.install-steps li { counter-increment: i; position: relative; padding-left: 46px; }
.install-steps li::before { content: counter(i); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 201, 60, .15); color: var(--gold); font-weight: 800; }
.install-steps b { display: block; font-size: 16px; }
.install-steps span { font-size: 14.5px; color: var(--mut); }
.install .only-m { margin-top: 16px; width: 100%; }
.qr-card { display: none; justify-items: center; gap: 14px; padding: 22px; border-radius: 24px; background: #fff; color: #0b1650; text-align: center; box-shadow: var(--shadow); }
.qr { width: 190px; height: 190px; }
.qr svg, .qr img { width: 100%; height: 100%; }
.qr-card b { display: block; font-size: 16px; }
.qr-card span { font-size: 13px; color: #4a5584; }
@media (min-width: 900px) {
    .install { grid-template-columns: 1.3fr auto; padding: 44px; gap: 44px; }
    .qr-card { display: grid; }
    .install .only-m { display: none; }
}

.trust { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust article { padding: 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.trust img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.trust h3 { font-size: 18px; }
.trust p { margin: 6px 0 12px; font-size: 14.5px; color: var(--mut); }
.trust a { font-size: 14px; font-weight: 700; color: var(--gold); }
.age-big { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; border: 3px solid var(--red); font-family: var(--head); font-weight: 800; color: #fff; background: rgba(229, 38, 46, .2); }
.pays { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 28px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pays span { font-size: 14px; color: var(--mut); }
.pays img { height: 36px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }
.pay-name { padding: 6px 14px; border-radius: 10px; background: #fff; color: #e2136e; font-weight: 800; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.faq details[open] { background: rgba(33, 71, 196, .3); border-color: rgba(255, 201, 60, .35); }
.faq summary { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255, 201, 60, .15); }
.pm::before, .pm::after { content: ''; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq-a { padding: 0 20px 20px; color: #c9d4ff; font-size: 15.5px; white-space: pre-line; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

.cta { position: relative; overflow: hidden; padding: 46px 22px; border-radius: 32px; text-align: center; isolation: isolate;
       background: radial-gradient(600px 300px at 50% 0%, rgba(255, 201, 60, .35), transparent 70%), linear-gradient(135deg, #2147c4 0%, #16308f 50%, #0f2275 100%);
       border: 1px solid rgba(255, 201, 60, .3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.cta-logo { width: 150px; margin: 0 auto 10px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .4)); animation: float 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(28px, 6vw, 48px); font-weight: 800; }
.cta p { max-width: 560px; margin: 12px auto 26px; color: #d7e0ff; font-size: 17px; }
.cta-d1, .cta-d2 { position: absolute; z-index: -1; opacity: .9; animation: float 7s ease-in-out infinite; }
.cta-d1 { width: 90px; left: 4%; bottom: 8%; }
.cta-d2 { width: 74px; right: 5%; top: 10%; animation-delay: -3s; }
@media (min-width: 900px) { .cta { padding: 70px 40px; } .cta-d1 { width: 130px; } .cta-d2 { width: 110px; } }

/* ── footer ──────────────────────────────────────────────────────────── */
.ftr { padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, #040a30); border-top: 1px solid var(--line); }
.ftr-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; }
.ftr-brand p { margin: 14px 0 18px; max-width: 420px; color: var(--mut); font-size: 14.5px; }
.ftr-grid > div:not(.ftr-brand) { display: flex; flex-direction: column; gap: 10px; }
.ftr-grid a:not(.btn):not(.brand) { font-size: 14.5px; color: #c9d4ff; transition: color .2s; }
.ftr-grid a:not(.btn):not(.brand):hover { color: var(--gold); }
.ftr-h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.ftr-mut { font-size: 13px; color: var(--mut); }
.ftr-bottom { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mut); }
.ftr-bottom .ftr-mut { grid-column: 1 / -1; }
.age { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--red); font-weight: 800; color: #fff; font-size: 13px; }
@media (min-width: 900px) {
    .ftr { padding-bottom: 40px; }
    .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .ftr-brand { grid-column: auto; }
    .ftr-bottom { grid-template-columns: auto 1fr auto; }
    .ftr-bottom .ftr-mut { grid-column: auto; }
}

/* sticky mobile install bar */
.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 10px; border-radius: 20px;
        background: rgba(8, 21, 83, .92); border: 1px solid rgba(255, 201, 60, .3); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        transform: translateY(140%); transition: transform .45s var(--ease); }
.mbar.show { transform: none; }
.mbar img { width: 40px; height: 40px; border-radius: 11px; }
.mbar div { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mbar b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar span { font-size: 12px; color: var(--mut); }
.mbar .btn { margin-left: auto; }
@media (min-width: 900px) { .mbar { display: none; } }

.toast { position: fixed; left: 50%; top: 86px; z-index: 60; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: #fff; color: #0b1650; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ── info pages ──────────────────────────────────────────────────────── */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(110px + env(safe-area-inset-top)) 0 34px;
             background: radial-gradient(900px 500px at 80% 0%, #2147c4, transparent 65%), linear-gradient(180deg, #0f2275, #081553 70%, #060f42); }
.page-hero h1 { font-size: clamp(32px, 7vw, 54px); font-weight: 800; margin: 14px 0 10px; }
.page-hero .lead { margin: 0; }
.page-hero .small { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--mut); }
.crumbs a:hover { color: var(--gold); }
.page-body { padding-top: 34px; }
.with-toc { display: grid; gap: 26px; max-width: 1100px; }
.toc { display: none; }
@media (min-width: 1000px) {
    .with-toc { grid-template-columns: 240px 1fr; gap: 50px; }
    .toc { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
    .toc p { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
    .toc a { padding: 6px 10px; border-radius: 10px; font-size: 14px; color: #c9d4ff; }
    .toc a:hover { background: var(--glass); color: var(--gold); }
}
.prose { max-width: 760px; padding: 26px 20px; border-radius: 24px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 16px; color: #d4ddff; }
.prose h2 { margin: 30px 0 10px; font-size: 22px; font-weight: 700; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 700; color: var(--gold-l); }
.prose h2 { scroll-margin-top: 90px; padding-top: 4px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
@media (min-width: 700px) { .prose { padding: 40px 44px; } }
.contact-grid { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 600px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(33, 71, 196, .3); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateY(-3px); border-color: rgba(255, 201, 60, .5); }
.contact-card img { width: 46px; height: 46px; object-fit: contain; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; }
.contact-card b { color: #fff; }
.contact-card small { font-size: 13px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-meta { display: grid; gap: 10px; margin-top: 18px; }
.contact-meta b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* ── scroll reveal ───────────────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .06s; } .js .d2 { transition-delay: .14s; } .js .d3 { transition-delay: .22s; } .js .d4 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .rv { opacity: 1; transform: none; }
}

/* ── compact cards on phones ─────────────────────────────────────────── */
@media (max-width: 599px) {
    .sec { padding: 52px 0; }
    .sec-head { margin-bottom: 26px; }
    .feat, .trust article { display: grid; grid-template-columns: 58px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
    .feat-ic { grid-row: span 2; width: 58px; height: 58px; margin: 0; border-radius: 16px; }
    .feat-ic img { width: 46px; height: 46px; }
    .feat h3, .trust h3 { font-size: 17px; align-self: end; }
    .feat p { margin-top: 4px; font-size: 14px; }
    .trust img, .trust .age-big { grid-row: span 3; width: 50px; height: 50px; margin: 0; }
    .trust p { margin: 4px 0 8px; font-size: 14px; }
    .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 16px; text-align: left; }
    .step-n { grid-row: span 2; width: 46px; height: 46px; margin: 0; font-size: 19px; border-radius: 14px; }
    .step h3 { font-size: 17px; align-self: end; }
    .step p { margin-top: 2px; font-size: 14px; }
    .mode { padding: 14px; gap: 12px; }
    .mode h3 { font-size: 18px; }
    .mode p { font-size: 13.5px; }
}

/* ── screenshot lightbox ─────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 56px 12px calc(20px + env(safe-area-inset-bottom));
      background: rgba(3, 7, 30, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: lbIn .3s var(--ease); touch-action: pan-y; }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb-fig img { max-width: min(92vw, 520px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 22px;
              box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); animation: lbZoom .35s var(--ease); }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } }
.lb-fig figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lb-fig small { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--mut); font-size: 12px; }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); font-size: 18px; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 201, 60, .2); border-color: rgba(255, 201, 60, .5); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (max-width: 599px) { .lb-nav { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; } .lb-fig img { max-height: calc(100dvh - 190px); } }
.lb-open { overflow: hidden; }
