/* =========================================================
   3999bet apk - theme-67dfb0.css
   Mobile-first (320-430px) styling for 3999bet-apk.click
   Palette: #1B263B | #FDF5E6 | #40E0D0 | #008B8B
   CSS class prefix: vfb0-
   ========================================================= */

/* ----- Root design tokens ----- */
:root{
  --vfb0-bg:#1B263B;
  --vfb0-bg-2:#22324b;
  --vfb0-bg-3:#2c3e5a;
  --vfb0-paper:#FDF5E6;
  --vfb0-paper-2:#f6ecd6;
  --vfb0-teal:#40E0D0;
  --vfb0-teal-dark:#008B8B;
  --vfb0-teal-deep:#006d6d;
  --vfb0-text:#FDF5E6;
  --vfb0-text-muted:#b9c4d6;
  --vfb0-text-dark:#1B263B;
  --vfb0-line:rgba(253,245,230,.12);
  --vfb0-shadow:0 6px 18px rgba(0,0,0,.28);
  --vfb0-radius:14px;
  --vfb0-radius-sm:10px;
  --vfb0-gap:12px;
  --vfb0-header-h:54px;
  --vfb0-nav-h:62px;
  --vfb0-max:430px;
}

/* ----- Reset ----- */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:"Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,-apple-system,sans-serif;
  background:var(--vfb0-bg);
  color:var(--vfb0-text);
  line-height:1.55;
  font-size:15px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;border:0}
