/* ============================================================
 * bajeer.click - design-c8bd.css
 * All custom classes use the sc8b- prefix for isolation.
 * Palette: #DEB887 (gold) | #2D2D2D (dark) | #F5DEB3 (wheat)
 * Mobile-first, max-width: 430px container.
 * ========================================================== */

:root {
  --c8b-gold: #DEB887;
  --c8b-dark: #2D2D2D;
  --c8b-wheat: #F5DEB3;
  --c8b-darker: #1d1d1d;
  --c8b-text: #fff7ea;
  --c8b-muted: #d8c7a8;
  --c8b-accent: #f0b446;
  --c8b-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; font-size: 62.5%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--c8b-dark);
  color: var(--c8b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--c8b-gold); text-decoration: none; }

.sc8b-wrap { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }

/* ---------- Header ---------- */
.sc8b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #242424 0%, #34302a 100%);
  border-bottom: 1px solid rgba(222, 184, 135, 0.25);
  box-shadow: var(--c8b-shadow);
}
.sc8b-header-inner {
  width: 100%; max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; min-height: 56px;
}
.sc8b-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c8b-gold); }
.sc8b-brand img { width: 30px; height: 30px; border-radius: 7px; }
.sc8b-brand span { font-size: 1.5rem; letter-spacing: 0.5px; }
.sc8b-actions { display: flex; align-items: center; gap: 8px; }
.sc8b-btn {
  cursor: pointer; border: none; border-radius: 9px;
  padding: 9px 14px; font-size: 1.3rem; font-weight: 700;
  transition: transform 0.15s, filter 0.15s;
}
.sc8b-btn:active { transform: scale(0.94); }
.sc8b-btn-register { background: linear-gradient(180deg, #f0b446, #c98b1d); color: #1d1d1d; }
.sc8b-btn-login { background: transparent; color: var(--c8b-gold); border: 1.5px solid var(--c8b-gold); }
.sc8b-menu-btn {
  background: transparent; border: none; color: var(--c8b-gold);
  font-size: 1.9rem; cursor: pointer; padding: 4px 6px; margin-left: 2px;
}

/* ---------- Mobile menu (slide-down) ---------- */
.sc8b-mobile-menu {
  display: none; position: fixed; top: 56px; left: 0; right: 0; z-index: 9999;
  background: #1f1d1a; padding: 8px 14px 16px; border-bottom: 2px solid var(--c8b-gold);
  max-width: 430px; margin: 0 auto;
  flex-direction: column; gap: 4px;
}
.sc8b-mobile-menu.sc8b-menu-open { display: flex; }
.sc8b-mobile-menu a {
  color: var(--c8b-text); padding: 10px 6px;
  border-bottom: 1px solid rgba(222, 184, 135, 0.15);
  font-size: 1.35rem;
}
.sc8b-mobile-menu a:active { color: var(--c8b-accent); }

/* ---------- Main ---------- */
.sc8b-main { padding-top: 64px; }
#sc8bMain { padding-bottom: 92px; }

/* ---------- Hero / Carousel ---------- */
.sc8b-hero { padding: 12px 10px 4px; }
.sc8b-carousel { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--c8b-shadow); }
.sc8b-slide { display: none; width: 100%; cursor: pointer; position: relative; }
.sc8b-slide img { width: 100%; height: 180px; object-fit: cover; }
.sc8b-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  padding: 26px 14px 10px; color: var(--c8b-wheat); font-weight: 700; font-size: 1.35rem;
}
.sc8b-dots { text-align: center; padding: 8px 0 4px; }
.sc8b-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #6a5e48; margin: 0 3px; cursor: pointer;
}
.sc8b-dot-active { background: var(--c8b-gold); }

