/* =========================================================
   1 x bet (1-x-bet.click) - Core palette stylesheet
   Prefix: wddf9-
   Mobile-first canvas (320-430px). Wide screens keep the
   mobile canvas centered. No desktop-wide layout required.
   Comments are in English only.
   ========================================================= */

:root{
  --wddf9-bg-deep:#0F0F23;
  --wddf9-bg-soft:#151538;
  --wddf9-bg-card:#1b1b44;
  --wddf9-teal:#008B8B;
  --wddf9-mint:#40E0D0;
  --wddf9-pink:#E91E63;
  --wddf9-magenta:#FF1493;
  --wddf9-ink:#0a0a1c;
  --wddf9-text:#f3f5ff;
  --wddf9-text-dim:#aeb4d8;
  --wddf9-line:rgba(64,224,208,.22);
  --wddf9-line-strong:rgba(64,224,208,.55);
  --wddf9-shadow:0 12px 30px rgba(0,0,0,.45);
  --wddf9-radius:14px;
  --wddf9-radius-sm:10px;
  --wddf9-gap:12px;
  --wddf9-header-h:56px;
  --wddf9-bottom-h:64px;
  --wddf9-maxw:430px;
  --wddf9-ease:cubic-bezier(.4,.2,.2,1);
}

*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{background:var(--wddf9-bg-deep); -webkit-text-size-adjust:100%;}
body{
  font-family:"Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,-apple-system,sans-serif;
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(255,20,147,.18), transparent 60%),
    radial-gradient(720px 420px at -10% 6%, rgba(0,139,139,.22), transparent 60%),
    var(--wddf9-bg-deep);
  color:var(--wddf9-text);
  line-height:1.65;
  font-size:15px;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:var(--wddf9-mint); text-decoration:none;}
button{font:inherit; color:inherit; cursor:pointer; background:none; border:0;}

/* Page canvas: mobile-first, centered on wide screens */
.wddf9-canvas{
  width:100%;
  max-width:var(--wddf9-maxw);
  margin:0 auto;
  background:linear-gradient(180deg, rgba(21,21,56,.55) 0%, rgba(15,15,35,.65) 40%, rgba(15,15,35,.92) 100%);
  min-height:100vh;
  position:relative;
  box-shadow:var(--wddf9-shadow);
  padding-bottom:calc(var(--wddf9-bottom-h) + 18px);
}

