/* ============================================================
   malbet.homes - Mobile-first gaming website stylesheet
   Prefix: v160-  |  Language: bn-BD  |  Canvas: 320-430px
   ============================================================ */

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

:root{
  --v160-bg:        #0E1621;
  --v160-bg-2:      #16213280;
  --v160-surface:   #1B2940;
  --v160-surface-2: #243353;
  --v160-card:      #182338;
  --v160-text:      #F4F7FB;
  --v160-text-soft: #B7C2D6;
  --v160-muted:     #7C8AA6;
  --v160-accent:    #FFB347;
  --v160-accent-2:  #FFAA00;
  --v160-accent-d:  #E07F00;
  --v160-line:      rgba(255,255,255,.08);
  --v160-shadow:    0 8px 24px rgba(0,0,0,.35);
  --v160-radius:    14px;
  --v160-radius-sm: 10px;
}

html,body{
  background: var(--v160-bg);
  color: var(--v160-text);
  font-family: "Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,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: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255,179,71,.18), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(255,170,0,.08), transparent 55%),
    var(--v160-bg);
  overflow-x: hidden;
  padding-bottom: 76px; /* room for fixed bottom nav */
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul,ol{ list-style: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Skip / utilities ---------- */
.v160-container{ width: 100%; padding: 0 14px; }
.v160-section{ padding: 22px 0; }
.v160-section-title{
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--v160-text);
  margin-bottom: 12px;
}
.v160-section-title::before{
  content: ""; width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, var(--v160-accent), var(--v160-accent-2));
}
.v160-section-title small{
  font-size: 12px; font-weight: 500; color: var(--v160-muted); margin-left: auto;
}
.v160-pill{
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,179,71,.14); color: var(--v160-accent);
  font-size: 11px; font-weight: 600; letter-spacing: .2px;
}

/* ---------- Header ---------- */
.v160-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,22,33,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v160-line);
}
.v160-header-inner{
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
}
.v160-brand{
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
}
.v160-brand-logo{
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--v160-accent), var(--v160-accent-2));
  padding: 2px; flex-shrink: 0;
}
.v160-brand-logo img{ width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.v160-brand-text{ display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.v160-brand-name{
  font-size: 17px; font-weight: 800; letter-spacing: .3px;
  background: linear-gradient(90deg, #fff, var(--v160-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v160-brand-sub{ font-size: 10px; color: var(--v160-muted); }

.v160-header-actions{ display: flex; align-items: center; gap: 7px; }
.v160-btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; min-height: 36px; border-radius: 9px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: transform .12s ease, filter .12s ease, background .2s;
}
.v160-btn:active{ transform: translateY(1px) scale(.98); }
.v160-btn-ghost{
  background: rgba(255,255,255,.06);
  color: var(--v160-text);
  border: 1px solid var(--v160-line);
}
.v160-btn-primary{
  background: linear-gradient(135deg, var(--v160-accent-2), var(--v160-accent));
  color: #1a1206;
  box-shadow: 0 4px 14px rgba(255,170,0,.35);
}
.v160-btn-block{
  width: 100%; padding: 12px; font-size: 14px; min-height: 44px;
}

/* ---------- Slide-down nav menu ---------- */
.v160-menu-toggle{
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--v160-line);
}
.v160-menu-toggle span{
  display: block; width: 16px; height: 2px; background: var(--v160-text);
  position: relative;
}
.v160-menu-toggle span::before,
.v160-menu-toggle span::after{
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--v160-text);
}
.v160-menu-toggle span::before{ top: -5px; }
.v160-menu-toggle span::after{  top: 5px; }

.v160-nav{
  max-height: 0; overflow: hidden;
  background: var(--v160-surface);
  border-bottom: 1px solid var(--v160-line);
  transition: max-height .25s ease;
}
.v160-nav.v160-open{ max-height: 360px; }
.v160-nav-grid{
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 8px; padding: 12px 14px;
}
.v160-nav-grid a{
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--v160-line);
  font-size: 13px; font-weight: 600; color: var(--v160-text-soft);
}
.v160-nav-grid a:active{ background: rgba(255,179,71,.12); color: var(--v160-accent); }
.v160-nav-grid a .v160-dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--v160-accent);
}

