/*!
 * 6777 bad apk - style.css
 * Mobile-first (max-width: 430px) BD Bangla gaming site.
 * Palette: #0E1621 / #4A4A4A / #696969 / #808080 / #2E8B57
 * All custom classes use the s064- prefix.
 */

:root {
  --s064-bg: #0E1621;
  --s064-bg-2: #14202e;
  --s064-card: #1a2838;
  --s064-line: #25364a;
  --s064-text: #f2f5f8;
  --s064-muted: #b7c2cf;
  --s064-gray: #808080;
  --s064-gray-d: #696969;
  --s064-gray-2: #4A4A4A;
  --s064-green: #2E8B57;
  --s064-green-d: #246e46;
  --s064-green-l: #3fb678;
  --s064-gold: #f5c451;
  --s064-shadow: 0 6px 18px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--s064-bg);
  color: var(--s064-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s064-green-l); text-decoration: none; }
a:hover, a:focus { color: var(--s064-green-l); text-decoration: underline; }

/* ---------- Layout container (mobile-first, 430px) ---------- */
.s064-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--s064-bg);
  min-height: 100vh;
}

/* ---------- Header ---------- */
.s064-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #0b121b 0%, #0E1621 100%);
  border-bottom: 1px solid var(--s064-line);
}
.s064-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--s064-text);
  flex: 0 0 auto;
}
.s064-logo img { width: 30px; height: 30px; border-radius: 7px; }
.s064-logo span { color: var(--s064-green-l); }
.s064-logo small { display:block; font-size:1rem; color: var(--s064-muted); font-weight: 500; }

.s064-header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.s064-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.s064-btn:active { transform: scale(.96); }
.s064-btn-primary { background: linear-gradient(135deg, var(--s064-green-l), var(--s064-green)); color: #06150d; box-shadow: 0 4px 12px rgba(46,139,87,.35); }
.s064-btn-primary:hover { background: linear-gradient(135deg, var(--s064-green-l), var(--s064-green-d)); text-decoration: none; color: #06150d; }
.s064-btn-ghost { background: rgba(255,255,255,.06); color: var(--s064-text); border: 1px solid var(--s064-line); }
.s064-btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; color: var(--s064-text); }
.s064-btn-block { display:flex; width:100%; }

.s064-icon-btn {
  display:inline-flex; align-items:center; justify-content:center;
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.06); border:1px solid var(--s064-line);
  color: var(--s064-text); cursor:pointer;
}
.s064-icon-btn:hover { background: rgba(255,255,255,.12); }

/* ---------- Mobile / expandable menu ---------- */
#s064-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 80%; max-width: 320px;
  height: 100%;
  background: var(--s064-bg-2);
  border-right: 1px solid var(--s064-line);
  transform: translateX(-105%);
  transition: transform .25s ease;
  z-index: 9999;
  padding: 18px 14px 40px;
  overflow-y: auto;
}
#s064-mobile-menu.s064-menu-open { transform: translateX(0); box-shadow: var(--s064-shadow); }
.s064-menu-head { display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom:1px solid var(--s064-line); margin-bottom:10px; }
.s064-menu-head img { width:32px; height:32px; border-radius:8px; }
.s064-menu-title { font-weight: 800; font-size: 1.7rem; }
.s064-menu-section-title { font-size:1.2rem; text-transform:uppercase; letter-spacing:.08em; color: var(--s064-gray); margin:14px 4px 6px; }
.s064-menu a {
  display:block;
  padding: 12px 12px;
  border-radius: 9px;
  color: var(--s064-text);
  font-size: 1.4rem;
  border: 1px solid transparent;
}
.s064-menu a:hover { background: rgba(46,139,87,.15); border-color: var(--s064-line); text-decoration:none; }
.s064-menu a i { width: 22px; text-align:center; margin-right: 8px; color: var(--s064-green-l); }

#s064-menu-overlay {
  position: fixed; inset:0;
  background: rgba(0,0,0,.55);
  opacity:0; visibility:hidden;
  transition: opacity .2s ease, visibility .2s;
  z-index: 9998;
}
#s064-menu-overlay.s064-menu-open { opacity:1; visibility:visible; }

