/* ============================================================
   xe66bet.click — Base Theme (Mobile First, 320-430px canvas)
   Prefix: wbce9-
   Palette: #1C2833 (dark) / #E6E6FA (light lavender)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --wbce9-bg:        #1C2833;
  --wbce9-bg-2:      #141c25;
  --wbce9-bg-3:      #0f1620;
  --wbce9-card:      #20303f;
  --wbce9-card-2:    #27394c;
  --wbce9-line:      #2f4358;
  --wbce9-text:      #E6E6FA;
  --wbce9-text-2:    #c7d0e0;
  --wbce9-text-mute: #8fa1b8;
  --wbce9-accent:    #E6B12E;      /* gold */
  --wbce9-accent-2:  #F2C75F;
  --wbce9-hot:       #E0484C;       /* casino red */
  --wbce9-green:     #2FBF71;
  --wbce9-blue:      #3A7BD5;
  --wbce9-radius:    14px;
  --wbce9-radius-sm: 10px;
  --wbce9-shadow:    0 6px 18px rgba(0,0,0,.35);
  --wbce9-header-h:  58px;
  --wbce9-nav-h:     64px;
  --wbce9-max:       480px;
}

html,body{
  background: var(--wbce9-bg);
  color: var(--wbce9-text);
  font-family: "Hind Siliguri","Noto Sans Bengali","Segoe UI",Roboto,Arial,sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body{
  max-width: var(--wbce9-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
     radial-gradient(120% 60% at 50% -10%, rgba(230,177,46,.10), transparent 60%),
     linear-gradient(180deg, var(--wbce9-bg) 0%, var(--wbce9-bg-2) 100%);
  position: relative;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: var(--wbce9-accent-2); text-decoration: none; }
a:hover{ color: var(--wbce9-accent); }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Skip link ---------- */
.wbce9-skip{
  position:absolute; left:-9999px; top:0; background:var(--wbce9-accent); color:#1C2833;
  padding:8px 14px; border-radius:0 0 8px 0; z-index:2000;
}
.wbce9-skip:focus{ left:0; }

/* ---------- Header ---------- */
.wbce9-header{
  position: sticky; top: 0; z-index: 500;
  height: var(--wbce9-header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(28,40,51,.98), rgba(20,28,37,.94));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wbce9-line);
}
.wbce9-brand{
  display:flex; align-items:center; gap:9px; flex: 0 0 auto;
}
.wbce9-brand img{
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--wbce9-accent);
  box-shadow: 0 0 0 2px rgba(230,177,46,.25), var(--wbce9-shadow);
  object-fit: cover;
}
.wbce9-brand-txt{ display:flex; flex-direction:column; line-height:1.1; }
.wbce9-brand-txt b{ color: var(--wbce9-text); font-size: 17px; letter-spacing:.3px; }
.wbce9-brand-txt span{ color: var(--wbce9-accent-2); font-size: 10.5px; font-weight:600; letter-spacing:1px; text-transform: uppercase;}