/* ---------- Section / headings ---------- */
.sc8b-section { padding: 14px 12px 6px; }
.sc8b-h1 {
  font-size: 1.8rem; color: var(--c8b-wheat); font-weight: 800;
  margin-bottom: 8px; line-height: 1.35;
}
.sc8b-h2 {
  font-size: 1.55rem; color: var(--c8b-gold); font-weight: 700;
  border-left: 4px solid var(--c8b-gold); padding-left: 10px; margin: 14px 0 8px;
}
.sc8b-h3 { font-size: 1.35rem; color: var(--c8b-wheat); margin: 10px 0 4px; }
.sc8b-p { margin-bottom: 8px; color: var(--c8b-text); }
.sc8b-muted { color: var(--c8b-muted); }

/* Promo link (text style) */
.sc8b-link {
  color: var(--c8b-accent); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--c8b-accent);
}
.sc8b-link:active { opacity: 0.7; }

/* Big promo button */
.sc8b-cta {
  display: inline-block; background: linear-gradient(180deg, #f0b446, #c98b1d);
  color: #1d1d1d; font-weight: 800; padding: 12px 22px; border-radius: 25px;
  cursor: pointer; border: none; font-size: 1.35rem; margin: 6px 0;
  box-shadow: 0 4px 14px rgba(240, 180, 70, 0.4);
}
.sc8b-cta:active { transform: scale(0.96); }

/* Category nav chips */
.sc8b-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 8px; }
.sc8b-chips::-webkit-scrollbar { display: none; }
.sc8b-chip {
  flex: 0 0 auto; background: #3a352d; color: var(--c8b-wheat);
  padding: 7px 14px; border-radius: 18px; font-size: 1.25rem; cursor: pointer;
  border: 1px solid rgba(222, 184, 135, 0.3);
}

/* ---------- Game grid ---------- */
.sc8b-cat-title {
  font-size: 1.45rem; color: var(--c8b-gold); margin: 12px 12px 8px;
  font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.sc8b-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 12px;
}
.sc8b-card {
  background: #322e28; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(222, 184, 135, 0.15); transition: transform 0.12s;
}
.sc8b-card:active { transform: scale(0.96); }
.sc8b-card img { width: 100%; height: 96px; object-fit: cover; background: #1d1d1d; }
.sc8b-card-name {
  font-size: 1.1rem; color: var(--c8b-wheat); padding: 6px 6px 8px;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}

/* ---------- Info / feature / bonus modules ---------- */
.sc8b-feature-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 12px; }
.sc8b-feature {
  flex: 1 1 45%; background: #322e28; border-radius: 12px; padding: 12px; text-align: center;
  border: 1px solid rgba(222, 184, 135, 0.2);
}
.sc8b-feature i { font-size: 2.4rem; color: var(--c8b-gold); margin-bottom: 6px; display: block; }
.sc8b-feature b { color: var(--c8b-wheat); display: block; font-size: 1.2rem; }
.sc8b-feature small { color: var(--c8b-muted); }

