/* ============================================================
   BDG PRO — game-lobby theme (BDG-style, royal gold, demo coins)
   ============================================================ */

/* ---------- Auth pages ---------- */
.bdg-auth{position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px 16px; overflow:hidden;
  background:linear-gradient(180deg, rgba(8,6,4,.68), rgba(6,5,4,.9)), url('/images/auth-bg.png') center/cover no-repeat, #060504}
/* soft gold glow bloom behind the card */
.bdg-auth::before{content:''; position:absolute; z-index:0; top:34%; left:50%; width:360px; height:360px; transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(245,196,94,.26),transparent 62%); filter:blur(8px); pointer-events:none; animation:bdgAuthGlow 5s ease-in-out infinite}
@keyframes bdgAuthGlow{0%,100%{opacity:.6}50%{opacity:1}}
.bdg-auth-card{position:relative; z-index:1; width:100%; max-width:360px; border-radius:24px; padding:28px 22px 24px;
  background:linear-gradient(180deg,rgba(40,33,20,.72),rgba(16,12,7,.82)); backdrop-filter:blur(14px);
  border:1.5px solid rgba(245,196,94,.4);
  box-shadow:0 30px 70px rgba(0,0,0,.65), 0 0 34px rgba(245,196,94,.16), inset 0 1px 0 rgba(255,235,180,.18);
  animation:bdgAuthIn .5s cubic-bezier(.2,1.2,.4,1) both}
