/* ============================================================
   xe66 login - Core Stylesheet
   Prefix: w6f96-
   Palette: #1E1E1E (bg) / #DDA0DD (accent plum) / #F8F8FF (text)
   Canvas: 320-430px mobile first
   ============================================================ */

:root{
  --w6f96-bg:#1E1E1E;
  --w6f96-bg-soft:#262626;
  --w6f96-bg-card:#2c2a2e;
  --w6f96-bg-deep:#161616;
  --w6f96-plum:#DDA0DD;
  --w6f96-plum-deep:#b87fb8;
  --w6f96-plum-soft:rgba(221,160,221,.16);
  --w6f96-text:#F8F8FF;
  --w6f96-text-muted:#b9b6c3;
  --w6f96-line:rgba(221,160,221,.22);
  --w6f96-shadow:0 10px 24px rgba(0,0,0,.45);
  --w6f96-ring:0 0 0 2px rgba(221,160,221,.55);
  --w6f96-radius:14px;
  --w6f96-header-h:60px;
  --w6f96-bottom-h:68px;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{margin:0;padding:0;}
html{background:var(--w6f96-bg);}
body{
  font-family:"Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,sans-serif;
  background:
    radial-gradient(1200px 360px at 50% -80px, rgba(221,160,221,.18), transparent 60%),
    linear-gradient(180deg,#1c1b1f 0%, #1E1E1E 40%, #181818 100%);
  color:var(--w6f96-text);
  line-height:1.65;
  font-size:15px;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:var(--w6f96-plum);text-decoration:none;}
a:hover{color:#fff;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
ul{margin:0;padding:0;list-style:none;}

/* ---------- Shell: keep mobile canvas on wide screens ---------- */
.w6f96-shell{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  background:linear-gradient(180deg,#1E1E1E 0%,#1b1a1d 100%);
  position:relative;
  box-shadow:0 0 60px rgba(0,0,0,.5);
}
@media (min-width:481px){
  body{background:#0e0e10;}
  .w6f96-shell{border-left:1px solid rgba(221,160,221,.08);border-right:1px solid rgba(221,160,221,.08);}
}

/* ---------- Header (edge-aligned functional) ---------- */
.w6f96-header{
  position:sticky;top:0;z-index:60;
  height:var(--w6f96-header-h);
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;
  padding:0 12px;
  background:rgba(22,22,22,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--w6f96-line);
}
.w6f96-brand{display:flex;align-items:center;gap:9px;min-width:0;}
.w6f96-brand img{
  width:38px;height:38px;border-radius:10px;
  object-fit:cover;
  border:1px solid rgba(221,160,221,.35);
  box-shadow:0 4px 10px rgba(221,160,221,.18);
  flex:0 0 auto;
}
.w6f96-brand-text{display:flex;flex-direction:column;line-height:1.1;min-width:0;}
.w6f96-brand-name{
  font-weight:800;font-size:15px;letter-spacing:.3px;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.w6f96-brand-tag{font-size:10.5px;color:var(--w6f96-plum);font-weight:600;}

.w6f96-head-actions{display:flex;align-items:center;gap:8px;}
.w6f96-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:36px;padding:0 14px;border-radius:999px;
  font-weight:700;font-size:13px;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.w6f96-btn:active{transform:scale(.95);}
.w6f96-btn-login{
  background:transparent;color:var(--w6f96-text);
  border:1px solid rgba(221,160,221,.5);
}
.w6f96-btn-login:hover{background:var(--w6f96-plum-soft);}
.w6f96-btn-register{
  background:linear-gradient(135deg,#DDA0DD 0%,#b87fb8 100%);
  color:#1a0f1a;font-weight:800;
  box-shadow:0 6px 16px rgba(221,160,221,.35);
}
.w6f96-btn-register:hover{filter:brightness(1.08);}

.w6f96-menu-btn{
  width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(221,160,221,.12);
  border:1px solid var(--w6f96-line);
  color:var(--w6f96-plum);
}
.w6f96-menu-btn span{display:block;width:16px;height:2px;background:currentColor;border-radius:2px;position:relative;}
.w6f96-menu-btn span::before,.w6f96-menu-btn span::after{
  content:"";position:absolute;left:0;width:16px;height:2px;background:currentColor;border-radius:2px;
}
.w6f96-menu-btn span::before{top:-5px;}
.w6f96-menu-btn span::after{top:5px;}

/* ---------- Slide-down compact route panel ---------- */
.w6f96-drawer{
  position:fixed;top:calc(var(--w6f96-header-h) + 4px);left:0;right:0;
  max-width:480px;margin:0 auto;
  background:linear-gradient(180deg,#222024 0%,#1b1a1d 100%);
  border:1px solid var(--w6f96-line);
  border-radius:0 0 18px 18px;
  padding:12px;
  z-index:55;
  transform:translateY(-12px);opacity:0;visibility:hidden;
  transition:transform .25s ease, opacity .25s ease, visibility .25s;
  box-shadow:var(--w6f96-shadow);
  max-height:70vh;overflow-y:auto;
}
.w6f96-drawer.w6f96-open{transform:translateY(0);opacity:1;visibility:visible;}
.w6f96-drawer-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
.w6f96-drawer-item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;padding:12px 6px;border-radius:12px;
  background:rgba(221,160,221,.06);
  border:1px solid rgba(221,160,221,.14);
  text-align:center;color:var(--w6f96-text);
  font-size:11.5px;font-weight:600;min-height:74px;
  transition:background .2s ease, transform .15s ease;
}
.w6f96-drawer-item:active{transform:scale(.96);}
.w6f96-drawer-item:hover{background:var(--w6f96-plum-soft);}
.w6f96-drawer-item svg{width:22px;height:22px;color:var(--w6f96-plum);}
.w6f96-drawer-item b{color:#fff;font-weight:700;}
.w6f96-drawer-promo{
  grid-column:1/-1;
  background:linear-gradient(135deg,rgba(221,160,221,.22),rgba(221,160,221,.05));
  flex-direction:row;justify-content:space-between;
  padding:12px 14px;min-height:auto;
}

.w6f96-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  z-index:54;opacity:0;visibility:hidden;transition:opacity .25s;
}
.w6f96-overlay.w6f96-open{opacity:1;visibility:visible;}

/* ---------- Main ---------- */
.w6f96-main{padding-bottom:calc(var(--w6f96-bottom-h) + 24px);}
.w6f96-section{padding:18px 14px 6px;}
.w6f96-eyebrow{
  font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;
  color:var(--w6f96-plum);margin:0 0 6px;
}
.w6f96-section-title{
  font-size:20px;font-weight:800;margin:0 0 4px;color:#fff;letter-spacing:.2px;
}
.w6f96-section-sub{color:var(--w6f96-text-muted);font-size:13px;margin:0 0 14px;}

/* ---------- Hero / Carousel ---------- */
.w6f96-hero{padding:14px 12px 4px;}
.w6f96-carousel{
  position:relative;border-radius:18px;overflow:hidden;
  border:1px solid var(--w6f96-line);
  box-shadow:var(--w6f96-shadow);
}
.w6f96-slides{display:flex;scroll-snap-type:x mandatory;overflow-x:auto;scroll-behavior:smooth;border-radius:18px;}
.w6f96-slides::-webkit-scrollbar{display:none;}
.w6f96-slides{scrollbar-width:none;}
.w6f96-slide{
  flex:0 0 100%;scroll-snap-align:center;position:relative;
  aspect-ratio:16/9;background:#111;
}
.w6f96-slide img{width:100%;height:100%;object-fit:cover;}
.w6f96-slide-cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 14px 12px;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));
  color:#fff;
}
.w6f96-slide-cap b{display:block;font-size:15px;font-weight:800;color:#fff;}
.w6f96-slide-cap span{font-size:11.5px;color:var(--w6f96-plum);font-weight:600;}
.w6f96-dots{
  position:absolute;bottom:8px;right:10px;display:flex;gap:5px;z-index:3;
}
.w6f96-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.4);transition:all .2s;}
.w6f96-dot.w6f96-active{background:var(--w6f96-plum);width:18px;border-radius:4px;}

/* ---------- Promo strip ---------- */
.w6f96-promo-strip{
  margin:12px 12px 0;
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;border-radius:14px;
  background:linear-gradient(120deg,rgba(221,160,221,.18),rgba(221,160,221,.04));
  border:1px solid var(--w6f96-line);
}
.w6f96-promo-strip .w6f96-ps-text{flex:1;min-width:0;}
.w6f96-promo-strip b{color:#fff;font-size:13.5px;display:block;}
.w6f96-promo-strip span{color:var(--w6f96-text-muted);font-size:11.5px;}

/* ---------- Category anchors ---------- */
.w6f96-cat-tabs{
  display:flex;gap:8px;overflow-x:auto;padding:6px 12px 2px;
  scrollbar-width:none;
}
.w6f96-cat-tabs::-webkit-scrollbar{display:none;}
.w6f96-cat-tab{
  flex:0 0 auto;padding:8px 14px;border-radius:999px;
  background:rgba(221,160,221,.08);
  border:1px solid var(--w6f96-line);
  color:var(--w6f96-text);font-size:12.5px;font-weight:700;
  display:flex;align-items:center;gap:6px;
}
.w6f96-cat-tab svg{width:14px;height:14px;color:var(--w6f96-plum);}
.w6f96-cat-tab:hover{background:var(--w6f96-plum-soft);}

/* ---------- Game grid (compact) ---------- */
.w6f96-game-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;padding:10px 12px 4px;
}
@media (min-width:360px){.w6f96-game-grid{grid-template-columns:repeat(4,1fr);gap:10px;}}
@media (min-width:400px){.w6f96-game-grid{grid-template-columns:repeat(5,1fr);}}
.w6f96-game-card{
  display:flex;flex-direction:column;align-items:center;
  background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.12);
  border-radius:12px;padding:6px 4px 8px;
  text-align:center;
  transition:transform .15s ease, border-color .2s ease, box-shadow .2s;
  position:relative;overflow:hidden;
}
.w6f96-game-card:hover{border-color:var(--w6f96-line);box-shadow:0 6px 14px rgba(0,0,0,.4);}
.w6f96-game-card:active{transform:scale(.95);}
.w6f96-game-thumb{
  width:100%;aspect-ratio:1/1;border-radius:9px;overflow:hidden;
  background:#111;margin-bottom:5px;
}
.w6f96-game-thumb img{width:100%;height:100%;object-fit:cover;}
.w6f96-game-name{
  font-size:10.5px;font-weight:600;color:var(--w6f96-text);
  line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:26px;
}
.w6f96-game-card .w6f96-ripple{
  position:absolute;border-radius:50%;background:rgba(221,160,221,.35);
  transform:scale(0);animation:w6f96-rip .6s ease-out;pointer-events:none;
}
@keyframes w6f96-rip{to{transform:scale(4);opacity:0;}}

.w6f96-cat-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 14px 6px;
}
.w6f96-cat-head h2{
  margin:0;font-size:16px;font-weight:800;color:#fff;
  display:flex;align-items:center;gap:8px;
}
.w6f96-cat-head h2 .w6f96-bar{
  display:inline-block;width:4px;height:16px;border-radius:2px;
  background:linear-gradient(180deg,#DDA0DD,#b87fb8);
}
.w6f96-cat-head .w6f96-cat-count{
  font-size:11px;color:var(--w6f96-text-muted);font-weight:600;
}

/* ---------- Info cards / compact modules ---------- */
.w6f96-cards-row{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
  padding:8px 12px;
}
.w6f96-info-card{
  background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.12);
  border-radius:14px;padding:14px;
}
.w6f96-info-card h3{
  margin:0 0 6px;font-size:14px;font-weight:800;color:#fff;
  display:flex;align-items:center;gap:7px;
}
.w6f96-info-card h3 svg{width:16px;height:16px;color:var(--w6f96-plum);}
.w6f96-info-card p{margin:0;font-size:12.5px;color:var(--w6f96-text-muted);}

/* ---------- RTP table ---------- */
.w6f96-rtp{
  margin:10px 12px 0;background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.14);
  border-radius:14px;padding:14px;
}
.w6f96-rtp h3{margin:0 0 10px;font-size:14.5px;color:#fff;font-weight:800;}
.w6f96-rtp-row{
  display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:8px;align-items:center;
  padding:8px 0;border-bottom:1px dashed rgba(221,160,221,.14);font-size:12.5px;
}
.w6f96-rtp-row:last-child{border-bottom:none;}
.w6f96-rtp-row .w6f96-rtp-name{color:#fff;font-weight:600;}
.w6f96-rtp-row .w6f96-rtp-bar{
  height:6px;border-radius:3px;background:rgba(255,255,255,.08);overflow:hidden;
}
.w6f96-rtp-row .w6f96-rtp-bar i{
  display:block;height:100%;background:linear-gradient(90deg,#DDA0DD,#b87fb8);border-radius:3px;
}
.w6f96-rtp-row .w6f96-rtp-val{color:var(--w6f96-plum);font-weight:700;text-align:right;}

/* ---------- Winners list ---------- */
.w6f96-winners{
  margin:10px 12px 0;background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.14);
  border-radius:14px;padding:14px;
}
.w6f96-winner{
  display:flex;align-items:center;gap:10px;
  padding:7px 0;border-bottom:1px dashed rgba(221,160,221,.14);
}
.w6f96-winner:last-child{border-bottom:none;}
.w6f96-winner .w6f96-w-ava{
  width:30px;height:30px;border-radius:50%;
  background:linear-gradient(135deg,#DDA0DD,#b87fb8);
  display:flex;align-items:center;justify-content:center;
  color:#1a0f1a;font-weight:800;font-size:12px;flex:0 0 auto;
}
.w6f96-winner .w6f96-w-name{flex:1;font-size:12.5px;color:#fff;font-weight:600;}
.w6f96-winner .w6f96-w-name small{display:block;color:var(--w6f96-text-muted);font-weight:400;font-size:11px;}
.w6f96-winner .w6f96-w-amt{color:var(--w6f96-plum);font-weight:800;font-size:13px;}

/* ---------- Achievements ---------- */
.w6f96-ach{
  margin:10px 12px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
.w6f96-ach-item{
  background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.12);
  border-radius:12px;padding:12px 8px;text-align:center;
}
.w6f96-ach-item .w6f96-ach-num{
  font-size:18px;font-weight:800;color:var(--w6f96-plum);
}
.w6f96-ach-item .w6f96-ach-lbl{
  font-size:10.5px;color:var(--w6f96-text-muted);margin-top:2px;
}

/* ---------- FAQ ---------- */
.w6f96-faq{margin:10px 12px 0;}
.w6f96-faq-item{
  background:var(--w6f96-bg-card);
  border:1px solid rgba(221,160,221,.12);
  border-radius:12px;margin-bottom:8px;overflow:hidden;
}
.w6f96-faq-q{
  width:100%;text-align:left;padding:12px 14px;
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  font-size:13px;font-weight:700;color:#fff;
}
.w6f96-faq-q .w6f96-faq-ico{
  width:20px;height:20px;flex:0 0 auto;border-radius:50%;
  background:var(--w6f96-plum-soft);color:var(--w6f96-plum);
  display:flex;align-items:center;justify-content:center;font-weight:800;
  transition:transform .2s;
}
.w6f96-faq-item.w6f96-open .w6f96-faq-ico{transform:rotate(45deg);}
.w6f96-faq-a{
  max-height:0;overflow:hidden;transition:max-height .3s ease;
  padding:0 14px;color:var(--w6f96-text-muted);font-size:12.5px;
}
.w6f96-faq-item.w6f96-open .w6f96-faq-a{max-height:240px;padding:0 14px 12px;}

/* ---------- Editorial / SEO text ---------- */
.w6f96-editorial{
  margin:12px;padding:18px 16px;
  background:linear-gradient(180deg,rgba(221,160,221,.07),rgba(221,160,221,.02));
  border:1px solid var(--w6f96-line);
  border-radius:16px;
}
.w6f96-editorial h2{
  margin:0 0 10px;font-size:18px;font-weight:800;color:#fff;
}
.w6f96-editorial h3{
  margin:14px 0 6px;font-size:14.5px;color:#fff;font-weight:700;
}
.w6f96-editorial p{margin:0 0 10px;font-size:13px;color:var(--w6f96-text-muted);}
.w6f96-editorial a{color:var(--w6f96-plum);border-bottom:1px dashed rgba(221,160,221,.5);}
.w6f96-editorial ul{padding-left:18px;margin:6px 0 10px;list-style:disc;}
.w6f96-editorial li{font-size:12.8px;color:var(--w6f96-text-muted);margin-bottom:4px;}

/* ---------- Extended footer ---------- */
.w6f96-ext-footer{
  margin:14px 12px 4px;
  background:var(--w6f96-bg-deep);
  border:1px solid rgba(221,160,221,.12);
  border-radius:16px;padding:16px;
}
.w6f96-ef-block{margin-bottom:16px;}
.w6f96-ef-block:last-child{margin-bottom:0;}
.w6f96-ef-block h4{
  margin:0 0 8px;font-size:12px;font-weight:800;color:var(--w6f96-plum);
  letter-spacing:1.2px;text-transform:uppercase;
}
.w6f96-ef-promos{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.w6f96-ef-promo{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:10px;
  background:rgba(221,160,221,.08);
  border:1px solid var(--w6f96-line);
  font-size:12px;font-weight:600;color:#fff;
}
.w6f96-ef-promo svg{width:16px;height:16px;color:var(--w6f96-plum);flex:0 0 auto;}
.w6f96-ef-brand{font-size:12.5px;color:var(--w6f96-text-muted);}
.w6f96-ef-brand b{color:#fff;}
.w6f96-ef-dir{
  display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;
}
.w6f96-ef-dir a{
  font-size:12px;color:var(--w6f96-text-muted);
  padding:4px 0;border-bottom:1px dashed rgba(221,160,221,.1);
}
.w6f96-ef-dir a:hover{color:var(--w6f96-plum);}
.w6f96-ef-disc{
  font-size:11px;color:#7d7a85;line-height:1.55;
  border-top:1px dashed rgba(221,160,221,.14);padding-top:10px;
}

/* ---------- Footer (base) ---------- */
.w6f96-footer{
  padding:18px 14px calc(var(--w6f96-bottom-h) + 18px);
  text-align:center;
  border-top:1px solid rgba(221,160,221,.1);
  margin-top:12px;
}
.w6f96-footer .w6f96-foot-brand{
  display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px;
}
.w6f96-footer .w6f96-foot-brand img{width:28px;height:28px;border-radius:8px;}
.w6f96-footer .w6f96-foot-brand b{color:#fff;font-size:14px;}
.w6f96-footer p{margin:0 0 4px;font-size:11.5px;color:#7d7a85;}

/* ---------- Bottom nav (brand-strong baseboard) ---------- */
.w6f96-bottom{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  max-width:480px;margin:0 auto;
  height:var(--w6f96-bottom-h);
  display:flex;align-items:stretch;justify-content:space-around;
  background:linear-gradient(180deg,rgba(28,27,31,.96),rgba(16,16,18,.98));
  backdrop-filter:blur(12px);
  border-top:1px solid var(--w6f96-line);
  box-shadow:0 -8px 22px rgba(0,0,0,.5);
  padding-bottom:env(safe-area-inset-bottom);
}
.w6f96-bottom-item{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;color:var(--w6f96-text-muted);font-size:10.5px;font-weight:600;
  position:relative;transition:color .2s ease;
  -webkit-user-select:none;user-select:none;
}
.w6f96-bottom-item svg{width:22px;height:22px;transition:transform .2s ease;}
.w6f96-bottom-item .w6f96-b-lbl{line-height:1;}
.w6f96-bottom-item.w6f96-active{color:var(--w6f96-plum);}
.w6f96-bottom-item.w6f96-active svg{
  transform:translateY(-2px);
  filter:drop-shadow(0 4px 8px rgba(221,160,221,.5));
}
.w6f96-bottom-item.w6f96-active .w6f96-b-lbl{color:#fff;}
.w6f96-bottom-item.w6f96-active::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:24px;height:3px;border-radius:0 0 4px 4px;
  background:linear-gradient(90deg,#DDA0DD,#b87fb8);
}
.w6f96-bottom-item:active{transform:scale(.92);}
.w6f96-bottom-item .w6f96-ripple{
  position:absolute;border-radius:50%;background:rgba(221,160,221,.3);
  transform:scale(0);animation:w6f96-rip .55s ease-out;pointer-events:none;
}

/* ---------- Helpers ---------- */
.w6f96-hidden{display:none !important;}
.w6f96-justify-row{display:flex;justify-content:space-between;align-items:center;}

/* Skip link */
.w6f96-skip{
  position:absolute;left:-999px;top:0;background:#fff;color:#000;
  padding:8px 12px;z-index:200;border-radius:0 0 8px 0;
}
.w6f96-skip:focus{left:0;}

/* Focus visibility */
:focus-visible{outline:2px solid var(--w6f96-plum);outline-offset:2px;border-radius:6px;}