/* Testimonials */
.sc8b-quote {
  background: #322e28; border-left: 3px solid var(--c8b-gold);
  border-radius: 8px; padding: 10px 12px; margin: 8px 12px;
}
.sc8b-quote b { color: var(--c8b-wheat); }
.sc8b-quote .sc8b-stars { color: #f0b446; }

/* Payment chips */
.sc8b-pay { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px; }
.sc8b-pay span {
  background: #322e28; padding: 6px 12px; border-radius: 16px;
  font-size: 1.2rem; color: var(--c8b-wheat); border: 1px solid rgba(222,184,135,0.25);
}

/* Winners ticker */
.sc8b-winner {
  background: #2a2620; border-radius: 10px; padding: 8px 12px; margin: 6px 12px;
  display: flex; justify-content: space-between; font-size: 1.2rem;
}
.sc8b-winner b { color: var(--c8b-accent); }

/* RTP table */
.sc8b-table {
  width: calc(100% - 24px); margin: 6px 12px; border-collapse: collapse;
  background: #322e28; border-radius: 10px; overflow: hidden;
}
.sc8b-table th, .sc8b-table td {
  padding: 8px 10px; font-size: 1.2rem; text-align: left;
  border-bottom: 1px solid rgba(222,184,135,0.12);
}
.sc8b-table th { background: #3f3a30; color: var(--c8b-gold); }
.sc8b-table td b { color: var(--c8b-accent); }

/* App download banner */
.sc8b-app {
  display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #3a3024, #2a2620);
  border-radius: 14px; padding: 14px; margin: 10px 12px; border: 1px solid var(--c8b-gold);
}
.sc8b-app i { font-size: 2.6rem; color: var(--c8b-gold); }
.sc8b-app b { color: var(--c8b-wheat); display: block; font-size: 1.3rem; }

/* FAQ */
.sc8b-faq-item {
  background: #322e28; border-radius: 10px; padding: 12px; margin: 6px 12px;
  border: 1px solid rgba(222,184,135,0.18);
}
.sc8b-faq-q { font-weight: 700; color: var(--c8b-wheat); cursor: pointer; display: flex; justify-content: space-between; }
.sc8b-faq-a { display: none; margin-top: 8px; color: var(--c8b-text); }
.sc8b-faq-open .sc8b-faq-a { display: block; }

/* SEO content text block */
.sc8b-content-block {
  background: #2a2620; border-radius: 12px; padding: 14px; margin: 10px 12px;
  line-height: 1.6;
}
.sc8b-content-block a { color: var(--c8b-accent); }

/* Footer */
.sc8b-footer {
  background: #1a1a1a; border-top: 2px solid var(--c8b-gold);
  padding: 16px 12px 24px; margin-top: 16px;
}
.sc8b-footer-cols { display: flex; flex-wrap: wrap; gap: 12px; }
.sc8b-footer-col { flex: 1 1 45%; }
.sc8b-footer-col h4 { color: var(--c8b-gold); font-size: 1.25rem; margin-bottom: 6px; }
.sc8b-footer-col a {
  display: block; color: var(--c8b-muted); font-size: 1.15rem; padding: 3px 0;
}
.sc8b-footer-bottom {
  text-align: center; color: var(--c8b-muted); font-size: 1.1rem;
  margin-top: 14px; border-top: 1px solid rgba(222,184,135,0.15); padding-top: 10px;
}

/* ---------- Mobile bottom navigation ---------- */
.sc8b-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: #1a1a1a;
  border-top: 1px solid rgba(222, 184, 135, 0.3);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
  max-width: 430px; margin: 0 auto;
}
.sc8b-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--c8b-muted);
  font-size: 1rem; gap: 2px; cursor: pointer; text-decoration: none;
  transition: color 0.15s, transform 0.15s;
}
.sc8b-navbtn i, .sc8b-navbtn .material-icons-outlined, .sc8b-navbtn ion-icon { font-size: 22px; }
.sc8b-navbtn span { font-size: 1rem; }
.sc8b-navbtn:active { transform: scale(0.9); }
.sc8b-navbtn-active { color: var(--c8b-gold); }
.sc8b-navbtn-active i, .sc8b-navbtn-active span { color: var(--c8b-gold); }
.sc8b-navbtn-promo {
  background: linear-gradient(180deg, #f0b446, #c98b1d); color: #1d1d1d;
  border-radius: 50%; width: 54px; height: 54px; margin-top: -22px;
  box-shadow: 0 4px 12px rgba(240, 180, 70, 0.5);
}
.sc8b-navbtn-promo span { font-size: 0.9rem; }
.sc8b-nav-badge {
  position: absolute; top: 6px; right: 16px;
  background: #e23b3b; color: #fff; font-size: 0.9rem; padding: 1px 5px;
  border-radius: 9px; line-height: 1.4;
}

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .sc8b-bottomnav { display: none; }
  #sc8bMain { padding-bottom: 0 !important; }
  .sc8b-wrap { max-width: 800px; }
  .sc8b-header-inner { max-width: 800px; }
  .sc8b-grid { grid-template-columns: repeat(6, 1fr); }
}

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