/* ---------- Search bar ---------- */
#s064-search-bar {
  display:none;
  padding: 8px 12px;
  background: var(--s064-bg-2);
  border-bottom: 1px solid var(--s064-line);
}
#s064-search-bar.s064-search-open { display:block; }
#s064-search-bar input {
  width:100%;
  padding: 10px 12px;
  border-radius: 9px;
  border:1px solid var(--s064-line);
  background: #0b121b;
  color: var(--s064-text);
  font-size: 1.4rem;
}

/* ---------- Hero / banner ---------- */
.s064-hero {
  position: relative;
  padding: 22px 14px 26px;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(46,139,87,.35) 0%, rgba(46,139,87,0) 55%),
    linear-gradient(180deg, #10202f 0%, #0E1621 100%);
  border-bottom: 1px solid var(--s064-line);
  overflow: hidden;
}
.s064-hero h1 {
  margin: 0 0 8px;
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 800;
}
.s064-hero h1 b { color: var(--s064-gold); }
.s064-hero p { margin: 0 0 14px; color: var(--s064-muted); font-size: 1.4rem; }
.s064-hero-cta { display:flex; gap:10px; flex-wrap:wrap; }
.s064-hero-stats {
  display:flex; gap: 8px; margin-top: 16px; flex-wrap: wrap;
}
.s064-stat {
  flex: 1 1 30%;
  min-width: 90px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--s064-line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align:center;
}
.s064-stat b { display:block; font-size:1.7rem; color: var(--s064-green-l); }
.s064-stat small { color: var(--s064-muted); font-size: 1.1rem; }

/* ---------- Section / titles ---------- */
.s064-section { padding: 18px 12px; }
.s064-section-head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 10px;
}
.s064-section-head h2 { font-size: 1.8rem; margin:0; }
.s064-section-head h2 i { color: var(--s064-green-l); margin-right:6px; }
.s064-section-head a { font-size: 1.2rem; }