.wbce9-header-actions{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.wbce9-icon-btn{
  width: 38px; height: 38px; border-radius: 10px;
  display:grid; place-items:center;
  background: var(--wbce9-card); border:1px solid var(--wbce9-line);
  color: var(--wbce9-text-2);
}
.wbce9-icon-btn:active{ transform: scale(.95); }

.wbce9-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding: 9px 14px; min-height: 38px;
  border-radius: 10px;
  font-weight: 700; font-size: 13.5px;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.wbce9-btn:active{ transform: scale(.96); }
.wbce9-btn-login{
  background: var(--wbce9-card-2);
  color: var(--wbce9-text);
  border:1px solid var(--wbce9-line);
}
.wbce9-btn-register{
  background: linear-gradient(135deg, var(--wbce9-accent) 0%, var(--wbce9-accent-2) 100%);
  color:#1C2833;
  box-shadow: 0 4px 12px rgba(230,177,46,.35);
}

/* ---------- Menu Drawer ---------- */
.wbce9-menu-backdrop{
  position: fixed; inset:0; background: rgba(0,0,0,.55);
  z-index: 700; opacity: 0; visibility:hidden; transition: opacity .2s ease;
}
.wbce9-menu-backdrop.wbce9-open{ opacity:1; visibility:visible; }
.wbce9-menu{
  position: fixed; top:0; right: -86%; width: 86%; max-width: 360px;
  height: 100vh; z-index: 800; background: var(--wbce9-bg-2);
  border-left:1px solid var(--wbce9-line);
  transform: translateX(0); transition: transform .25s ease;
  display:flex; flex-direction:column;
  box-shadow: -10px 0 30px rgba(0,0,0,.45);
}
.wbce9-menu.wbce9-closed{ transform: translateX(100%); }
.wbce9-menu-head{
  display:flex; align-items:center; gap:10px; padding: 14px;
  border-bottom:1px solid var(--wbce9-line);
  background: linear-gradient(180deg, rgba(230,177,46,.10), transparent);
}
.wbce9-menu-head img{ width:34px; height:34px; border-radius:8px; }
.wbce9-menu-head b{ font-size:16px; }
.wbce9-menu-head small{ display:block; color:var(--wbce9-text-mute); font-size:11px; }
.wbce9-menu-close{
  margin-left:auto; width:34px; height:34px; border-radius:8px;
  background: var(--wbce9-card); display:grid; place-items:center; color:var(--wbce9-text);
}
.wbce9-menu-body{ overflow-y:auto; padding: 8px 12px 24px; flex:1; }
.wbce9-menu-section{ margin-top: 14px; }
.wbce9-menu-section h4{
  font-size: 11px; letter-spacing:1.5px; text-transform:uppercase;
  color: var(--wbce9-accent-2); margin: 0 0 6px 4px;
}
.wbce9-menu-link{
  display:flex; align-items:center; gap:10px;
  padding: 11px 12px; border-radius: 10px;
  color: var(--wbce9-text-2); font-size:14.5px; font-weight:500;
  border:1px solid transparent;
}
.wbce9-menu-link:active{ background: var(--wbce9-card); border-color:var(--wbce9-line); color: var(--wbce9-text); }
.wbce9-menu-link .wbce9-dot{
  width:8px; height:8px; border-radius:50%; background: var(--wbce9-accent);
  flex:0 0 auto;
}

/* ---------- Main container ---------- */
.wbce9-main{ padding: 14px 12px calc(var(--wbce9-nav-h) + 26px); }

/* ---------- Hero / Carousel ---------- */
.wbce9-hero{
  position: relative; border-radius: 18px; overflow:hidden;
  box-shadow: var(--wbce9-shadow);
  margin-bottom: 14px;
}
.wbce9-hero-track{ display:flex; transition: transform .4s ease; }
.wbce9-hero-slide{
  flex: 0 0 100%; position:relative;
  min-height: 168px;
}
.wbce9-hero-slide img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.wbce9-hero-slide::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,28,37,.05) 0%, rgba(20,28,37,.85) 100%);
}
.wbce9-hero-cap{
  position:absolute; left:14px; right:14px; bottom:12px; z-index:2;
  color: var(--wbce9-text);
}
.wbce9-hero-cap h2{ font-size: 19px; line-height:1.25; text-shadow:0 2px 8px rgba(0,0,0,.6); }
.wbce9-hero-cap p{ font-size: 12.5px; color: var(--wbce9-text-2); margin-top: 4px; }
.wbce9-hero-cta{
  display:inline-flex; align-items:center; gap:6px;
  background: linear-gradient(135deg, var(--wbce9-accent), var(--wbce9-accent-2));
  color:#1C2833; font-weight:700; font-size:12.5px;
  padding:7px 13px; border-radius:20px; margin-top:8px;
}
.wbce9-hero-dots{
  position:absolute; bottom:8px; right:12px; z-index:3;
  display:flex; gap:5px;
}
.wbce9-hero-dots span{
  width:6px; height:6px; border-radius:50%; background: rgba(230,230,250,.4);
}
.wbce9-hero-dots span.wbce9-on{ background: var(--wbce9-accent); width:18px; border-radius:3px; }