a{color:var(--vfb0-teal);text-decoration:none;transition:color .25s ease}
a:hover{color:#fff}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
ul,ol{list-style:none}

/* ----- App canvas (mobile only, centered on wider screens) ----- */
.vfb0-app{
  width:100%;
  max-width:var(--vfb0-max);
  margin:0 auto;
  background:linear-gradient(180deg,#1B263B 0%,#1a2538 40%,#16304a 100%);
  min-height:100vh;
  position:relative;
  box-shadow:0 0 40px rgba(0,0,0,.4);
}

/* =========================================================
   Header - tab-style top bar
   ========================================================= */
.vfb0-header{
  position:sticky;top:0;z-index:50;
  height:var(--vfb0-header-h);
  background:linear-gradient(90deg,#16233a 0%,#1d2c46 100%);
  border-bottom:2px solid var(--vfb0-teal-dark);
  display:flex;align-items:center;
  padding:0 10px;
  gap:8px;
}
.vfb0-brand{
  display:flex;align-items:center;gap:8px;
  flex:0 0 auto;
  min-width:0;
}
.vfb0-brand-icon{
  width:34px;height:34px;border-radius:8px;
  background:radial-gradient(circle at 30% 30%,var(--vfb0-teal),var(--vfb0-teal-dark));
  display:flex;align-items:center;justify-content:center;
  color:#06212a;font-weight:800;font-size:15px;
  box-shadow:0 2px 8px rgba(64,224,208,.35);
  flex-shrink:0;
}
.vfb0-brand-name{
  font-weight:800;color:var(--vfb0-paper);
  font-size:15px;line-height:1.1;letter-spacing:.3px;
  white-space:nowrap;
}
.vfb0-brand-name small{display:block;font-size:10px;font-weight:500;color:var(--vfb0-teal);letter-spacing:.5px}

/* Tab-style nav buttons */
.vfb0-tabs{
  display:flex;align-items:center;gap:4px;
  margin-left:auto;
}
.vfb0-tab{
  height:34px;padding:0 10px;
  border-radius:8px;
  font-size:12.5px;font-weight:600;
  color:var(--vfb0-paper);
  background:rgba(253,245,230,.06);
  border:1px solid transparent;
  display:inline-flex;align-items:center;gap:4px;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
  min-height:34px;
}
.vfb0-tab:hover{background:rgba(64,224,208,.15)}
.vfb0-tab--cta{
  background:linear-gradient(135deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  color:#06212a;font-weight:800;
}
.vfb0-tab--cta:hover{filter:brightness(1.08);color:#04161c}
.vfb0-tab--ghost{background:transparent;border-color:var(--vfb0-line)}
.vfb0-tab-icon{width:14px;height:14px;display:inline-block}

/* Menu trigger button */
.vfb0-menu-btn{
  width:34px;height:34px;border-radius:8px;
  background:rgba(253,245,230,.06);
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--vfb0-line);
  transition:background .25s ease;
}
.vfb0-menu-btn:hover{background:rgba(64,224,208,.15)}
.vfb0-menu-btn span{
  display:block;width:16px;height:2px;background:var(--vfb0-paper);
  position:relative;border-radius:2px;
}
.vfb0-menu-btn span::before,
.vfb0-menu-btn span::after{
  content:"";position:absolute;left:0;width:16px;height:2px;background:var(--vfb0-paper);border-radius:2px;
}
.vfb0-menu-btn span::before{top:-5px}
.vfb0-menu-btn span::after{top:5px}

/* Layered dropdown menu panel */
.vfb0-menu{
  position:absolute;top:calc(var(--vfb0-header-h) + 4px);
  left:8px;right:8px;
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius);
  box-shadow:var(--vfb0-shadow);
  padding:10px;
  z-index:60;
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s;
}
.vfb0-menu.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.vfb0-menu-section{margin-bottom:10px}
.vfb0-menu-section:last-child{margin-bottom:0}
.vfb0-menu-title{
  font-size:11px;text-transform:uppercase;letter-spacing:1px;
  color:var(--vfb0-teal);font-weight:700;
  padding:6px 4px;border-bottom:1px dashed var(--vfb0-line);
  margin-bottom:6px;
}
.vfb0-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.vfb0-menu-link{
  display:block;padding:9px 10px;
  background:rgba(253,245,230,.04);
  border:1px solid transparent;
  border-radius:8px;
  color:var(--vfb0-paper);
  font-size:12.5px;font-weight:500;
  transition:background .25s ease,border-color .25s ease,color .25s ease;
  min-height:44px;
  display:flex;align-items:center;gap:6px;
}
.vfb0-menu-link:hover{background:rgba(64,224,208,.14);border-color:rgba(64,224,208,.4);color:#fff}
.vfb0-menu-dot{width:6px;height:6px;border-radius:50%;background:var(--vfb0-teal);flex-shrink:0}

/* =========================================================
   Layout helpers
   ========================================================= */
.vfb0-main{padding:14px 12px calc(var(--vfb0-nav-h) + 24px)}
.vfb0-section{margin-bottom:22px}
.vfb0-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;padding-bottom:6px;
  border-bottom:1px solid var(--vfb0-line);
}
.vfb0-section-title{
  font-size:17px;font-weight:800;color:var(--vfb0-paper);
  position:relative;padding-left:12px;
}
.vfb0-section-title::before{
  content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;
  background:linear-gradient(180deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  border-radius:4px;
}
.vfb0-section-more{font-size:12px;color:var(--vfb0-teal);font-weight:600}

/* =========================================================
   Hero carousel
   ========================================================= */
.vfb0-hero{
  position:relative;border-radius:var(--vfb0-radius);overflow:hidden;
  box-shadow:var(--vfb0-shadow);margin-bottom:18px;
  background:#000;
}
.vfb0-hero-track{
  display:flex;transition:transform .45s cubic-bezier(.25,.8,.35,1);
  will-change:transform;
}
.vfb0-hero-slide{
  flex:0 0 100%;position:relative;cursor:pointer;
}
.vfb0-hero-slide img{width:100%;height:190px;object-fit:cover;display:block}
.vfb0-hero-overlay{
  position:absolute;left:0;right:0;bottom:0;
  padding:14px 12px 12px;
  background:linear-gradient(0deg,rgba(8,15,28,.92) 10%,rgba(8,15,28,.45) 70%,transparent 100%);
  color:var(--vfb0-paper);
}
.vfb0-hero-title{font-size:16px;font-weight:800;margin-bottom:4px;color:#fff}
.vfb0-hero-sub{font-size:12px;color:var(--vfb0-teal);font-weight:600;margin-bottom:8px}
.vfb0-hero-cta{
  display:inline-block;padding:7px 14px;border-radius:20px;
  background:linear-gradient(135deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  color:#06212a;font-weight:800;font-size:12.5px;
  transition:filter .25s ease;
}
.vfb0-hero-cta:hover{filter:brightness(1.1)}
.vfb0-hero-dots{
  position:absolute;bottom:8px;right:12px;display:flex;gap:5px;z-index:2;
}
.vfb0-hero-dot{
  width:7px;height:7px;border-radius:50%;
  background:rgba(253,245,230,.4);transition:background .25s ease,width .25s ease;
}
.vfb0-hero-dot.active{background:var(--vfb0-teal);width:18px;border-radius:4px}

/* =========================================================
   Category strip
   ========================================================= */
.vfb0-cats{
  display:grid;grid-template-columns:repeat(5,1fr);
  gap:6px;margin-bottom:18px;
}
.vfb0-cat{
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius-sm);
  padding:10px 4px;text-align:center;
  transition:background .25s ease,transform .25s ease,border-color .25s ease;
  min-height:64px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
}
.vfb0-cat:hover{background:var(--vfb0-bg-3);border-color:rgba(64,224,208,.45);transform:translateY(-2px)}
.vfb0-cat-emoji{
  width:28px;height:28px;border-radius:8px;
  background:linear-gradient(135deg,rgba(64,224,208,.2),rgba(0,139,139,.25));
  display:flex;align-items:center;justify-content:center;
  color:var(--vfb0-teal);font-size:16px;
}
.vfb0-cat-label{font-size:11px;color:var(--vfb0-paper);font-weight:600;line-height:1.1}

/* =========================================================
   Promo banner row
   ========================================================= */
.vfb0-promo-row{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;
}
.vfb0-promo-card{
  background:linear-gradient(135deg,var(--vfb0-teal-dark),var(--vfb0-bg-3));
  border:1px solid rgba(64,224,208,.3);
  border-radius:var(--vfb0-radius-sm);
  padding:12px;color:var(--vfb0-paper);
  position:relative;overflow:hidden;
  min-height:72px;
  display:flex;flex-direction:column;justify-content:center;
  cursor:pointer;
  transition:transform .25s ease,box-shadow .25s ease;
}
.vfb0-promo-card:hover{transform:translateY(-2px);box-shadow:var(--vfb0-shadow)}
.vfb0-promo-card.alt{background:linear-gradient(135deg,#5a2d3a,#2c3e5a)}
.vfb0-promo-card-title{font-size:14px;font-weight:800;margin-bottom:3px;color:#fff}
.vfb0-promo-card-text{font-size:11.5px;color:rgba(253,245,230,.85);line-height:1.35}
.vfb0-promo-card-tag{
  position:absolute;top:6px;right:6px;
  background:var(--vfb0-teal);color:#06212a;
  font-size:9px;font-weight:800;padding:2px 6px;border-radius:6px;
}

/* =========================================================
   Game grid
   ========================================================= */
.vfb0-games{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
@media (min-width:360px){.vfb0-games{gap:9px}}
@media (min-width:400px){.vfb0-games{grid-template-columns:repeat(5,1fr)}}
.vfb0-game{
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius-sm);
  overflow:hidden;
  cursor:pointer;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
  display:flex;flex-direction:column;
}
.vfb0-game:hover{transform:translateY(-3px);border-color:rgba(64,224,208,.5);box-shadow:0 8px 18px rgba(0,0,0,.3)}
.vfb0-game-thumb{
  position:relative;aspect-ratio:1/1;background:#0e1828;overflow:hidden;
}
.vfb0-game-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.vfb0-game:hover .vfb0-game-thumb img{transform:scale(1.06)}
.vfb0-game-badge{
  position:absolute;top:4px;left:4px;
  background:rgba(0,139,139,.92);color:#fff;
  font-size:9px;font-weight:700;padding:2px 5px;border-radius:5px;
  text-transform:uppercase;letter-spacing:.3px;
}
.vfb0-game-name{
  padding:5px 6px 6px;
  font-size:11px;color:var(--vfb0-paper);font-weight:600;
  text-align:center;line-height:1.2;
  min-height:30px;
  display:flex;align-items:center;justify-content:center;
  word-break:break-word;
}

/* Category subheading inside game list */
.vfb0-cat-head{
  display:flex;align-items:center;gap:8px;
  margin:18px 0 10px;
}
.vfb0-cat-head-icon{
  width:26px;height:26px;border-radius:7px;
  background:linear-gradient(135deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  display:flex;align-items:center;justify-content:center;color:#06212a;font-size:14px;font-weight:800;
}
.vfb0-cat-head-title{font-size:15px;font-weight:800;color:var(--vfb0-paper)}
.vfb0-cat-head-sub{font-size:11px;color:var(--vfb0-text-muted);margin-left:auto}

/* =========================================================
   Features / testimonials / guides blocks
   ========================================================= */
.vfb0-features{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
}
.vfb0-feature{
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius-sm);
  padding:12px;
  transition:background .25s ease,border-color .25s ease;
}
.vfb0-feature:hover{background:var(--vfb0-bg-3);border-color:rgba(64,224,208,.35)}
.vfb0-feature-ico{
  width:30px;height:30px;border-radius:8px;
  background:rgba(64,224,208,.15);color:var(--vfb0-teal);
  display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:800;
  margin-bottom:6px;
}
.vfb0-feature h3{font-size:13.5px;color:var(--vfb0-paper);margin-bottom:4px;font-weight:700}
.vfb0-feature p{font-size:12px;color:var(--vfb0-text-muted);line-height:1.45}

/* Testimonials */
.vfb0-reviews{display:flex;flex-direction:column;gap:8px}
.vfb0-review{
  background:var(--vfb0-bg-2);
  border-left:3px solid var(--vfb0-teal);
  border-radius:var(--vfb0-radius-sm);
  padding:10px 12px;
}
.vfb0-review-head{display:flex;align-items:center;gap:8px;margin-bottom:5px}
.vfb0-review-avatar{
  width:28px;height:28px;border-radius:50%;
  background:linear-gradient(135deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  color:#06212a;font-weight:800;font-size:12px;
  display:flex;align-items:center;justify-content:center;
}
.vfb0-review-name{font-size:12.5px;color:var(--vfb0-paper);font-weight:700}
.vfb0-review-stars{color:#ffd166;font-size:11px;margin-left:auto}
.vfb0-review-text{font-size:12px;color:var(--vfb0-text-muted);line-height:1.5}

/* Guide list */
.vfb0-guide{
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius-sm);
  padding:12px;margin-bottom:8px;
}
.vfb0-guide h3{font-size:14px;color:var(--vfb0-paper);margin-bottom:5px;font-weight:700}
.vfb0-guide p{font-size:12.5px;color:var(--vfb0-text-muted);line-height:1.55;margin-bottom:6px}
.vfb0-guide ol{padding-left:18px;list-style:decimal}
.vfb0-guide li{font-size:12.5px;color:var(--vfb0-paper);margin-bottom:3px;line-height:1.5}

/* Inline promo anchor inside text */
.vfb0-inline-cta{
  color:var(--vfb0-teal);font-weight:700;cursor:pointer;
  border-bottom:1px dashed rgba(64,224,208,.5);
  transition:color .25s ease;
}
.vfb0-inline-cta:hover{color:#fff}

/* =========================================================
   Extended footer (homepage only)
   ========================================================= */
.vfb0-ext{
  background:var(--vfb0-bg-2);
  border:1px solid var(--vfb0-line);
  border-radius:var(--vfb0-radius);
  padding:14px;margin-bottom:18px;
}
.vfb0-ext-group{margin-bottom:14px}
.vfb0-ext-group:last-child{margin-bottom:0}
.vfb0-ext-title{
  font-size:13px;color:var(--vfb0-teal);font-weight:800;
  margin-bottom:8px;letter-spacing:.3px;
}
.vfb0-ext-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.vfb0-ext-list a{
  display:block;padding:8px 10px;
  background:rgba(253,245,230,.04);
  border-radius:8px;
  color:var(--vfb0-paper);font-size:12px;font-weight:500;
  transition:background .25s ease,color .25s ease;
  min-height:36px;
  display:flex;align-items:center;
}
.vfb0-ext-list a:hover{background:rgba(64,224,208,.14);color:#fff}
.vfb0-ext-promos{
  display:grid;grid-template-columns:1fr 1fr;gap:6px;
}
.vfb0-ext-promo{
  display:block;padding:9px 10px;
  background:linear-gradient(135deg,rgba(64,224,208,.15),rgba(0,139,139,.2));
  border:1px solid rgba(64,224,208,.3);
  border-radius:8px;
  color:var(--vfb0-paper);font-size:11.5px;font-weight:600;
  text-align:center;
  transition:transform .25s ease,background .25s ease;
  min-height:40px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.vfb0-ext-promo:hover{transform:translateY(-2px);background:linear-gradient(135deg,rgba(64,224,208,.3),rgba(0,139,139,.3));color:#fff}
.vfb0-ext-brand-text{
  font-size:12.5px;color:var(--vfb0-text-muted);line-height:1.6;
}
.vfb0-ext-disclaimer{
  font-size:11px;color:var(--vfb0-text-muted);
  border-top:1px dashed var(--vfb0-line);
  padding-top:8px;line-height:1.5;
}

/* =========================================================
   Footer (copyright)
   ========================================================= */
.vfb0-footer{
  text-align:center;
  padding:10px 14px calc(var(--vfb0-nav-h) + 14px);
  font-size:11px;color:var(--vfb0-text-muted);
  border-top:1px solid var(--vfb0-line);
  background:rgba(0,0,0,.15);
}
.vfb0-footer a{color:var(--vfb0-text-muted);margin:0 4px}
.vfb0-footer a:hover{color:var(--vfb0-teal)}

/* =========================================================
   Mobile bottom nav - center raised
   ========================================================= */
.vfb0-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:70;
  display:flex;justify-content:center;
  pointer-events:none;
}
.vfb0-nav-inner{
  width:100%;max-width:var(--vfb0-max);
  height:var(--vfb0-nav-h);
  background:linear-gradient(180deg,#1d2c46,#15202f);
  border-top:1px solid var(--vfb0-line);
  box-shadow:0 -4px 18px rgba(0,0,0,.4);
  display:flex;align-items:flex-end;justify-content:space-around;
  padding:0 4px 6px;
  pointer-events:auto;
  position:relative;
}
.vfb0-nav-item{
  flex:1;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  height:54px;
  color:var(--vfb0-text-muted);
  font-size:10px;font-weight:600;
  position:relative;
  transition:color .25s ease;
  gap:2px;
  padding:4px 2px 0;
}
.vfb0-nav-item:hover{color:var(--vfb0-paper)}
.vfb0-nav-item.active{color:var(--vfb0-teal)}
.vfb0-nav-item.active::after{
  content:"";position:absolute;top:2px;left:50%;transform:translateX(-50%);
  width:22px;height:2px;border-radius:2px;
  background:var(--vfb0-teal);
}
.vfb0-nav-ico{
  width:24px;height:24px;
  display:flex;align-items:center;justify-content:center;
  color:inherit;
}
.vfb0-nav-ico svg{width:22px;height:22px;display:block;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Center raised button */
.vfb0-nav-item.center{
  transform:translateY(-14px);
  background:linear-gradient(135deg,var(--vfb0-teal),var(--vfb0-teal-dark));
  border-radius:50%;
  width:54px;height:54px;flex:0 0 auto;
  box-shadow:0 6px 16px rgba(64,224,208,.45);
  color:#06212a;
  align-items:center;justify-content:center;
  margin-top:-10px;
  border:3px solid #16233a;
}
.vfb0-nav-item.center .vfb0-nav-ico svg{stroke:#06212a;stroke-width:2}
.vfb0-nav-item.center .vfb0-nav-label{display:none}
.vfb0-nav-item.center:hover{color:#06212a;filter:brightness(1.08)}
.vfb0-nav-item.center::after{display:none}
.vfb0-nav-label{font-size:9.5px;letter-spacing:.2px;line-height:1}

/* Toast for promo clicks */
.vfb0-toast{
  position:fixed;left:50%;bottom:calc(var(--vfb0-nav-h) + 14px);
  transform:translateX(-50%) translateY(20px);
  background:rgba(0,139,139,.95);color:#fff;
  padding:9px 16px;border-radius:20px;
  font-size:12px;font-weight:600;
  box-shadow:var(--vfb0-shadow);
  opacity:0;visibility:hidden;
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
  z-index:90;max-width:90%;text-align:center;
}
.vfb0-toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}

/* Utility */
.vfb0-hidden{display:none !important}
.vfb0-prose{font-size:13px;color:var(--vfb0-text-muted);line-height:1.7}
.vfb0-prose p{margin-bottom:8px}
.vfb0-prose strong{color:var(--vfb0-paper)}
.vfb0-chips{display:flex;flex-wrap:wrap;gap:6px}
.vfb0-chip{
  background:rgba(64,224,208,.12);
  color:var(--vfb0-teal);
  border:1px solid rgba(64,224,208,.3);
  padding:4px 10px;border-radius:14px;
  font-size:11px;font-weight:600;
}

/* Focus styles for accessibility */
.vfb0-tab:focus-visible,
.vfb0-menu-link:focus-visible,
.vfb0-nav-item:focus-visible,
.vfb0-game:focus-visible,
.vfb0-ext-promo:focus-visible{
  outline:2px solid var(--vfb0-teal);outline-offset:2px;
}