/* ---------- Category tabs ---------- */
.s064-tabs {
  display:flex; gap:8px; overflow-x:auto; padding-bottom:6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.s064-tabs::-webkit-scrollbar { display:none; }
.s064-tab {
  flex: 0 0 auto;
  display:inline-flex; align-items:center; gap:6px;
  padding: 8px 14px;
  border-radius: 999px;
  border:1px solid var(--s064-line);
  background: var(--s064-card);
  color: var(--s064-muted);
  font-size: 1.3rem; font-weight:600;
  cursor:pointer; white-space:nowrap;
}
.s064-tab i { font-size: 1.4rem; }
.s064-tab:hover { color: var(--s064-text); text-decoration:none; }
.s064-tab-active { background: linear-gradient(135deg, var(--s064-green-l), var(--s064-green)); color:#06150d; border-color: transparent; }

/* ---------- Game grid / cards ---------- */
.s064-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s064-card {
  background: var(--s064-card);
  border:1px solid var(--s064-line);
  border-radius: 12px;
  overflow:hidden;
  text-align:center;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
  display:block;
  color: var(--s064-text);
}
.s064-card:hover { transform: translateY(-2px); border-color: var(--s064-green); text-decoration:none; color: var(--s064-text); }
.s064-card .s064-card-img {
  position:relative;
  aspect-ratio: 1/1;
  background: #0b121b;
}
.s064-card .s064-card-img img { width:100%; height:100%; object-fit: cover; }
.s064-card-badge {
  position:absolute; top:6px; left:6px;
  background: var(--s064-gold); color:#3a2a00;
  font-size:1rem; font-weight:800;
  padding:2px 6px; border-radius:6px;
}
.s064-card-body { padding: 8px 6px 10px; }
.s064-card-body b { font-size: 1.2rem; font-weight:700; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.s064-card-body small { color: var(--s064-muted); font-size: 1.05rem; }

/* ---------- Promo CTA band ---------- */
.s064-promo {
  margin: 18px 12px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d3a28 0%, #2E8B57 100%);
  color:#fff;
  display:flex; flex-direction:column; gap:10px;
  box-shadow: var(--s064-shadow);
}
.s064-promo h3 { margin:0; font-size:1.7rem; color:#fff; }
.s064-promo p { margin:0; font-size:1.3rem; color:#eafff3; }
.s064-promo .s064-btn { align-self:flex-start; background:#fff; color: var(--s064-green-d); }
.s064-promo .s064-btn:hover { background:#f5c451; color:#3a2a00; text-decoration:none; }

/* ---------- Article / SEO content ---------- */
.s064-article {
  padding: 18px 12px;
  background: var(--s064-bg-2);
  border-top:1px solid var(--s064-line);
  border-bottom:1px solid var(--s064-line);
  margin-top: 14px;
}
.s064-article h2 { font-size: 1.8rem; margin: 0 0 8px; }
.s064-article h3 { font-size: 1.5rem; margin: 14px 0 6px; color: var(--s064-green-l); }
.s064-article p { color: var(--s064-muted); font-size: 1.35rem; margin: 0 0 10px; }
.s064-article ul { margin: 0 0 10px; padding-left: 18px; color: var(--s064-muted); }
.s064-article a { font-weight:700; }

.s064-faq details {
  background: var(--s064-card);
  border:1px solid var(--s064-line);
  border-radius:10px;
  padding: 10px 12px;
  margin-bottom:8px;
}
.s064-faq summary { font-weight:700; font-size:1.35rem; cursor:pointer; }
.s064-faq details[open] summary { color: var(--s064-green-l); }
.s064-faq p { margin: 8px 0 0; }

/* ---------- Footer ---------- */
.s064-footer {
  background: #0b121b;
  border-top: 1px solid var(--s064-line);
  padding: 18px 12px 14px;
  color: var(--s064-muted);
}
.s064-footer-cols { display:flex; flex-wrap:wrap; gap:14px; }
.s064-footer-col { flex: 1 1 45%; min-width: 130px; }
.s064-footer-col h4 { font-size:1.3rem; margin: 0 0 8px; color: var(--s064-text); }
.s064-footer-col a { display:block; font-size:1.2rem; color: var(--s064-muted); padding: 4px 0; }
.s064-footer-col a:hover { color: var(--s064-green-l); }
.s064-footer-bottom {
  text-align:center; font-size:1.15rem; color: var(--s064-gray); margin-top:14px; padding-top:10px; border-top:1px dashed var(--s064-line);
}
.s064-18plus { color: var(--s064-gold); font-weight:800; }

/* ---------- Mobile bottom navigation ---------- */
.s064-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #0b121b 0%, #060b12 100%);
  border-top: 1px solid var(--s064-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.s064-navbtn {
  flex: 1 1 0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 2px;
  color: var(--s064-muted);
  background: transparent;
  border: 0;
  min-width: 60px;
  min-height: 60px;
  padding: 4px 2px;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.s064-navbtn i, .s064-navbtn .material-icons-outlined, .s064-navbtn .ion { font-size: 22px; line-height:1; }
.s064-navbtn span { font-size: 1rem; font-weight:600; }
.s064-navbtn:hover { color: var(--s064-text); text-decoration:none; }
.s064-navbtn:active { transform: scale(.92); }
.s064-navbtn-active { color: var(--s064-green-l); }
.s064-navbtn-promo {
  background: linear-gradient(135deg, var(--s064-green-l), var(--s064-green));
  color: #06150d !important;
  border-radius: 16px 16px 0 0 / 16px 16px 0 0;
  margin-top: -10px;
  min-height: 60px;
  box-shadow: 0 -2px 10px rgba(46,139,87,.4);
}
.s064-navbtn-promo i { font-size: 24px; }
.s064-navbtn-promo span { color:#06150d; }

/* ---------- Back to top ---------- */
#s064-top-btn {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--s064-card);
  border: 1px solid var(--s064-green);
  color: var(--s064-green-l);
  display:flex; align-items:center; justify-content:center;
  opacity: 0; visibility:hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 999;
  cursor:pointer;
}
#s064-top-btn.s064-top-show { opacity:1; visibility:visible; }

/* ---------- Desktop: hide bottom nav, show desktop nav ---------- */
@media (min-width: 769px) {
  .s064-bottomnav { display: none; }
  .s064-wrap { max-width: 960px; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .s064-grid { grid-template-columns: repeat(6, 1fr); }
  .s064-hero h1 { font-size: 3rem; }
  main { padding-bottom: 30px !important; }
}

/* ---------- Mobile bottom-nav clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