/* ---------- Hero ---------- */
.v160-hero{
  position: relative; padding: 16px 14px 18px;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(135deg, rgba(255,170,0,.16), rgba(255,179,71,.05) 55%, transparent),
    linear-gradient(180deg, #1B2940, #0E1621);
  overflow: hidden;
}
.v160-hero::before{
  content: ""; position: absolute; top: -60px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,71,.25), transparent 70%);
}
.v160-hero-eyebrow{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--v160-accent);
  background: rgba(255,179,71,.12); padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.v160-hero h1{
  font-size: 24px; font-weight: 800; line-height: 1.3; margin-bottom: 8px;
}
.v160-hero h1 em{ font-style: normal; color: var(--v160-accent); }
.v160-hero p{
  font-size: 13.5px; color: var(--v160-text-soft); margin-bottom: 14px;
}
.v160-hero-cta{ display: flex; gap: 8px; }
.v160-hero-cta .v160-btn{ flex: 1; }
.v160-hero-stats{
  margin-top: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.v160-stat{
  background: rgba(0,0,0,.25); border: 1px solid var(--v160-line);
  padding: 8px; border-radius: 10px; text-align: center;
}
.v160-stat b{ display: block; font-size: 16px; color: var(--v160-accent); font-weight: 800; }
.v160-stat span{ font-size: 10.5px; color: var(--v160-muted); }

/* ---------- Carousel ---------- */
.v160-carousel{
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 14px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.v160-carousel::-webkit-scrollbar{ height: 3px; }
.v160-carousel::-webkit-scrollbar-thumb{ background: var(--v160-accent); border-radius: 3px; }
.v160-banner{
  flex: 0 0 88%; scroll-snap-align: center;
  height: 130px; border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: var(--v160-shadow);
}
.v160-banner img{ width: 100%; height: 100%; object-fit: cover; }
.v160-banner-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,22,33,.85), transparent 70%);
  display: flex; flex-direction: column; justify-content: center; padding: 14px;
}
.v160-banner-overlay b{ font-size: 16px; color: #fff; }
.v160-banner-overlay span{ font-size: 12px; color: var(--v160-accent); margin-top: 2px; }

/* ---------- Category chips ---------- */
.v160-chips{
  display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 6px;
  -webkit-overflow-scrolling: touch;
}
.v160-chip{
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--v160-line);
  color: var(--v160-text-soft); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; transition: all .15s;
}
.v160-chip.v160-active{
  background: linear-gradient(135deg, var(--v160-accent-2), var(--v160-accent));
  color: #1a1206; border-color: transparent;
}

/* ---------- Game grid ---------- */
.v160-grid{
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
@media (min-width: 360px){ .v160-grid{ grid-template-columns: repeat(4,1fr); } }
.v160-card{
  background: var(--v160-card);
  border: 1px solid var(--v160-line);
  border-radius: 12px; overflow: hidden;
  transition: transform .12s, box-shadow .15s;
  position: relative;
}
.v160-card:active{ transform: scale(.97); box-shadow: var(--v160-shadow); }
.v160-card-thumb{
  position: relative; aspect-ratio: 1/1; background: #0b1322;
}
.v160-card-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.v160-card-tag{
  position: absolute; top: 5px; left: 5px;
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px;
  background: linear-gradient(135deg, var(--v160-accent-2), var(--v160-accent));
  color: #1a1206;
}
.v160-card-play{
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(14,22,33,.55); opacity: 0; transition: opacity .15s;
}
.v160-card:hover .v160-card-play,
.v160-card:active .v160-card-play{ opacity: 1; }
.v160-card-play span{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--v160-accent); color: #1a1206;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.v160-card-name{
  padding: 6px 7px 8px; font-size: 11.5px; font-weight: 600;
  color: var(--v160-text-soft); line-height: 1.3;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Feature blocks ---------- */
.v160-feature{
  display: flex; gap: 12px; padding: 14px;
  background: var(--v160-card); border: 1px solid var(--v160-line);
  border-radius: 14px; margin-bottom: 10px;
}
.v160-feature-ico{
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px;
  background: linear-gradient(135deg, rgba(255,170,0,.25), rgba(255,179,71,.1));
  display: grid; place-items: center; font-size: 20px;
}
.v160-feature h3{ font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.v160-feature p{ font-size: 12.5px; color: var(--v160-text-soft); }
.v160-feature a{ color: var(--v160-accent); font-weight: 700; }

/* ---------- Promo / app band ---------- */
.v160-band{
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,170,0,.2), rgba(255,179,71,.06)),
    linear-gradient(180deg, #243353, #182338);
  border: 1px solid rgba(255,179,71,.25);
}
.v160-band h3{ font-size: 16px; margin-bottom: 4px; }
.v160-band p{ font-size: 12.5px; color: var(--v160-text-soft); margin-bottom: 10px; }

/* ---------- SEO content ---------- */
.v160-prose{
  background: var(--v160-card); border: 1px solid var(--v160-line);
  border-radius: 14px; padding: 16px;
}
.v160-prose h2{ font-size: 16.5px; margin: 14px 0 6px; color: var(--v160-text); }
.v160-prose h2:first-child{ margin-top: 0; }
.v160-prose h3{ font-size: 14px; margin: 10px 0 4px; color: var(--v160-accent); }
.v160-prose p{ font-size: 13.2px; color: var(--v160-text-soft); margin-bottom: 8px; }
.v160-prose strong{ color: var(--v160-text); }
.v160-prose ul{ padding-left: 18px; list-style: disc; margin-bottom: 8px; }
.v160-prose ul li{ font-size: 13px; color: var(--v160-text-soft); margin-bottom: 3px; }

/* ---------- FAQ ---------- */
.v160-faq{ border: 1px solid var(--v160-line); border-radius: 12px; overflow: hidden; }
.v160-faq-item{ border-bottom: 1px solid var(--v160-line); }
.v160-faq-item:last-child{ border-bottom: none; }
.v160-faq-q{
  width: 100%; text-align: left; padding: 12px 14px;
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 700; color: var(--v160-text);
}
.v160-faq-q .v160-ico{
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,179,71,.16); color: var(--v160-accent);
  display: grid; place-items: center; font-size: 14px; transition: transform .2s;
}
.v160-faq-item.v160-open .v160-faq-q .v160-ico{ transform: rotate(45deg); }
.v160-faq-a{
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 14px;
}
.v160-faq-item.v160-open .v160-faq-a{ max-height: 240px; padding: 0 14px 12px; }
.v160-faq-a p{ font-size: 12.8px; color: var(--v160-text-soft); }