@keyframes bdgAuthIn{from{opacity:0; transform:translateY(18px) scale(.97)}to{opacity:1; transform:translateY(0) scale(1)}}
.bdg-auth-logo{display:flex; flex-direction:column; align-items:center; gap:9px; margin-bottom:18px}
.bdg-auth-logo .mark{width:62px; height:62px; border-radius:50%; overflow:hidden; display:grid; place-items:center; font-size:28px;
  background:radial-gradient(circle at 40% 30%,#3a2810,#120a04); border:2px solid var(--gold);
  box-shadow:0 0 0 4px rgba(245,196,94,.15), 0 0 20px rgba(245,196,94,.45)}
.bdg-auth-logo .mark img{width:100%; height:100%; object-fit:contain}
.bdg-auth-logo .word{font-weight:900; font-size:21px; letter-spacing:1.5px;
  background:linear-gradient(180deg,#fff6da,var(--gold) 58%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 8px rgba(245,196,94,.3))}
.bdg-auth h1{margin:0 0 4px; font-size:21px; font-weight:900; text-align:center; color:#fff}
.bdg-auth .sub{margin:0 0 20px; font-size:12px; color:rgba(243,234,212,.7); text-align:center}
.bdg-auth .sub.bonus{display:block; width:fit-content; max-width:100%; margin:2px auto 20px; padding:8px 14px; border-radius:20px; font-size:11.5px; font-weight:800;
  color:#3a2405; background:linear-gradient(135deg,#fff0c0,var(--gold) 55%,var(--gold-deep));
  box-shadow:0 4px 12px rgba(200,146,46,.4), inset 0 1px 0 rgba(255,255,255,.55)}
.bdg-auth-card:has(.sub.bonus) .bdg-auth-logo{margin-bottom:14px}
.bdg-field{margin-bottom:14px}
.bdg-field label{display:block; font-size:11px; font-weight:800; color:var(--gold); margin-bottom:6px; letter-spacing:.5px; text-transform:uppercase; opacity:.85}
.bdg-input{width:100%; padding:13px 15px; border-radius:13px; background:rgba(8,6,3,.6); border:1.5px solid rgba(245,196,94,.22);
  color:#fff; font-size:14px; font-family:inherit; outline:none; transition:border-color .18s, box-shadow .18s, background .18s}
.bdg-input:focus{border-color:var(--gold); background:rgba(8,6,3,.85); box-shadow:0 0 0 3px rgba(245,196,94,.18), 0 0 16px rgba(245,196,94,.2)}
.bdg-input::placeholder{color:rgba(243,234,212,.4)}
.bdg-submit{position:relative; overflow:hidden; width:100%; margin-top:8px; padding:15px; border:1px solid rgba(255,255,255,.3); border-radius:14px;
  cursor:pointer; font-family:inherit; font-size:15px; font-weight:900; letter-spacing:.5px; color:#3a2405;
  background:linear-gradient(135deg,#fff0c0,var(--gold) 52%,var(--gold-deep));
  box-shadow:0 10px 24px rgba(200,146,46,.42), inset 0 1px 0 rgba(255,255,255,.6); transition:transform .1s}
.bdg-submit::after{content:''; position:absolute; top:0; bottom:0; width:36%; left:-46%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.6),transparent); transform:skewX(-20deg); animation:bdgBtnShine 3s ease-in-out infinite}
.bdg-submit:active{transform:scale(.98)}
.bdg-auth-alt{text-align:center; margin-top:18px; font-size:12.5px; color:rgba(243,234,212,.7)}
.bdg-auth-alt a{color:var(--gold); font-weight:800}
.bdg-error{background:rgba(224,56,79,.14); border:1px solid rgba(224,56,79,.4); color:#ff9aa4; font-size:12px;
  padding:10px 13px; border-radius:11px; margin-bottom:14px}
.bdg-flash{position:fixed; top:14px; left:50%; transform:translateX(-50%); z-index:600; background:linear-gradient(135deg,var(--gold-lt),var(--gold-deep));
  color:#3a2405; font-weight:800; font-size:13px; padding:10px 18px; border-radius:20px; box-shadow:0 8px 24px rgba(0,0,0,.4)}
.bdg-demo-hint{text-align:center; font-size:10.5px; color:var(--muted-2); margin-top:14px; line-height:1.5}

/* ---------- Coming soon modal ---------- */
.cs-overlay{position:fixed; inset:0; z-index:700; display:flex; align-items:center; justify-content:center; padding:24px;
  background:rgba(0,0,0,.72); opacity:0; pointer-events:none; transition:opacity .25s}
.cs-overlay.open{opacity:1; pointer-events:all}
.cs-card{width:100%; max-width:320px; background:linear-gradient(180deg,#221f18,#15120d); border:1px solid var(--line-2);
  border-radius:18px; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.65); transform:scale(.92); transition:transform .25s}
.cs-overlay.open .cs-card{transform:scale(1)}
.cs-img{position:relative; height:150px; background:#0e0b06}
.cs-img img{width:100%; height:100%; object-fit:cover; display:block}
.cs-badge{position:absolute; left:50%; bottom:12px; transform:translateX(-50%); font-size:12px; font-weight:900; letter-spacing:2px;
  color:#2b210e; background:linear-gradient(135deg,var(--gold-lt),var(--gold-deep)); padding:5px 16px; border-radius:16px;
  box-shadow:0 6px 16px rgba(0,0,0,.4); white-space:nowrap}
.cs-body{padding:18px 18px 20px; text-align:center}
.cs-body h3{margin:0 0 3px; font-size:18px; font-weight:900; color:var(--gold)}
.cs-body p{margin:0 0 16px; font-size:12.5px; color:var(--muted); line-height:1.5}
.cs-close{width:100%; padding:12px; border:none; border-radius:12px; font-family:inherit; font-size:14px; font-weight:900;
  color:#3a2405; cursor:pointer; background:linear-gradient(135deg,var(--gold-lt),var(--gold) 55%,var(--gold-deep))}

/* ---------- Promotion / Activity pages ---------- */
.bdg-page{padding:12px}
.promo-hero{position:relative; border-radius:16px; overflow:hidden; min-height:150px; display:flex; align-items:center; padding:18px; border:1px solid var(--line-2); margin-bottom:14px}
.promo-hero img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.promo-hero-ov{position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(12,8,3,.92) 0%, rgba(12,8,3,.5) 55%, rgba(12,8,3,.1) 100%)}
.promo-hero-copy{position:relative; z-index:2}
.promo-hero-copy .eyebrow{font-size:10px; font-weight:900; letter-spacing:2px; text-transform:uppercase; color:var(--gold)}
.promo-hero-copy h1{margin:4px 0 4px; font-size:24px; font-weight:900; color:#fff; text-wrap:balance; max-width:15ch}
.promo-hero-copy p{margin:0 0 12px; font-size:12.5px; color:#e8d3ba; max-width:28ch}
.promo-btn{display:inline-block; background:linear-gradient(135deg,var(--gold-lt),var(--gold) 55%,var(--gold-deep)); color:#3a2405;
  font-weight:900; font-size:12.5px; padding:9px 18px; border-radius:20px; text-decoration:none; box-shadow:0 6px 16px rgba(0,0,0,.35)}
.promo-card{display:flex; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; margin-bottom:11px}
.promo-card img{width:110px; height:88px; object-fit:cover; flex-shrink:0}
.promo-card-body{padding:11px 12px 11px 0; display:flex; flex-direction:column; justify-content:center}
.promo-card-body h3{margin:0 0 4px; font-size:14px; font-weight:900; color:var(--gold)}
.promo-card-body p{margin:0; font-size:11.5px; color:var(--muted); line-height:1.45}
.promo-empty{text-align:center; padding:40px 20px}
.promo-empty .ic{font-size:44px; margin-bottom:10px}
.promo-empty p{color:var(--muted); font-size:13px; margin:0 0 16px}

.act-list{display:flex; flex-direction:column; gap:8px}
.act-row{display:flex; align-items:center; gap:10px; padding:11px 13px; background:var(--card); border:1px solid var(--line); border-radius:12px}
.act-game{display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:56px}
.act-badge{font-size:10px; font-weight:900; padding:2px 8px; border-radius:8px; color:#2b210e}
.act-badge.wg{background:linear-gradient(135deg,#00c878,#00923e); color:#fff}
.act-badge.k3{background:linear-gradient(135deg,#c084fc,#7a3ca0); color:#fff}
.act-tf{font-size:10px; color:var(--muted-2); font-weight:700}
.act-mid{display:flex; flex-direction:column; gap:2px; margin-right:auto}
.act-pick{font-size:13px; font-weight:800; color:#fff}
.act-amt{font-size:11px; color:var(--muted)}
.act-res{font-size:13.5px; font-weight:900; font-variant-numeric:tabular-nums}
.wg-wait{color:var(--muted-2); font-style:italic; font-size:11.5px; font-weight:600}
.wg-win{color:#00c878}
.wg-lose{color:#ff5670}

/* ---------- Account / profile page ---------- */
.acc-hero{position:relative; margin:12px; border-radius:20px; overflow:hidden; min-height:140px; display:flex; align-items:flex-end;
  border:1.5px solid rgba(245,196,94,.4); box-shadow:0 12px 30px rgba(0,0,0,.5), 0 0 22px rgba(245,196,94,.14), inset 0 1px 0 rgba(255,235,180,.12)}
.acc-hero-bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.acc-hero-ov{position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(10,7,3,.28) 0%, rgba(10,7,3,.55) 50%, rgba(10,7,3,.92) 100%)}
.acc-hero::after{content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(105deg,transparent 42%,rgba(255,245,210,.14) 50%,transparent 58%);
  transform:translateX(-100%); animation:bdgSlideSheen 7s ease-in-out infinite}
.acc-hero-inner{position:relative; z-index:2; display:flex; align-items:center; gap:14px; padding:16px; width:100%}
.acc-av{width:70px; height:70px; border-radius:50%; overflow:hidden; flex-shrink:0; border:2.5px solid var(--gold);
  box-shadow:0 0 0 4px rgba(245,196,94,.18), 0 0 20px rgba(245,196,94,.4), 0 8px 20px rgba(0,0,0,.5);
  background:#1a130a; display:grid; place-items:center; font-size:30px}
.acc-av img{width:100%; height:100%; object-fit:cover}
.acc-name{font-size:19px; font-weight:900; color:#fff; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.acc-vip{font-size:10px; font-weight:900; letter-spacing:1px; color:#2b210e; padding:3px 10px; border-radius:12px;
  background:linear-gradient(135deg,#fff0c0,var(--gold-deep)); box-shadow:0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.55)}
.acc-phone{font-size:12.5px; color:rgba(255,255,255,.78); margin-top:3px}
.acc-mid{font-size:11px; color:var(--muted-2); margin-top:2px; font-family:monospace; letter-spacing:.5px}

.acc-balance{margin:0 12px 12px; border-radius:18px; padding:18px; position:relative; overflow:hidden;
  background:radial-gradient(120% 130% at 90% -10%,#5a4114,#2a1e0b 62%);
  border:1.5px solid rgba(245,196,94,.45); box-shadow:0 12px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,235,180,.14)}
.acc-balance::before{content:''; position:absolute; top:0; bottom:0; width:45%; left:-60%;
  background:linear-gradient(105deg,transparent,rgba(255,245,210,.12),transparent); transform:skewX(-18deg);
  animation:bdgSlideSheen 6s ease-in-out infinite}
.acc-balance::after{content:'🪙'; position:absolute; right:-8px; top:-16px; font-size:96px; opacity:.14; transform:rotate(-12deg);
  filter:drop-shadow(0 0 12px rgba(245,196,94,.4))}
.acc-bal-top{display:flex; align-items:center; justify-content:space-between; position:relative; z-index:2}
.acc-bal-top .lbl{font-size:12px; color:var(--gold); font-weight:800}
.acc-bal-top .tag{font-size:9px; font-weight:900; letter-spacing:1px; color:#2b210e; background:linear-gradient(135deg,#fff0c0,var(--gold-deep)); padding:3px 9px; border-radius:10px; box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.acc-bal-amt{font-size:42px; font-weight:900; font-variant-numeric:tabular-nums; margin:6px 0 16px; position:relative; z-index:2;
  background:linear-gradient(180deg,#fff6da,var(--gold) 55%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 14px rgba(245,196,94,.35))}
.acc-bal-btns{display:flex; gap:10px; position:relative; z-index:2}
.acc-bal-btn{position:relative; overflow:hidden; flex:1; text-align:center; padding:13px; border:none; border-radius:13px; font-family:inherit; font-size:13px; font-weight:900; cursor:pointer; text-decoration:none; transition:transform .1s}
.acc-bal-btn:active{transform:scale(.97)}
.acc-bal-btn.gold{color:#3a2405; border:1px solid rgba(255,255,255,.3); background:linear-gradient(135deg,#fff0c0,var(--gold) 52%,var(--gold-deep));
  box-shadow:0 6px 16px rgba(200,146,46,.4), inset 0 1px 0 rgba(255,255,255,.6)}
.acc-bal-btn.gold::after{content:''; position:absolute; top:0; bottom:0; width:36%; left:-46%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.6),transparent); transform:skewX(-20deg); animation:bdgBtnShine 3.4s ease-in-out infinite}
.acc-bal-btn.ghost{color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(245,196,94,.3)}

.acc-menu{margin:0 12px; border-radius:16px; overflow:hidden;
  background:linear-gradient(180deg,rgba(40,32,16,.5),rgba(20,16,9,.5)); border:1px solid rgba(245,196,94,.24); box-shadow:0 8px 20px rgba(0,0,0,.35)}
.acc-item{display:flex; align-items:center; gap:13px; width:100%; padding:15px; border:none; background:none; cursor:pointer;
  font-family:inherit; text-align:left; color:var(--text); text-decoration:none; border-bottom:1px solid rgba(245,196,94,.1); transition:background .15s, padding-left .15s}
.acc-menu > form:last-child .acc-item, .acc-menu > .acc-item:last-child{border-bottom:0}
.acc-item:hover{background:rgba(245,196,94,.07); padding-left:19px}
.acc-item .ic{width:36px; height:36px; border-radius:11px; display:grid; place-items:center; font-size:17px; flex-shrink:0;
  background:linear-gradient(135deg,rgba(245,196,94,.22),rgba(245,196,94,.06)); border:1px solid rgba(245,196,94,.3); box-shadow:inset 0 1px 0 rgba(255,235,180,.2)}
.acc-item .t{font-size:14px; font-weight:700; flex:1}
.acc-item .ch{color:var(--gold); font-size:20px; font-weight:700; opacity:.6}
.acc-item:hover .ch{opacity:1}
.acc-item.logout .t{color:#ff6b7d}
.acc-item.logout .ic{background:rgba(255,77,94,.12); border-color:rgba(255,77,94,.28)}
.acc-item.logout .ch{color:#ff6b7d}
:root{
  --bg:#141310; --bg-2:#1b1a16; --card:#22201a; --card-2:#2a2720;
  --line:rgba(245,196,94,.14); --line-2:rgba(245,196,94,.28);
  --gold:#f5c45e; --gold-lt:#ffe6a1; --gold-deep:#b47a20;
  --red:#c2261a; --green:#22c55e;
  --text:#f7f2e6; --muted:#b3a988; --muted-2:#7d745d;
  --frame:430px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#050505;font-family:var(--font);color:var(--text)}
a{color:inherit;text-decoration:none}

.cg-stage{min-height:100vh; background:radial-gradient(60% 30% at 50% 0%, rgba(245,196,94,.12), transparent 60%), #050505; display:flex; justify-content:center; line-height:1.4}
.cg-app{width:100%; max-width:var(--frame); background:var(--bg); min-height:100vh; position:relative;
  box-shadow:0 0 0 1px rgba(245,196,94,.08), 0 30px 90px rgba(0,0,0,.6); padding-bottom:82px; overflow:hidden}

/* ---------- Header ---------- */
.bdg-hdr{position:sticky; top:0; z-index:40; display:flex; align-items:center; gap:10px; padding:11px 13px;
  background:linear-gradient(180deg,#37301f 0%,#241d12 55%,#171209 100%);
  border-bottom:1px solid transparent; overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,235,180,.12)}
/* gold hairline + glow along the bottom edge */
.bdg-hdr::after{content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:linear-gradient(90deg,transparent,rgba(245,196,94,.15) 12%,var(--gold) 50%,rgba(245,196,94,.15) 88%,transparent);
  box-shadow:0 0 12px rgba(245,196,94,.55)}
/* slow diagonal light sweep across the whole bar */
.bdg-hdr::before{content:''; position:absolute; top:0; bottom:0; width:45%; left:-60%;
  background:linear-gradient(105deg,transparent,rgba(255,240,200,.10) 45%,rgba(255,240,200,.16) 50%,transparent);
  transform:skewX(-18deg); animation:bdgHdrSheen 6.5s ease-in-out infinite; pointer-events:none}
@keyframes bdgHdrSheen{0%,100%{left:-60%}55%,70%{left:130%}}
.bdg-hdr-left{margin-right:auto; min-width:0; display:flex; flex-direction:column; gap:5px; position:relative; z-index:1}
.bdg-logo{display:flex; align-items:center; gap:8px}
.bdg-logo-img{width:38px; height:38px; display:grid; place-items:center; flex-shrink:0; border-radius:50%;
  background:radial-gradient(circle at 40% 30%,#3a2810,#140b03); border:1.5px solid rgba(245,196,94,.65);
  box-shadow:0 0 14px rgba(245,196,94,.35), inset 0 1px 3px rgba(255,235,180,.35)}
.bdg-logo-img img{width:80%; height:80%; object-fit:contain; filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}
.bdg-logo-crown{width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:18px; flex-shrink:0;
  background:radial-gradient(circle at 40% 30%,#2a1608,#120a04); border:1.5px solid var(--gold);
  box-shadow:0 0 14px rgba(245,196,94,.4)}
.bdg-logo-word{font-weight:900; font-size:17px; letter-spacing:.5px;
  background:linear-gradient(180deg,#fff6da,var(--gold) 55%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.4))}
.bdg-logo-word span{margin-left:4px; -webkit-text-fill-color:#3a2a05; background:linear-gradient(135deg,#fff0c0,var(--gold-deep));
  padding:2px 6px; border-radius:6px; font-size:10px; box-shadow:0 2px 6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.5)}
.bdg-welcome{display:flex; align-items:center; gap:6px; font-size:11px; color:var(--muted)}
.bdg-welcome .flag{font-size:12px}
.bdg-hdr-right{display:flex; align-items:center; gap:9px; flex-shrink:0; position:relative; z-index:1}
.bdg-hdr-btn{display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:12px; font-size:9.5px; font-weight:900; line-height:1.05;
  color:#2b210e; background:linear-gradient(135deg,#fff0c0 0%,#f5c45e 45%,#c8922e 100%);
  border:1px solid rgba(255,255,255,.35); box-shadow:0 5px 14px rgba(200,146,46,.4), inset 0 1px 0 rgba(255,255,255,.6);
  transition:transform .12s, box-shadow .12s}
.bdg-hdr-btn:active{transform:translateY(1px); box-shadow:0 2px 8px rgba(200,146,46,.4)}
.bdg-hdr-btn i{font-style:normal; font-size:13px}
.bdg-hdr-bal{display:flex; align-items:center; gap:6px; position:relative; overflow:hidden;
  background:linear-gradient(180deg,rgba(58,42,10,.9),rgba(30,22,6,.95)); border:1.5px solid rgba(245,196,94,.55);
  color:var(--gold); font-weight:900; font-size:13px; padding:8px 14px; border-radius:18px; font-variant-numeric:tabular-nums;
  box-shadow:0 4px 12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,235,180,.2), 0 0 12px rgba(245,196,94,.18)}
.bdg-hdr-bal i{font-style:normal; font-size:15px; filter:drop-shadow(0 0 5px rgba(245,196,94,.8))}
/* shine glint sweeping over the coin pill */
.bdg-hdr-bal::after{content:''; position:absolute; top:0; bottom:0; width:40%; left:-50%;
  background:linear-gradient(105deg,transparent,rgba(255,245,210,.4),transparent); transform:skewX(-20deg);
  animation:bdgBalGlint 4.5s ease-in-out infinite}
@keyframes bdgBalGlint{0%,60%,100%{left:-50%}80%{left:120%}}
.i-download::before{content:"⬇"}
.i-support::before{content:"🎧"}

.bdg-scroll{padding:12px}

/* ---------- Promo slider ---------- */
.bdg-slider{position:relative}
.bdg-slides{position:relative; border-radius:18px; overflow:hidden; height:156px; border:1.5px solid rgba(245,196,94,.42);
  box-shadow:0 14px 32px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,235,180,.12), 0 0 24px rgba(245,196,94,.14)}
/* slow diagonal light sweep across the whole banner */
.bdg-slides::after{content:''; position:absolute; inset:0; z-index:3; pointer-events:none;
  background:linear-gradient(105deg,transparent 42%,rgba(255,245,210,.16) 50%,transparent 58%);
  transform:translateX(-100%); animation:bdgSlideSheen 6.5s ease-in-out infinite}
@keyframes bdgSlideSheen{0%,55%,100%{transform:translateX(-100%)}80%{transform:translateX(100%)}}
.bdg-slide{position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .6s ease; display:flex; align-items:center; padding:16px 18px}
.bdg-slide.active{opacity:1; visibility:visible}
.bdg-slide img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.bdg-slide.active img{animation:bdgKen 7s ease-out both}
@keyframes bdgKen{0%{transform:scale(1.09)}100%{transform:scale(1)}}
.bdg-slide-glow{position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(10,7,2,.94) 0%, rgba(10,7,2,.5) 46%, rgba(10,7,2,.05) 100%),
             linear-gradient(0deg, rgba(10,7,2,.55), transparent 40%)}
.bdg-slide-copy{position:relative; z-index:2}
.bdg-slide-copy h1{margin:3px 0 11px; font-size:25px; font-weight:900; line-height:1.05;
  background:linear-gradient(180deg,#fff3c4,var(--gold) 55%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow:0 2px 10px rgba(0,0,0,.3)}
/* staggered entrance for the active slide's copy */
.bdg-slide.active .bdg-jackpot-eyebrow{animation:bdgCopyIn .55s .04s both}
.bdg-slide.active .bdg-slide-copy h1{animation:bdgCopyIn .6s .13s both}
.bdg-slide.active .bdg-jackpot-btn{animation:bdgCopyIn .6s .24s both}
@keyframes bdgCopyIn{0%{opacity:0; transform:translateX(-16px)}100%{opacity:1; transform:translateX(0)}}
.bdg-slide-dots{display:flex; justify-content:center; gap:6px; margin-top:11px}
.bdg-slide-dots i{width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.28); cursor:pointer; transition:width .25s, background .25s}
.bdg-slide-dots i.on{width:20px; border-radius:4px; background:linear-gradient(90deg,var(--gold-lt),var(--gold-deep)); box-shadow:0 0 8px rgba(245,196,94,.75)}

/* ---------- Jackpot banner ---------- */
.bdg-jackpot{position:relative; border-radius:14px; overflow:hidden; min-height:118px; padding:16px 18px;
  background:linear-gradient(120deg,#4a1408,#7a2410 55%,#3a1206); border:1px solid var(--line-2); display:flex; align-items:center}
.bdg-jackpot-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.bdg-jackpot-glow{position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(12,8,3,.92) 0%, rgba(12,8,3,.55) 42%, rgba(12,8,3,.05) 100%)}
.bdg-jackpot-art{position:absolute; right:-4px; top:50%; transform:translateY(-50%); height:128%; width:auto; z-index:1; pointer-events:none}
.bdg-jackpot-copy{position:relative; z-index:2}
.bdg-jackpot-eyebrow{font-size:9.5px; font-weight:900; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:3px}
.bdg-jackpot h1{margin:2px 0 10px; font-size:26px; font-weight:900; letter-spacing:.5px;
  background:linear-gradient(180deg,#fff3c4,var(--gold) 55%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow:0 2px 10px rgba(0,0,0,.3)}
.bdg-jackpot-btn{position:relative; overflow:hidden; display:inline-block;
  background:linear-gradient(135deg,#fff0c0,var(--gold) 52%,var(--gold-deep));
  color:#3a2405; font-weight:900; font-size:12px; padding:9px 18px; border-radius:22px; border:1px solid rgba(255,255,255,.35);
  box-shadow:0 6px 16px rgba(200,146,46,.4), inset 0 1px 0 rgba(255,255,255,.6)}
.bdg-jackpot-btn::after{content:''; position:absolute; top:0; bottom:0; width:36%; left:-46%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.65),transparent); transform:skewX(-20deg);
  animation:bdgBtnShine 3.2s ease-in-out infinite}
@keyframes bdgBtnShine{0%,55%,100%{left:-46%}82%{left:135%}}
.cg-dots{position:absolute; right:14px; top:12px; display:flex; gap:4px; z-index:3}
.cg-dots i{width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.35)}
.cg-dots i.on{width:15px; border-radius:3px; background:var(--gold)}

/* ---------- Notice bar ---------- */
.bdg-notice{position:relative; display:flex; align-items:center; gap:9px; margin-top:12px; padding:9px 11px; border-radius:14px; overflow:hidden;
  background:linear-gradient(100deg,rgba(44,35,16,.7),rgba(22,18,10,.6));
  border:1px solid rgba(245,196,94,.28); box-shadow:0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,235,180,.08)}
.bdg-notice::before{content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(180deg,var(--gold-lt),var(--gold-deep))}
.bdg-notice .spk{display:grid; place-items:center; width:26px; height:26px; border-radius:50%; font-size:13px; flex-shrink:0;
  background:radial-gradient(circle at 38% 30%,#fff5c8,var(--gold) 50%,var(--gold-deep)); color:#31230a;
  box-shadow:0 0 8px rgba(245,196,94,.4), inset 0 1px 0 rgba(255,255,255,.5); animation:bdgBell 3s ease-in-out infinite}
@keyframes bdgBell{0%,88%,100%{transform:rotate(0)}91%{transform:rotate(-14deg)}94%{transform:rotate(12deg)}97%{transform:rotate(-6deg)}}
.bdg-notice-track{flex:1; overflow:hidden; white-space:nowrap; font-size:10.5px; color:var(--text); font-weight:600;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.bdg-notice-track span{display:inline-block; animation:notice 18s linear infinite; padding-left:100%}
.bdg-notice-track b{color:var(--gold)}
@keyframes notice{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.bdg-notice-detail{flex-shrink:0; font-size:10px; font-weight:900; color:#2b210e; border:1px solid rgba(255,255,255,.3);
  background:linear-gradient(135deg,#fff0c0,#f5c45e 55%,#c8922e); padding:5px 12px; border-radius:15px;
  box-shadow:0 3px 9px rgba(200,146,46,.4), inset 0 1px 0 rgba(255,255,255,.55)}

/* ---------- Category tiles ---------- */
.bdg-cats{display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:14px}
.bdg-cat{position:relative; aspect-ratio:1/.8; border-radius:13px; overflow:hidden; border:1px solid var(--line-2);
  display:flex; align-items:flex-end; padding:9px; box-shadow:0 6px 16px rgba(0,0,0,.3)}
.bdg-cat-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.bdg-cat::after{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,.82) 100%)}
.bdg-cat-art{position:absolute; right:4px; top:0px; font-size:34px; filter:drop-shadow(0 3px 6px rgba(0,0,0,.4)); opacity:.95}
.bdg-cat-label{position:relative; z-index:2; font-size:13px; font-weight:900; color:#fff; text-shadow:0 2px 5px rgba(0,0,0,.8)}
.cat-lottery{background:linear-gradient(140deg,#7a1e12,#c23a1a)}
.cat-original{background:linear-gradient(140deg,#123a6a,#1d6fb8)}
.cat-slots{background:linear-gradient(140deg,#3a1560,#7a2fae)}
.cat-sports{background:linear-gradient(140deg,#124a26,#1f8a44)}
.cat-popular{background:linear-gradient(140deg,#7a1240,#c23a6a)}
.cat-casino{background:linear-gradient(140deg,#0d3a3a,#178a7a)}
.cat-rummy{background:linear-gradient(140deg,#3a2a10,#8a6420)}
.cat-fishing{background:linear-gradient(140deg,#0d2a4a,#1f6aae)}
/* Ludo tile — original CSS art: 4 colored board quadrants + die */
.cat-ludo{background:
  linear-gradient(135deg, rgba(229,56,79,.9) 0%, rgba(229,56,79,0) 44%),
  linear-gradient(225deg, rgba(34,165,90,.9) 0%, rgba(34,165,90,0) 44%),
  linear-gradient(45deg,  rgba(47,107,255,.9) 0%, rgba(47,107,255,0) 44%),
  linear-gradient(315deg, rgba(240,180,41,.9) 0%, rgba(240,180,41,0) 44%),
  #140c22}
.cat-ludo .bdg-cat-art{font-size:40px; right:8px; top:6px; text-shadow:0 3px 8px rgba(0,0,0,.6)}

/* ---------- Section header ---------- */
.bdg-sec{display:flex; align-items:center; gap:8px; margin:20px 0 11px}
.bdg-sec .bar{width:4px; height:16px; border-radius:2px; background:linear-gradient(var(--gold),var(--gold-deep))}
.bdg-sec h2{margin:0; font-size:15px; font-weight:900; color:var(--text)}

/* ---------- Lottery tabs ---------- */
.bdg-tabs{display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; margin-bottom:12px}
.bdg-tabs::-webkit-scrollbar{display:none}
.bdg-tab{flex:0 0 auto; padding:7px 15px; border-radius:16px; font-size:12px; font-weight:800; color:var(--muted); background:var(--card); border:1px solid var(--line)}
.bdg-tab.active{color:#2b210e; background:linear-gradient(135deg,var(--gold-lt),var(--gold-deep)); border-color:transparent}

/* ---------- Game grid ---------- */
.bdg-games{display:grid; grid-template-columns:repeat(3,1fr); gap:9px}
.bdg-game{border-radius:13px; overflow:hidden; border:1px solid var(--line); background:var(--card); box-shadow:0 5px 14px rgba(0,0,0,.3)}
.bdg-game-art{height:80px; position:relative; overflow:hidden; background:radial-gradient(120% 120% at 50% 20%,#2c2619,#141009)}
.bdg-game-art svg{width:100%; height:100%; display:block}
.bdg-game-art img{width:100%; height:100%; object-fit:cover; display:block}
.bdg-game-name{padding:7px 8px; font-size:11px; font-weight:800; text-align:center; color:var(--gold); background:linear-gradient(180deg,#2a2620,#1c1a15); border-top:1px solid rgba(245,196,94,.1)}

/* Avatar emblem images (winners / ranks / podium) */
.bdg-winrow-av.img, .bdg-rank-av.img, .bdg-pod-av.img{padding:0; overflow:hidden; background:#1a140a}
.bdg-winrow-av.img img, .bdg-rank-av.img img, .bdg-pod-av.img img{width:100%; height:100%; object-fit:cover; display:block}

/* ---------- Winning information (live feed) ---------- */
.bdg-winlist{display:flex; flex-direction:column; gap:8px}
.bdg-winrow{position:relative; display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:13px; overflow:hidden;
  background:linear-gradient(100deg,rgba(40,32,16,.65),rgba(22,18,10,.55));
  border:1px solid rgba(245,196,94,.2); box-shadow:0 3px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,235,180,.06)}
.bdg-winrow::before{content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg,var(--gold-lt),var(--gold-deep))}
.bdg-winrow-av{width:36px; height:36px; border-radius:50%; display:grid; place-items:center; font-size:14px; font-weight:900; color:#2b210e;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold-deep)); flex-shrink:0;
  box-shadow:0 0 10px rgba(245,196,94,.35), inset 0 1px 0 rgba(255,255,255,.4); border:1.5px solid rgba(255,240,200,.4)}
.bdg-winrow-name{font-size:12.5px; font-weight:800; color:var(--text)}
.bdg-winrow-game{display:block; font-size:9.5px; font-weight:700; color:var(--muted-2); margin-top:1px}
.bdg-winrow-amt{margin-left:auto; text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:2px}
.bdg-winrow-amt b{font-size:12.5px; color:#2b210e; font-weight:900; background:linear-gradient(135deg,#ffe6a1,var(--gold) 60%,var(--gold-deep));
  padding:3px 9px; border-radius:12px; box-shadow:0 2px 6px rgba(200,146,46,.35), inset 0 1px 0 rgba(255,255,255,.5)}
.bdg-winrow-amt small{font-size:9px; color:var(--muted-2)}
/* new live row slides in + gold flash */
.bdg-winrow.new{animation:bdgWinIn .55s cubic-bezier(.2,1.2,.4,1)}
@keyframes bdgWinIn{0%{opacity:0; transform:translateY(-16px) scale(.96); box-shadow:0 0 22px rgba(245,196,94,.6)}
  100%{opacity:1; transform:translateY(0) scale(1)}}

/* ---------- Earnings chart (premium podium) ---------- */
.bdg-podium{display:flex; align-items:flex-end; justify-content:center; gap:9px; padding:12px 0 4px}
.bdg-pod{position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; overflow:hidden;
  background:linear-gradient(180deg,rgba(48,38,18,.8),rgba(24,18,9,.85));
  border:1px solid rgba(245,196,94,.28); border-radius:14px 14px 0 0; padding:12px 6px}
.bdg-pod-av{width:44px; height:44px; border-radius:50%; display:grid; place-items:center; font-size:20px; background:#2a2720;
  border:2px solid var(--gold); box-shadow:0 0 12px rgba(245,196,94,.3)}
.bdg-pod-rank{font-size:9px; font-weight:900; color:#2b210e; background:linear-gradient(135deg,#ffe6a1,var(--gold-deep));
  padding:2px 8px; border-radius:9px; box-shadow:0 2px 5px rgba(0,0,0,.3); box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.bdg-pod-name{font-size:11px; font-weight:800}
.bdg-pod-amt{font-size:10.5px; font-weight:900; color:var(--gold); font-variant-numeric:tabular-nums}
.bdg-pod-1{order:2; padding-bottom:28px; transform:translateY(-14px); border-color:var(--gold);
  background:linear-gradient(180deg,rgba(70,54,22,.9),rgba(30,22,9,.9));
  box-shadow:0 0 26px rgba(245,196,94,.4), inset 0 1px 0 rgba(255,240,200,.2)}
.bdg-pod-1 .bdg-pod-av{width:56px; height:56px; font-size:26px; border-width:2.5px; box-shadow:0 0 18px rgba(245,196,94,.6)}
.bdg-pod-1::after{content:'👑'; position:absolute; top:-2px; left:50%; transform:translateX(-50%); font-size:14px; z-index:2;
  filter:drop-shadow(0 0 6px rgba(245,196,94,.8)); animation:bdgCrownBob 2.4s ease-in-out infinite}
@keyframes bdgCrownBob{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-4px)}}
/* shimmer sweep on the champion tile */
.bdg-pod-1::before{content:''; position:absolute; top:0; bottom:0; width:40%; left:-55%;
  background:linear-gradient(105deg,transparent,rgba(255,245,210,.14),transparent); transform:skewX(-18deg);
  animation:bdgPodSheen 5s ease-in-out infinite}
@keyframes bdgPodSheen{0%,55%,100%{left:-55%}75%{left:130%}}
.bdg-pod-2{order:1; padding-bottom:16px}
.bdg-pod-3{order:3; padding-bottom:10px}

.bdg-ranklist{display:flex; flex-direction:column; gap:6px; margin-top:8px}
.bdg-rankrow{display:flex; align-items:center; gap:10px; padding:8px 11px; border-radius:11px; background:var(--card); border:1px solid var(--line)}
.bdg-rank-n{font-size:12px; font-weight:900; color:var(--muted); width:18px}
.bdg-rank-av{width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:13px; background:#2a2720; flex-shrink:0}
.bdg-rank-name{font-size:12px; font-weight:800}
.bdg-rank-amt{margin-left:auto; font-size:12px; font-weight:900; color:var(--gold); font-variant-numeric:tabular-nums;
  background:rgba(245,196,94,.1); border:1px solid var(--line); padding:4px 10px; border-radius:14px}

.bdg-desktop{display:block; text-align:center; margin:16px 0 6px; padding:11px; border-radius:22px; font-size:12.5px; font-weight:900;
  color:#2b210e; background:linear-gradient(135deg,var(--gold-lt),var(--gold-deep)); box-shadow:0 6px 16px rgba(0,0,0,.3)}
.bdg-foot{text-align:center; font-size:10px; color:var(--muted-2); margin:6px 0 0}

/* ---------- Floating wheels ---------- */
.bdg-fabs{position:absolute; right:8px; bottom:96px; display:flex; flex-direction:column; gap:9px; z-index:45}
.bdg-fab{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; font-size:22px;
  background:radial-gradient(circle at 35% 30%,#3a2a12,#1a130a); border:1.5px solid var(--gold); box-shadow:0 4px 12px rgba(0,0,0,.5); animation:fabspin 8s linear infinite}
@keyframes fabspin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

/* ---------- Bottom nav ---------- */
.bdg-nav{position:fixed; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:var(--frame); height:68px; z-index:50;
  background:linear-gradient(180deg,rgba(44,39,28,.96),rgba(18,15,10,.98)); backdrop-filter:blur(10px);
  border-top:1px solid transparent; border-radius:20px 20px 0 0; display:flex; align-items:flex-end;
  box-shadow:0 -6px 22px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,235,180,.1)}
/* gold hairline glow across the top edge */
.bdg-nav::before{content:''; position:absolute; left:8%; right:8%; top:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--gold) 50%,transparent); box-shadow:0 0 12px rgba(245,196,94,.6)}
.bdg-nav a{position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; padding:10px 0 10px;
  color:var(--muted-2); font-size:10px; font-weight:800; transition:color .18s}
.bdg-nav a i{font-style:normal; font-size:18px; line-height:1; transition:transform .18s, filter .18s}
.bdg-nav a.on{color:var(--gold)}
.bdg-nav a.on i{transform:translateY(-1px) scale(1.14); filter:drop-shadow(0 0 7px rgba(245,196,94,.7))}
/* glowing indicator pill above the active tab */
.bdg-nav a.on::before{content:''; position:absolute; top:3px; width:22px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--gold-lt),var(--gold-deep)); box-shadow:0 0 8px rgba(245,196,94,.8)}
.n-home::before{content:"🏠"}
.n-activity::before{content:"📊"}
.n-promo::before{content:"📣"}
.n-account::before{content:"👤"}
.bdg-nav-center{position:relative; top:-16px; color:var(--gold) !important}
.bdg-nav-center .bonus{width:56px; height:56px; border-radius:50%; display:grid; place-items:center; font-size:24px;
  background:radial-gradient(circle at 35% 25%,#fff5c8,var(--gold) 44%,var(--gold-deep)); color:#31230a;
  border:2.5px solid rgba(23,21,16,.9); margin-bottom:3px; position:relative;
  box-shadow:0 8px 22px rgba(0,0,0,.55), 0 0 0 4px rgba(245,196,94,.16), inset 0 2px 4px rgba(255,255,255,.5);
  animation:bdgBonusBreathe 2.6s ease-in-out infinite}
@keyframes bdgBonusBreathe{0%,100%{box-shadow:0 8px 22px rgba(0,0,0,.55), 0 0 0 4px rgba(245,196,94,.16), inset 0 2px 4px rgba(255,255,255,.5)}
  50%{box-shadow:0 8px 26px rgba(0,0,0,.55), 0 0 0 8px rgba(245,196,94,.28), 0 0 20px rgba(245,196,94,.5), inset 0 2px 4px rgba(255,255,255,.5)}}
.bdg-nav-center:active .bonus{transform:scale(.94)}

@media (prefers-reduced-motion:reduce){.bdg-notice-track span,.bdg-fab{animation:none}}
@media (max-width:360px){.bdg-game-badge{font-size:22px}.bdg-cat-label{font-size:12px}}