/* ---------- Section title ---------- */
.wbce9-section{ margin-top: 18px; }
.wbce9-section-head{
  display:flex; align-items:center; gap:8px; margin: 0 0 10px;
}
.wbce9-section-head h3{
  font-size: 16px; color: var(--wbce9-text); font-weight:700;
}
.wbce9-section-head .wbce9-bar{
  width:4px; height:18px; border-radius:2px;
  background: linear-gradient(180deg, var(--wbce9-accent), var(--wbce9-hot));
}
.wbce9-section-head .wbce9-more{
  margin-left:auto; font-size:12px; color: var(--wbce9-accent-2); font-weight:600;
}

/* ---------- Category chips ---------- */
.wbce9-cats{
  display:flex; gap:8px; overflow-x:auto; padding: 2px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wbce9-cats::-webkit-scrollbar{ display:none; }
.wbce9-cat{
  flex:0 0 auto;
  display:inline-flex; align-items:center; gap:6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--wbce9-card); border:1px solid var(--wbce9-line);
  color: var(--wbce9-text-2); font-size: 13px; font-weight:600;
  white-space:nowrap;
}
.wbce9-cat.wbce9-active{
  background: linear-gradient(135deg, var(--wbce9-accent), var(--wbce9-accent-2));
  color:#1C2833; border-color:transparent;
}
.wbce9-cat:active{ transform: scale(.96); }

