/* ============================================================
   BVBX homepage v3 — scoped under .screen so it can be embedded
   in the admin preview without clashing with admin chrome.
   ============================================================ */
/* self-hosted fonts (no external CDN) — selectable in admin › Typography */
@font-face{font-family:'Inter';font-weight:400 800;font-display:swap;src:url('/fonts/inter.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-weight:400 800;font-display:swap;src:url('/fonts/montserrat.woff2') format('woff2')}
@font-face{font-family:'Rubik';font-weight:400 800;font-display:swap;src:url('/fonts/rubik.woff2') format('woff2')}
@font-face{font-family:'Oswald';font-weight:400 700;font-display:swap;src:url('/fonts/oswald.woff2') format('woff2')}
@font-face{font-family:'Bebas Neue';font-weight:400;font-display:swap;src:url('/fonts/bebas.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-weight:400;font-display:swap;src:url('/fonts/poppins-400.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-weight:600;font-display:swap;src:url('/fonts/poppins-600.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-weight:700;font-display:swap;src:url('/fonts/poppins-700.woff2') format('woff2')}

.screen{
  --bg:#0A0912; --surface:#16141F; --surface-2:#1E1B2B; --line:#2A2738;
  --iris:#5847FF; --iris-lt:#8B7FFF; --indigo:#241B54;
  --amber:#F5A623; --amber-grad:linear-gradient(135deg,#F7B84B,#F0921C);
  --ink:#FFFFFF; --sub:#B7B3C9; --muted:#726E88;
  --live:#F0324B; --ok:#3FD180; --blue:#3B82F6;
  --font:'Trebuchet MS',system-ui,-apple-system,sans-serif;
  font-family:var(--font); color:var(--ink);
}
.screen *{ margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

.screen .phone{ width:390px; max-width:100%; background:var(--bg); position:relative;
  border-radius:34px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.7); border:9px solid #000; }
.screen .scroll{ height:820px; overflow-y:auto; overflow-x:hidden; scroll-behavior:smooth; padding-bottom:66px; }
.screen .scroll::-webkit-scrollbar{ width:0; }

.screen .ph{ background:var(--surface-2); border:1px solid var(--line); color:var(--muted); font-size:10px;
  font-weight:bold; display:flex; align-items:center; justify-content:center; text-align:center; letter-spacing:.3px; }
.screen .img{ display:block; }

/* app bar */
.screen .appbar{ background:var(--surface); height:52px; display:flex; align-items:center; gap:9px; padding:0 10px; border-bottom:1px solid var(--line); }
.screen .appbar .ico{ width:36px; height:36px; border-radius:9px; background:var(--iris); display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:11px; }
.screen .appbar .txt{ flex:1; line-height:1.15; } .screen .appbar .txt b{ font-size:12px; } .screen .appbar .txt small{ font-size:9px; color:var(--sub); }
.screen .stars{ color:var(--amber); font-size:9px; letter-spacing:1px; }
.screen .dl{ background:var(--amber-grad); color:#221500; font-size:11px; font-weight:800; padding:6px 13px; border-radius:20px; } .screen .x{ font-size:14px; color:var(--muted); padding:0 4px; }

/* header */
.screen .hdr{ background:var(--bg); height:56px; display:flex; align-items:center; justify-content:space-between; padding:0 12px; position:sticky; top:0; z-index:5; border-bottom:1px solid var(--line); }
.screen .logo{ font-size:24px; font-weight:800; color:#fff; letter-spacing:-1px; position:relative; }
.screen .logo .tri{ position:absolute; right:-8px; bottom:2px; width:0; height:0; border-left:7px solid transparent; border-bottom:9px solid var(--iris); }
.screen .logo small{ display:block; font-size:6px; color:var(--iris-lt); letter-spacing:1px; margin-top:-2px; font-weight:600; }
.screen .hdr .r{ display:flex; align-items:center; gap:7px; }
.screen .btn-login{ border:1px solid var(--iris); color:var(--iris-lt); font-size:11px; font-weight:bold; padding:7px 12px; border-radius:20px; }
.screen .btn-reg{ background:var(--amber-grad); color:#221500; font-size:11px; font-weight:800; padding:8px 14px; border-radius:20px; }
.screen .burger{ display:flex; flex-direction:column; gap:3px; padding:8px; background:var(--surface); border:1px solid var(--line); border-radius:9px; cursor:pointer; }
.screen .burger span{ width:16px; height:2px; background:#fff; border-radius:2px; }

/* hero */
.screen .hero{ position:relative; height:158px; overflow:hidden; padding:10px; }
.screen .slides{ display:flex; transition:transform .5s ease; height:100%; }
.screen .slide{ min-width:100%; height:100%; border-radius:16px; display:flex; flex-direction:column; justify-content:center; padding:0 20px; color:#fff; gap:3px; position:relative; overflow:hidden; background:linear-gradient(120deg,#3A2E9E,var(--iris) 60%,#7B5CFF); }
.screen .slide::after{ content:''; position:absolute; right:-30px; top:-30px; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%); }
.screen .slide .eyebrow{ font-size:9px; font-weight:bold; letter-spacing:2px; color:var(--amber); }
.screen .slide b{ font-size:20px; line-height:1.05; } .screen .slide span{ font-size:10px; color:rgba(255,255,255,.85); }
.screen .slide .pn{ margin-top:8px; align-self:flex-start; background:var(--amber-grad); color:#221500; font-size:11px; font-weight:800; padding:7px 16px; border-radius:20px; }
.screen .dots{ position:absolute; bottom:16px; right:26px; display:flex; gap:5px; }
.screen .dots i{ width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.35); } .screen .dots i.on{ background:var(--amber); width:16px; border-radius:4px; }

/* marquee */
.screen .marq{ background:var(--surface); height:32px; margin:0 10px; border-radius:10px; display:flex; align-items:center; gap:8px; padding:0 10px; border:1px solid var(--line); overflow:hidden; }
.screen .marq .mi{ color:var(--amber); font-size:13px; } .screen .marq .track{ flex:1; overflow:hidden; white-space:nowrap; }
.screen .marq .track span{ display:inline-block; font-size:10px; color:var(--sub); font-weight:600; padding-left:100%; animation:bvbx-scroll 18s linear infinite; }
@keyframes bvbx-scroll{ to{ transform:translateX(-100%); } }

/* quick cards */
.screen .quick{ display:flex; gap:8px; padding:11px 10px; }
.screen .qc{ flex:1; height:54px; border-radius:12px; color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-align:center; padding:4px; }
.screen .qc b{ font-size:12px; } .screen .qc small{ font-size:7px; opacity:.9; line-height:1; } .screen .qc .em{ font-size:16px; }
.screen .qc.lead{ background:linear-gradient(135deg,#A31E38,#E23E5B); }
.screen .qc.vip{ background:var(--amber-grad); color:#221500; }
.screen .qc.tips{ background:linear-gradient(135deg,#3A2E9E,var(--iris)); }

/* referral */
.screen .ref{ display:flex; height:74px; margin:0 10px; border-radius:12px; overflow:hidden; border:1px solid var(--line); }
.screen .ref .lp{ flex:1.1; background:var(--indigo); display:flex; flex-direction:column; justify-content:center; padding:0 14px; }
.screen .ref .lp b{ font-size:14px; color:var(--amber); } .screen .ref .lp small{ font-size:9px; color:var(--sub); }
.screen .ref .tabs{ flex:2.4; background:var(--surface); display:flex; }
.screen .ref .tabs div{ flex:1; border-right:1px solid var(--line); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font-size:8px; font-weight:bold; color:var(--sub); }
.screen .ref .tabs div:last-child{ border:none; } .screen .ref .tabs div .em{ font-size:16px; }

/* headings */
.screen .sec{ padding:14px 10px 6px; }
.screen .shead{ display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; }
.screen .shead b{ font-size:14px; color:#fff; display:flex; align-items:center; gap:6px; } .screen .shead b .em{ font-size:15px; }
.screen .shead a{ font-size:9px; color:var(--amber); font-weight:bold; }
.screen .hstrip{ display:flex; gap:9px; overflow-x:auto; padding-bottom:4px; } .screen .hstrip::-webkit-scrollbar{ height:0; }

/* get lucky */
.screen .lucky{ margin:0 10px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:12px; }
.screen .lucky .top{ display:flex; gap:10px; }
.screen .lucky .brand{ width:118px; flex-shrink:0; background:linear-gradient(160deg,var(--indigo),#120f26); border:1px solid var(--line); border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px 8px; }
.screen .lucky .brand .lg{ font-size:22px; font-weight:800; color:#fff; letter-spacing:-1px; position:relative; }
.screen .lucky .brand .lg .tri{ position:absolute; right:-7px; bottom:2px; width:0; height:0; border-left:6px solid transparent; border-bottom:8px solid var(--iris); }
.screen .lucky .brand .pn{ background:var(--amber-grad); color:#221500; font-size:10px; font-weight:800; padding:6px 14px; border-radius:16px; }
.screen .lucky .gen{ flex:1; text-align:center; }
.screen .lucky .gen h4{ font-size:13px; color:var(--amber); margin-bottom:9px; }
.screen .lucky .balls{ display:flex; gap:6px; justify-content:center; margin-bottom:9px; }
.screen .lucky .ball{ flex:1; aspect-ratio:1; max-width:44px; border:2px solid var(--iris); border-radius:10px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; color:#fff; }
.screen .lucky .ball.pop{ animation:bvbx-pop .3s ease; } @keyframes bvbx-pop{ 0%{ transform:scale(.6); } 60%{ transform:scale(1.15); } }
.screen .lucky .genbtn{ width:100%; background:var(--amber-grad); color:#221500; border:none; font-family:inherit; font-size:12px; font-weight:800; letter-spacing:1px; padding:9px; border-radius:20px; cursor:pointer; }
.screen .lucky .hint{ font-size:8px; color:var(--muted); margin-top:6px; }
.screen .lucky .cta2{ display:flex; gap:8px; margin-top:11px; }
.screen .lucky .cta2 button{ flex:1; background:var(--surface-2); border:1px solid var(--iris); color:var(--iris-lt); font-family:inherit; font-size:10px; font-weight:bold; padding:9px; border-radius:10px; cursor:pointer; }

/* hot games */
.screen .game{ min-width:96px; } .screen .game .thumb{ width:96px; height:96px; border-radius:14px; }
.screen .game .nm{ font-size:9px; font-weight:bold; margin-top:5px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width:96px; }
.screen .game .pv{ font-size:7px; color:var(--muted); }
.screen .game .rtp{ display:inline-block; margin-top:2px; background:rgba(63,209,128,.14); color:var(--ok); font-size:7px; font-weight:bold; padding:1px 6px; border-radius:8px; }

/* lobby */
.screen .catrail{ display:flex; gap:14px; overflow-x:auto; padding:4px 10px 12px; } .screen .catrail::-webkit-scrollbar{ height:0; }
.screen .cat{ flex-shrink:0; display:flex; flex-direction:column; align-items:center; gap:6px; }
.screen .cat .disc{ width:54px; height:54px; border-radius:50%; background:radial-gradient(circle at 30% 30%,#2A2740,#141220); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:22px; }
.screen .cat span{ font-size:9px; font-weight:bold; color:var(--muted); }
.screen .cat.on span{ color:#fff; } .screen .cat.on .disc{ border-color:var(--iris); box-shadow:0 0 0 2px rgba(88,71,255,.35); }
.screen .cat.on::after{ content:''; width:22px; height:2px; background:var(--iris); border-radius:2px; margin-top:2px; }
.screen .cat.event .disc{ background:var(--amber-grad); border:none; box-shadow:0 0 18px rgba(245,166,35,.6); animation:bvbx-pulse 1.8s infinite; }
.screen .cat.event span{ color:var(--amber); }
@keyframes bvbx-pulse{ 50%{ opacity:.55; } }

.screen .pgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:7px; padding:0 10px; }
.screen .pcard{ aspect-ratio:3/4; border-radius:12px; position:relative; overflow:hidden; }
.screen .pcard .badge{ position:absolute; top:5px; right:5px; font-size:6px; font-weight:800; padding:1px 5px; border-radius:7px; color:#fff; z-index:2; }
.screen .pcard .badge.hot{ background:var(--live); } .screen .pcard .badge.new{ background:var(--ok); color:#062616; }
.screen .pcard .logo2{ position:absolute; bottom:6px; left:0; right:0; text-align:center; font-size:10px; font-weight:800; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.7); }

/* live withdraw */
.screen .lw{ margin:14px 10px; border-radius:14px; overflow:hidden; border:1px solid var(--line); background:var(--surface); }
.screen .lw .h{ background:var(--indigo); color:#fff; padding:9px 12px; display:flex; align-items:center; justify-content:space-between; }
.screen .lw .h b{ font-size:12px; } .screen .lw .h small{ font-size:8px; color:var(--sub); display:block; }
.screen .lw .badge{ background:var(--live); font-size:8px; font-weight:bold; padding:2px 8px; border-radius:10px; animation:bvbx-pulse 1.4s infinite; }
.screen .lw .body{ height:205px; overflow:hidden; } .screen .lw .roll{ animation:bvbx-roll 14s linear infinite; }
@keyframes bvbx-roll{ to{ transform:translateY(-50%); } }
.screen .lw .r{ display:flex; align-items:center; gap:8px; padding:8px 12px; border-bottom:1px solid var(--line); height:41px; }
.screen .lw .r .av{ width:24px; height:24px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line); }
.screen .lw .r .ph2{ flex:1; } .screen .lw .r .ph2 b{ font-size:10px; color:#fff; display:block; } .screen .lw .r .ph2 small{ font-size:7px; color:var(--muted); }
.screen .lw .r .amt{ color:var(--amber); font-weight:800; font-size:12px; }
.screen .lw .r .pill{ background:var(--surface-2); font-size:7px; font-weight:bold; color:var(--sub); padding:2px 6px; border-radius:8px; }

/* trust strips */
.screen .strip{ padding:14px 10px; text-align:center; } .screen .strip .lbl{ font-size:11px; font-weight:bold; color:#fff; margin-bottom:9px; }
.screen .logos{ display:flex; flex-wrap:wrap; gap:7px; justify-content:center; } .screen .logos .b{ height:34px; border-radius:8px; flex:0 0 auto; }
.screen .pay .b{ width:46px; } .screen .cert .b{ width:64px; } .screen .part .b{ width:88px; height:46px; }
.screen .social{ display:flex; gap:9px; justify-content:center; } .screen .social .c{ width:34px; height:34px; border-radius:50%; }
.screen .copy{ text-align:center; font-size:8px; color:var(--muted); padding:10px; }

/* SEO */
.screen .seo{ margin:0 10px 16px; }
.screen .seo .btn{ width:100%; background:var(--surface); color:var(--amber); border:1px solid var(--amber); font-family:inherit; font-size:12px; font-weight:800; padding:12px; border-radius:12px; cursor:pointer; }
.screen .seo .body{ display:none; background:var(--surface); border:1px solid var(--line); border-top:none; border-radius:0 0 12px 12px; padding:12px; margin-top:-4px; }
.screen .seo.open .body{ display:block; } .screen .seo .body h4{ font-size:12px; color:#fff; margin-bottom:6px; } .screen .seo .body p{ font-size:9px; color:var(--sub); line-height:1.5; margin-bottom:6px; }

/* bottom nav */
.screen .nav{ position:absolute; bottom:0; left:0; right:0; height:60px; background:var(--surface); border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-around; z-index:6; }
.screen .nav a{ display:flex; flex-direction:column; align-items:center; gap:2px; font-size:8px; color:var(--muted); font-weight:bold; } .screen .nav a.on{ color:var(--amber); } .screen .nav a .em{ font-size:17px; }
.screen .nav .promo{ margin-top:-30px; }
.screen .nav .promo .em{ width:54px; height:54px; border-radius:50%; background:var(--amber-grad); color:#221500; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; box-shadow:0 6px 18px rgba(245,166,35,.5); border:4px solid var(--surface); animation:bvbx-pulse 2s infinite; }

/* drawer */
.screen .backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); opacity:0; visibility:hidden; transition:.25s; z-index:8; }
.screen .drawer{ position:absolute; top:0; right:0; height:100%; width:84%; background:var(--bg); border-left:1px solid var(--line); transform:translateX(100%); transition:.28s ease; z-index:9; overflow-y:auto; padding:14px; }
.screen .drawer::-webkit-scrollbar{ width:0; }
.screen .phone.menu .backdrop{ opacity:1; visibility:visible; } .screen .phone.menu .drawer{ transform:translateX(0); }
.screen .drawer .dtop{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.screen .drawer .dtop .logo{ font-size:22px; } .screen .drawer .dx{ font-size:22px; color:var(--muted); cursor:pointer; }
.screen .drawer .welcome{ font-size:13px; color:var(--sub); margin:6px 0 10px; }
.screen .drawer .reg{ width:100%; background:var(--amber-grad); color:#221500; border:none; font-family:inherit; font-size:14px; font-weight:800; letter-spacing:.5px; padding:13px; border-radius:26px; cursor:pointer; }
.screen .drawer .login{ text-align:center; font-size:11px; color:var(--sub); margin:10px 0 14px; } .screen .drawer .login b{ color:var(--amber); }
.screen .dgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:14px; }
.screen .dgrid .t{ background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px 6px; display:flex; flex-direction:column; align-items:center; gap:6px; }
.screen .dgrid .t .em{ font-size:22px; } .screen .dgrid .t span{ font-size:9px; font-weight:bold; color:var(--sub); text-align:center; line-height:1.1; }
.screen .drow{ display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:13px 14px; margin-bottom:8px; }
.screen .drow .em{ font-size:16px; color:var(--iris-lt); } .screen .drow span{ flex:1; font-size:12px; font-weight:600; color:#fff; } .screen .drow .ch{ color:var(--muted); font-size:14px; }
.screen .drawer .dfoot{ text-align:center; font-size:8px; color:var(--muted); padding:14px 0 8px; }