/* ---------- Footer ---------- */
.v160-footer{
  background: #0A1119; border-top: 1px solid var(--v160-line);
  padding: 22px 14px 16px; margin-top: 18px;
}
.v160-footer h4{
  font-size: 13px; color: var(--v160-accent); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .5px;
}
.v160-footer-links{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 14px; }
.v160-footer-links a{ font-size: 12.5px; color: var(--v160-text-soft); padding: 4px 0; }
.v160-footer-links a:active{ color: var(--v160-accent); }
.v160-footer-desc{ font-size: 12.2px; color: var(--v160-muted); margin-bottom: 12px; }
.v160-footer-copy{
  font-size: 11px; color: var(--v160-muted); text-align: center;
  border-top: 1px solid var(--v160-line); padding-top: 12px;
}

/* ---------- Bottom navigation ---------- */
.v160-bottom-nav{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: 430px; margin: 0 auto;
  background: rgba(10,17,25,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--v160-line);
  display: grid; grid-template-columns: repeat(5,1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,.4);
}
.v160-nav-btn{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 4px 2px; min-height: 48px; border-radius: 10px;
  color: var(--v160-muted); position: relative;
  font-size: 10px; font-weight: 600; transition: color .15s;
}
.v160-nav-btn .v160-ico-wrap{
  width: 26px; height: 26px; display: grid; place-items: center;
}
.v160-nav-btn .v160-ico-wrap svg{ width: 22px; height: 22px; }
.v160-nav-btn.v160-active{ color: var(--v160-accent); }
.v160-nav-btn.v160-active .v160-ico-wrap{
  background: rgba(255,179,71,.14); border-radius: 8px;
}
.v160-nav-btn.v160-promo{
  color: #1a1206;
}
.v160-nav-btn.v160-promo .v160-ico-wrap{
  background: linear-gradient(135deg, var(--v160-accent-2), var(--v160-accent));
  border-radius: 50%; width: 38px; height: 38px; margin-top: -10px;
  box-shadow: 0 4px 12px rgba(255,170,0,.4);
}
.v160-nav-btn.v160-promo .v160-ico-wrap svg{ width: 20px; height: 20px; }

/* ---------- Misc ---------- */
.v160-hide{ display: none !important; }
.v160-text-accent{ color: var(--v160-accent); }
.v160-divider{ height: 1px; background: var(--v160-line); margin: 14px 0; }

/* Larger screens keep mobile canvas */
@media (min-width: 431px){
  body{ box-shadow: 0 0 40px rgba(0,0,0,.5); }
}