/* ---------- Game grid ---------- */
.wbce9-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 9px;
}
@media (min-width: 360px){ .wbce9-grid{ grid-template-columns: repeat(4, 1fr); } }
.wbce9-card{
  position:relative;
  background: var(--wbce9-card);
  border-radius: var(--wbce9-radius-sm);
  overflow:hidden;
  border:1px solid var(--wbce9-line);
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  transition: transform .12s ease, box-shadow .12s ease;
}
.wbce9-card:active{ transform: translateY(2px); }
.wbce9-card-img{
  position:relative; aspect-ratio: 1/1; overflow:hidden; background:#0d141d;
}
.wbce9-card-img img{ width:100%; height:100%; object-fit:cover; }
.wbce9-card-tag{
  position:absolute; top:5px; left:5px;
  font-size:9px; font-weight:800; padding:2px 6px; border-radius:4px;
  background: var(--wbce9-hot); color:#fff; letter-spacing:.4px;
}
.wbce9-card-tag.wbce9-tag-hot{ background: var(--wbce9-hot); }
.wbce9-card-tag.wbce9-tag-new{ background: var(--wbce9-green); }
.wbce9-card-tag.wbce9-tag-vip{ background: var(--wbce9-accent); color:#1C2833; }
.wbce9-card-play{
  position:absolute; inset:0; display:grid; place-items:center;
  background: rgba(15,22,32,.55); opacity:0; transition: opacity .15s ease;
}
.wbce9-card:hover .wbce9-card-play{ opacity:1; }
.wbce9-card-play span{
  background: var(--wbce9-accent); color:#1C2833;
  padding:6px 14px; border-radius:18px; font-weight:700; font-size:12px;
}
.wbce9-card-name{
  padding: 6px 7px 8px; font-size: 11.5px; font-weight:600;
  color: var(--wbce9-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  text-align:center;
}

/* ---------- Promo cards ---------- */
.wbce9-promos{ display:grid; grid-template-columns: 1fr 1fr; gap:9px; }
.wbce9-promo{
  position:relative; border-radius: var(--wbce9-radius-sm);
  overflow:hidden; min-height: 96px; padding: 12px;
  border:1px solid var(--wbce9-line);
  background: linear-gradient(135deg, var(--wbce9-card) 0%, var(--wbce9-card-2) 100%);
  display:flex; flex-direction:column; justify-content:space-between;
}
.wbce9-promo b{ font-size:14px; color: var(--wbce9-accent-2); }
.wbce9-promo span{ font-size:11.5px; color: var(--wbce9-text-2); }
.wbce9-promo small{
  display:inline-block; margin-top:8px; padding:5px 10px;
  background: var(--wbce9-accent); color:#1C2833; border-radius:14px;
  font-weight:700; font-size:11px; width:fit-content;
}

/* ---------- Feature/Why Us ---------- */
.wbce9-features{ display:grid; grid-template-columns: repeat(2,1fr); gap:9px; }
.wbce9-feature{
  background: var(--wbce9-card); border:1px solid var(--wbce9-line);
  border-radius: 12px; padding: 12px;
}
.wbce9-feature .wbce9-ico{
  width:34px; height:34px; border-radius:9px; display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(230,177,46,.25), rgba(224,72,76,.25));
  color: var(--wbce9-accent-2); margin-bottom:8px;
}
.wbce9-feature b{ display:block; font-size:13.5px; color: var(--wbce9-text); }
.wbce9-feature p{ font-size:12px; color: var(--wbce9-text-mute); margin-top:3px; }

/* ---------- SEO content blocks ---------- */
.wbce9-content{
  background: var(--wbce9-card); border:1px solid var(--wbce9-line);
  border-radius: 14px; padding: 16px; margin-top: 16px;
}
.wbce9-content h2{
  font-size: 17px; color: var(--wbce9-accent-2); margin: 14px 0 8px;
}
.wbce9-content h2:first-child{ margin-top:0; }
.wbce9-content h3{ font-size: 14.5px; color: var(--wbce9-text); margin: 12px 0 6px; }
.wbce9-content p{ font-size: 13.5px; color: var(--wbce9-text-2); margin-bottom: 10px; }
.wbce9-content ul{ padding-left: 18px; margin: 6px 0 12px; }
.wbce9-content li{ font-size: 13px; color: var(--wbce9-text-2); margin-bottom: 4px; }
.wbce9-content a{ color: var(--wbce9-accent-2); text-decoration: underline; text-underline-offset: 2px; }
.wbce9-faq{ margin-top: 10px; }
.wbce9-faq details{
  border:1px solid var(--wbce9-line); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; background: var(--wbce9-bg-3);
}
.wbce9-faq summary{
  font-weight: 700; font-size: 13.5px; color: var(--wbce9-text);
  cursor: pointer; list-style: none; position:relative; padding-right: 22px;
}
.wbce9-faq summary::-webkit-details-marker{ display:none; }
.wbce9-faq summary::after{
  content:"+"; position:absolute; right:0; top:-1px;
  font-size:18px; color: var(--wbce9-accent);
}
.wbce9-faq details[open] summary::after{ content:"–"; }
.wbce9-faq p{ margin-top:6px; margin-bottom:0; font-size:13px; color: var(--wbce9-text-mute); }

/* ---------- Steps ---------- */
.wbce9-steps{ display:flex; flex-direction:column; gap:10px; }
.wbce9-step{
  display:flex; gap:12px; align-items:flex-start;
  background: var(--wbce9-card); border:1px solid var(--wbce9-line);
  border-radius: 12px; padding: 12px;
}
.wbce9-step-num{
  flex:0 0 auto; width:30px; height:30px; border-radius:50%;
  background: linear-gradient(135deg, var(--wbce9-accent), var(--wbce9-accent-2));
  color:#1C2833; font-weight:800; display:grid; place-items:center; font-size:14px;
}
.wbce9-step b{ display:block; font-size:13.5px; color: var(--wbce9-text); }
.wbce9-step span{ font-size:12.5px; color: var(--wbce9-text-mute); }

/* ---------- CTA banner ---------- */
.wbce9-cta{
  margin-top: 18px;
  border-radius: 16px; padding: 18px 16px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(230,177,46,.18), transparent 60%),
    linear-gradient(135deg, var(--wbce9-card-2), var(--wbce9-card));
  border:1px solid var(--wbce9-line);
  text-align:center;
}
.wbce9-cta h3{ font-size:18px; color: var(--wbce9-text); }
.wbce9-cta p{ font-size:12.5px; color: var(--wbce9-text-mute); margin: 4px 0 12px; }
.wbce9-cta .wbce9-btn{ padding: 11px 22px; font-size:14px; }