/* ===== Header (minimal action band) ===== */
.wddf9-header{
  position:sticky;
  top:0;
  z-index:60;
  height:var(--wddf9-header-h);
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:rgba(10,10,28,.86);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--wddf9-line);
}
.wddf9-brand{
  display:flex; align-items:center; gap:8px;
  min-width:0;
}
.wddf9-logo{
  width:34px; height:34px; border-radius:9px;
  background:
    radial-gradient(circle at 30% 28%, #fff 0 8%, var(--wddf9-magenta) 9% 60%, var(--wddf9-pink) 61% 100%);
  box-shadow:0 0 0 2px rgba(255,20,147,.35) inset, 0 4px 10px rgba(233,30,99,.35);
  display:grid; place-items:center;
  font-weight:800; color:#fff; font-size:15px; letter-spacing:.5px;
  flex-shrink:0;
}
.wddf9-brand-text{display:flex; flex-direction:column; line-height:1.1; min-width:0;}
.wddf9-brand-name{font-size:15px; font-weight:800; letter-spacing:.4px; color:#fff;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.wddf9-brand-tag{font-size:10.5px; color:var(--wddf9-mint); white-space:nowrap;}

.wddf9-actions{margin-left:auto; display:flex; align-items:center; gap:6px;}
.wddf9-btn{
  -webkit-tap-highlight-color:transparent;
  border-radius:999px;
  padding:8px 14px;
  font-weight:700;
  font-size:13px;
  min-height:36px;
  display:inline-flex; align-items:center; gap:6px;
  transition:background .25s var(--wddf9-ease), color .25s var(--wddf9-ease), transform .15s var(--wddf9-ease);
}
.wddf9-btn:active{transform:scale(.96);}
.wddf9-btn-login{
  color:var(--wddf9-mint);
  border:1px solid var(--wddf9-line-strong);
  background:rgba(64,224,208,.08);
}
.wddf9-btn-login:hover{background:rgba(64,224,208,.18);}
.wddf9-btn-register{
  color:#fff;
  background:linear-gradient(135deg, var(--wddf9-pink), var(--wddf9-magenta));
  box-shadow:0 6px 14px rgba(233,30,99,.35);
}
.wddf9-btn-register:hover{filter:brightness(1.08);}
.wddf9-menu-btn{
  width:36px; height:36px; border-radius:10px;
  border:1px solid var(--wddf9-line);
  background:rgba(64,224,208,.07);
  display:grid; place-items:center;
  color:var(--wddf9-mint);
}
.wddf9-menu-btn:hover{background:rgba(64,224,208,.16);}
.wddf9-menu-btn svg{width:18px; height:18px;}

/* ===== Side drawer menu ===== */
.wddf9-scrim{
  position:fixed; inset:0; z-index:80;
  background:rgba(4,4,12,.6);
  opacity:0; visibility:hidden;
  transition:opacity .25s var(--wddf9-ease), visibility .25s;
}
.wddf9-scrim.is-open{opacity:1; visibility:visible;}
.wddf9-drawer{
  position:fixed; top:0; right:0; z-index:90;
  width:min(82vw, 320px);
  height:100vh;
  background:linear-gradient(180deg, #15153a, #0f0f23);
  border-left:1px solid var(--wddf9-line);
  transform:translateX(105%);
  transition:transform .3s var(--wddf9-ease);
  display:flex; flex-direction:column;
  box-shadow:-16px 0 40px rgba(0,0,0,.5);
}
.wddf9-drawer.is-open{transform:translateX(0);}
.wddf9-drawer-head{
  padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--wddf9-line);
}
.wddf9-drawer-title{font-size:14px; color:var(--wddf9-mint); font-weight:700; letter-spacing:1px; text-transform:uppercase;}
.wddf9-drawer-close{
  width:32px; height:32px; border-radius:8px;
  border:1px solid var(--wddf9-line);
  display:grid; place-items:center;
  color:var(--wddf9-text-dim);
}
.wddf9-drawer-nav{padding:10px 12px; overflow-y:auto; flex:1;}
.wddf9-drawer-nav a{
  display:flex; align-items:center; gap:10px;
  padding:12px 12px;
  border-radius:10px;
  color:var(--wddf9-text);
  border:1px solid transparent;
  font-weight:600;
  transition:background .2s var(--wddf9-ease), border-color .2s;
}
.wddf9-drawer-nav a:hover,
.wddf9-drawer-nav a:focus{background:rgba(64,224,208,.08); border-color:var(--wddf9-line);}
.wddf9-drawer-nav a .wddf9-dot{
  width:8px; height:8px; border-radius:50%;
  background:linear-gradient(135deg, var(--wddf9-mint), var(--wddf9-magenta));
  flex-shrink:0;
}
.wddf9-drawer-section{font-size:11px; letter-spacing:1.4px; text-transform:uppercase; color:var(--wddf9-text-dim); padding:14px 12px 6px;}
.wddf9-drawer-foot{padding:14px 14px 22px; border-top:1px solid var(--wddf9-line); display:grid; gap:8px;}
.wddf9-drawer-cta{width:100%; justify-content:center;}

/* ===== Hero / Carousel ===== */
.wddf9-hero{padding:14px 12px 6px;}
.wddf9-carousel{
  position:relative;
  border-radius:var(--wddf9-radius);
  overflow:hidden;
  box-shadow:var(--wddf9-shadow);
  border:1px solid var(--wddf9-line);
}
.wddf9-track{display:flex; transition:transform .45s var(--wddf9-ease);}
.wddf9-slide{
  flex:0 0 100%;
  position:relative;
}
.wddf9-slide img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  filter:saturate(1.08);
}
.wddf9-slide-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:14px 14px 16px;
  background:linear-gradient(180deg, transparent, rgba(10,10,28,.92) 70%);
  display:flex; flex-direction:column; gap:6px;
}
.wddf9-slide-caption h2{margin:0; font-size:18px; line-height:1.25; color:#fff;}
.wddf9-slide-caption p{margin:0; font-size:12.5px; color:var(--wddf9-mint);}
.wddf9-slide-cta{margin-top:4px; align-self:flex-start;}
.wddf9-carousel-controls{
  position:absolute; bottom:12px; right:12px;
  display:flex; gap:6px;
}
.wddf9-dot-btn{
  width:9px; height:9px; border-radius:50%;
  background:rgba(255,255,255,.4);
  transition:background .2s, transform .2s;
}
.wddf9-dot-btn.is-active{background:var(--wddf9-magenta); transform:scale(1.25);}
.wddf9-hero-meta{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
  margin-top:10px;
}
.wddf9-meta{
  background:rgba(64,224,208,.06);
  border:1px solid var(--wddf9-line);
  border-radius:12px;
  padding:8px 6px;
  text-align:center;
}
.wddf9-meta b{display:block; font-size:14px; color:#fff;}
.wddf9-meta span{font-size:10.5px; color:var(--wddf9-text-dim);}

/* ===== Section primitives ===== */
.wddf9-section{padding:18px 12px 4px;}
.wddf9-section-head{
  display:flex; align-items:center; gap:10px;
  margin:0 0 10px;
}
.wddf9-section-head .wddf9-pill{
  width:8px; height:22px; border-radius:6px;
  background:linear-gradient(180deg, var(--wddf9-mint), var(--wddf9-teal));
}
.wddf9-section-head h2{
  margin:0; font-size:17px; color:#fff; letter-spacing:.2px;
}
.wddf9-section-head .wddf9-more{margin-left:auto; font-size:12px; color:var(--wddf9-mint);}

/* ===== Game grid ===== */
.wddf9-games{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.wddf9-game{
  -webkit-tap-highlight-color:transparent;
  display:flex; flex-direction:column; align-items:center;
  background:rgba(64,224,208,.05);
  border:1px solid var(--wddf9-line);
  border-radius:var(--wddf9-radius-sm);
  padding:6px 6px 8px;
  text-align:center;
  transition:transform .18s var(--wddf9-ease), border-color .2s, background .2s;
  min-width:0;
}
.wddf9-game:hover{transform:translateY(-2px); border-color:var(--wddf9-line-strong); background:rgba(64,224,208,.1);}
.wddf9-game:active{transform:scale(.97);}
.wddf9-game-img{
  width:100%;
  aspect-ratio:1/1;
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(135deg, #1b1b44, #15153a);
  margin-bottom:6px;
}
.wddf9-game-img img{width:100%; height:100%; object-fit:cover;}
.wddf9-game-name{
  font-size:11px; line-height:1.25; color:var(--wddf9-text);
  font-weight:600;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:28px;
}
.wddf9-game-tag{
  margin-top:4px;
  font-size:9px;
  letter-spacing:.6px;
  color:var(--wddf9-mint);
  background:rgba(64,224,208,.1);
  border-radius:6px;
  padding:1px 6px;
}

/* ===== Category filter chips (visual only, soft) ===== */
.wddf9-chips{
  display:flex; gap:8px; overflow-x:auto;
  padding:4px 12px 12px;
  scrollbar-width:none;
}
.wddf9-chips::-webkit-scrollbar{display:none;}
.wddf9-chip{
  flex-shrink:0;
  padding:7px 14px;
  border-radius:999px;
  font-size:12px; font-weight:700;
  color:var(--wddf9-text-dim);
  border:1px solid var(--wddf9-line);
  background:rgba(64,224,208,.05);
  transition:color .2s, border-color .2s, background .2s;
}
.wddf9-chip.is-active{
  color:#fff;
  background:linear-gradient(135deg, var(--wddf9-teal), var(--wddf9-mint));
  border-color:transparent;
}

/* ===== Feature cards / promo bands ===== */
.wddf9-grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:10px;}
.wddf9-grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
.wddf9-grid-5{display:grid; grid-template-columns:repeat(5,1fr); gap:8px;}

.wddf9-card{
  background:linear-gradient(160deg, rgba(64,224,208,.08), rgba(233,30,99,.05));
  border:1px solid var(--wddf9-line);
  border-radius:var(--wddf9-radius);
  padding:14px;
  display:flex; flex-direction:column; gap:8px;
  min-width:0;
}
.wddf9-card h3{margin:0; font-size:14px; color:#fff;}
.wddf9-card p{margin:0; font-size:12.5px; color:var(--wddf9-text-dim); line-height:1.55;}
.wddf9-card .wddf9-ic{
  width:36px; height:36px; border-radius:10px;
  background:linear-gradient(135deg, rgba(64,224,208,.25), rgba(255,20,147,.25));
  display:grid; place-items:center; color:#fff;
}
.wddf9-card .wddf9-ic svg{width:18px; height:18px;}

.wddf9-promo{
  border-radius:var(--wddf9-radius);
  padding:16px;
  background:
    linear-gradient(135deg, rgba(233,30,99,.22), rgba(255,20,147,.12)),
    linear-gradient(180deg, #1b1b44, #15153a);
  border:1px solid rgba(255,20,147,.35);
  display:flex; flex-direction:column; gap:8px;
}
.wddf9-promo h3{margin:0; color:#fff; font-size:16px;}
.wddf9-promo p{margin:0; color:#ffe6f1; font-size:13px;}

/* ===== Article / SEO text ===== */
.wddf9-article{
  background:rgba(64,224,208,.05);
  border:1px solid var(--wddf9-line);
  border-radius:var(--wddf9-radius);
  padding:16px;
  font-size:13.5px;
  color:var(--wddf9-text);
}
.wddf9-article h2{margin:0 0 8px; font-size:16px; color:#fff;}
.wddf9-article h3{margin:12px 0 6px; font-size:14px; color:var(--wddf9-mint);}
.wddf9-article p{margin:0 0 10px; color:var(--wddf9-text-dim); line-height:1.7;}
.wddf9-article ul{margin:0 0 10px; padding-left:18px;}
.wddf9-article li{margin-bottom:5px; color:var(--wddf9-text-dim);}
.wddf9-article a{color:var(--wddf9-mint); border-bottom:1px dashed rgba(64,224,208,.5);}
.wddf9-article a:hover{color:#fff;}

.wddf9-faq-item{
  border-bottom:1px dashed var(--wddf9-line);
  padding:10px 0;
}
.wddf9-faq-item:last-child{border-bottom:0;}
.wddf9-faq-item h3{margin:0 0 4px; color:#fff; font-size:13.5px;}
.wddf9-faq-item p{margin:0; color:var(--wddf9-text-dim); font-size:12.5px;}

/* ===== Extended footer (homepage) ===== */
.wddf9-extended{
  margin:18px 12px 8px;
  border:1px solid var(--wddf9-line);
  border-radius:var(--wddf9-radius);
  background:linear-gradient(180deg, rgba(64,224,208,.07), rgba(233,30,99,.05));
  padding:16px;
}
.wddf9-extended h2{margin:0 0 6px; font-size:15px; color:#fff; letter-spacing:.3px;}
.wddf9-extended p{margin:0 0 10px; font-size:12.5px; color:var(--wddf9-text-dim);}
.wddf9-directory{
  display:grid; grid-template-columns:1fr 1fr; gap:8px;
  margin:8px 0 12px;
}
.wddf9-directory a{
  font-size:12px;
  color:var(--wddf9-text);
  padding:8px 10px;
  border-radius:8px;
  background:rgba(64,224,208,.08);
  border:1px solid var(--wddf9-line);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:background .2s;
}
.wddf9-directory a:hover{background:rgba(64,224,208,.18); color:#fff;}
.wddf9-promo-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:6px;
  margin-top:6px;
}
.wddf9-promo-grid button{
  padding:8px 4px;
  font-size:10.5px;
  font-weight:700;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg, var(--wddf9-pink), var(--wddf9-magenta));
  box-shadow:0 4px 10px rgba(233,30,99,.3);
  transition:filter .2s, transform .15s;
}
.wddf9-promo-grid button:hover{filter:brightness(1.1);}
.wddf9-promo-grid button:active{transform:scale(.95);}
.wddf9-disclaimer{
  margin-top:12px;
  font-size:11px;
  color:var(--wddf9-text-dim);
  border-top:1px dashed var(--wddf9-line);
  padding-top:10px;
  line-height:1.6;
}

/* ===== Universal footer (all pages) ===== */
.wddf9-footer{
  padding:16px 14px 8px;
  text-align:center;
  color:var(--wddf9-text-dim);
  font-size:11.5px;
  border-top:1px solid var(--wddf9-line);
}

/* ===== Mobile bottom navigation (outlined functional bar) ===== */
.wddf9-bottom{
  position:fixed;
  left:50%; transform:translateX(-50%);
  bottom:8px;
  width:calc(100% - 16px);
  max-width:calc(var(--wddf9-maxw) - 16px);
  z-index:70;
  background:rgba(10,10,28,.92);
  backdrop-filter:blur(12px);
  border:1px solid var(--wddf9-line-strong);
  border-radius:18px;
  padding:6px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:2px;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
}
.wddf9-bottom-item{
  -webkit-tap-highlight-color:transparent;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  padding:6px 2px 4px;
  border-radius:12px;
  color:var(--wddf9-text-dim);
  position:relative;
  transition:color .25s var(--wddf9-ease), background .25s var(--wddf9-ease);
  min-height:48px;
  text-decoration:none;
}
.wddf9-bottom-item svg{width:22px; height:22px;}
.wddf9-bottom-item span{font-size:9.5px; font-weight:700; letter-spacing:.3px;}
.wddf9-bottom-item:hover{color:var(--wddf9-mint);}
.wddf9-bottom-item.is-active{color:#fff;}
.wddf9-bottom-item.is-active::after{
  content:"";
  position:absolute;
  left:50%; transform:translateX(-50%);
  bottom:2px;
  width:18px; height:2.5px;
  border-radius:2px;
  background:linear-gradient(90deg, var(--wddf9-mint), var(--wddf9-magenta));
}
.wddf9-bottom-promo{
  color:#fff;
  background:linear-gradient(135deg, rgba(233,30,99,.28), rgba(255,20,147,.18));
  border:1px solid rgba(255,20,147,.4);
}
.wddf9-bottom-promo:hover{color:#fff; filter:brightness(1.08);}

/* ===== Utility ===== */
.wddf9-visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.wddf9-row{display:flex; gap:10px; align-items:center;}
.wddf9-grow{flex:1; min-width:0;}

@media (min-width:380px){
  .wddf9-games{gap:11px;}
  body{font-size:15.5px;}
}
@media (min-width:430px){
  .wddf9-canvas{box-shadow:0 18px 50px rgba(0,0,0,.55);}
}