/* ---------- Footer ---------- */
.wbce9-footer{
  margin-top: 22px; padding: 18px 12px 16px;
  border-top:1px solid var(--wbce9-line);
  background: var(--wbce9-bg-3);
  color: var(--wbce9-text-mute);
}
.wbce9-footer-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px;
}
.wbce9-footer h4{
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
  color: var(--wbce9-accent-2); margin-bottom:8px;
}
.wbce9-footer a{
  display:block; font-size:12.5px; color: var(--wbce9-text-mute); padding: 3px 0;
}
.wbce9-footer a:hover{ color: var(--wbce9-text); }
.wbce9-footer-brand{
  display:flex; align-items:center; gap:10px; margin-bottom:10px;
}
.wbce9-footer-brand img{ width:32px; height:32px; border-radius:8px; }
.wbce9-footer-brand b{ color: var(--wbce9-text); font-size:15px; }
.wbce9-footer p{ font-size: 11.5px; line-height:1.55; }
.wbce9-footer-bottom{
  border-top:1px solid var(--wbce9-line); padding-top: 10px;
  text-align:center; font-size: 11px; color: var(--wbce9-text-mute);
}
.wbce9-18plus{
  display:inline-block; padding:2px 8px; border-radius:5px;
  border:1px solid var(--wbce9-line); color: var(--wbce9-hot);
  font-weight:800; margin-top:6px;
}

/* ---------- Mobile Bottom Nav ---------- */
.wbce9-nav{
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--wbce9-max);
  height: var(--wbce9-nav-h);
  background: linear-gradient(180deg, rgba(20,28,37,.97), rgba(15,22,32,.99));
  border-top: 1px solid var(--wbce9-line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 600;
  box-shadow: 0 -6px 20px rgba(0,0,0,.35);
}
.wbce9-nav-btn{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; padding: 6px 2px;
  color: var(--wbce9-text-mute); font-size: 10.5px; font-weight:600;
  position:relative;
}
.wbce9-nav-btn svg{ width:22px; height:22px; }
.wbce9-nav-btn:active{ transform: scale(.94); }
.wbce9-nav-btn.wbce9-active{ color: var(--wbce9-accent-2); }
.wbce9-nav-btn.wbce9-active::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:24px; height:3px; border-radius:0 0 3px 3px; background: var(--wbce9-accent);
}
.wbce9-nav-btn.wbce9-promo{
  color: #fff;
}
.wbce9-nav-btn.wbce9-promo .wbce9-nav-ico{
  width: 42px; height: 42px; border-radius:50%;
  background: linear-gradient(135deg, var(--wbce9-accent), var(--wbce9-hot));
  display:grid; place-items:center;
  box-shadow: 0 4px 12px rgba(224,72,76,.45);
  margin-top: -18px;
  border: 3px solid var(--wbce9-bg-2);
}
.wbce9-nav-btn.wbce9-promo .wbce9-nav-ico svg{ width:20px; height:20px; color:#fff; }
.wbce9-nav-btn.wbce9-promo span{ margin-top: 1px; color: var(--wbce9-accent-2); }

/* ---------- Floating promo ---------- */
.wbce9-float{
  position: fixed; right: 12px; bottom: calc(var(--wbce9-nav-h) + 14px);
  z-index: 550;
  display:flex; flex-direction:column; gap:8px;
}
.wbce9-float a{
  width:46px; height:46px; border-radius:50%;
  background: linear-gradient(135deg, var(--wbce9-accent), var(--wbce9-accent-2));
  color:#1C2833; display:grid; place-items:center;
  box-shadow: var(--wbce9-shadow); font-weight:800;
}

/* ---------- Marquee ticker ---------- */
.wbce9-ticker{
  background: var(--wbce9-bg-3); border:1px solid var(--wbce9-line);
  border-radius:10px; padding: 8px 12px; margin-bottom: 12px;
  overflow:hidden; display:flex; align-items:center; gap:10px;
}
.wbce9-ticker-tag{
  flex:0 0 auto; padding:2px 8px; border-radius:5px;
  background: var(--wbce9-hot); color:#fff; font-size:10.5px; font-weight:800; letter-spacing:.5px;
}
.wbce9-ticker-mask{ flex:1; overflow:hidden; }
.wbce9-ticker-track{
  display:inline-flex; gap:32px; white-space:nowrap;
  animation: wbce9tick 22s linear infinite;
}
.wbce9-ticker-track span{ font-size: 12px; color: var(--wbce9-text-2); }
@keyframes wbce9tick{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------- Utilities ---------- */
.wbce9-hide{ display:none !important; }
.wbce9-clearfix::after{ content:""; display:block; clear:both; }

@media (min-width: 481px){
  body{ box-shadow: 0 0 40px rgba(0,0,0,.4); }
}
