/* ==========================================================================
   bdbje.homes - style-7b3a.css
   Core stylesheet (mobile-first, max 430px design width)
   All custom class names use the "w7b3a-" dynamic prefix.
   Palette: #0E1621 (dark bg) | #E5E5E5 (light text) | #008B8B (teal accent)
   ========================================================================== */

:root {
  --w7b3a-bg: #0E1621;
  --w7b3a-bg-2: #14202e;
  --w7b3a-bg-3: #1b2a3a;
  --w7b3a-text: #E5E5E5;
  --w7b3a-text-dim: #9fb0c0;
  --w7b3a-primary: #008B8B;
  --w7b3a-primary-2: #00b3a4;
  --w7b3a-gold: #f5c542;
  --w7b3a-red: #e84855;
  --w7b3a-radius: 12px;
  --w7b3a-header-h: 56px;
  --w7b3a-bottom-h: 62px;
  --w7b3a-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: var(--w7b3a-bg);
  color: var(--w7b3a-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--w7b3a-primary-2); text-decoration: none; }
a:hover { color: var(--w7b3a-gold); }

.w7b3a-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

main { padding-bottom: calc(var(--w7b3a-bottom-h) + 24px); }

/* ---------- Header -------------------------------------------------------- */
.w7b3a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--w7b3a-header-h);
  background: linear-gradient(90deg, #0a121c 0%, #10202a 100%);
  border-bottom: 1px solid rgba(0, 139, 139, 0.35);
  z-index: 1000;
  box-shadow: var(--w7b3a-shadow);
}
.w7b3a-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.w7b3a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--w7b3a-text);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}
.w7b3a-brand img { width: 28px; height: 28px; border-radius: 6px; }
.w7b3a-brand .w7b3a-brand-dot { color: var(--w7b3a-primary-2); }

.w7b3a-header-actions { display: flex; align-items: center; gap: 8px; }
.w7b3a-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.w7b3a-btn:active { transform: scale(0.96); }
.w7b3a-btn-login {
  background: transparent;
  color: var(--w7b3a-text);
  border: 1px solid rgba(229, 229, 229, 0.4);
}
.w7b3a-btn-register {
  background: linear-gradient(135deg, var(--w7b3a-primary) 0%, var(--w7b3a-primary-2) 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0, 139, 139, 0.45);
}
.w7b3a-menu-btn {
  background: transparent;
  border: 0;
  color: var(--w7b3a-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* ---------- Mobile slide menu -------------------------------------------- */
.w7b3a-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.w7b3a-overlay-show { opacity: 1; visibility: visible; }

.w7b3a-mobile-menu {
  position: fixed;
  top: 0; right: -78%;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: var(--w7b3a-bg-2);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 70px 18px 30px;
  overflow-y: auto;
  border-left: 1px solid rgba(0, 139, 139, 0.3);
}
.w7b3a-menu-open { right: 0; }
.w7b3a-mobile-menu h4 {
  margin: 18px 0 8px;
  color: var(--w7b3a-primary-2);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.w7b3a-mobile-menu a {
  display: block;
  padding: 11px 12px;
  color: var(--w7b3a-text);
  border-radius: 8px;
  margin-bottom: 4px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.w7b3a-mobile-menu a:hover,
.w7b3a-mobile-menu a:focus {
  background: var(--w7b3a-bg-3);
  border-color: rgba(0, 139, 139, 0.4);
}
.w7b3a-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 0;
  color: var(--w7b3a-text);
  font-size: 2.4rem;
  cursor: pointer;
}

/* ---------- Hero / carousel ---------------------------------------------- */
.w7b3a-hero {
  margin-top: calc(var(--w7b3a-header-h) + 12px);
  border-radius: var(--w7b3a-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--w7b3a-shadow);
}
.w7b3a-carousel { position: relative; }
.w7b3a-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.w7b3a-slide img { width: 100%; height: 190px; object-fit: cover; }
.w7b3a-slide-active { display: block; }
.w7b3a-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 14px 14px;
  background: linear-gradient(to top, rgba(14,22,33,0.92) 30%, transparent 100%);
  font-weight: 700;
  font-size: 1.5rem;
}
.w7b3a-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.w7b3a-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(229,229,229,0.45);
  border: 0; cursor: pointer; padding: 0;
}
.w7b3a-dot-active { background: var(--w7b3a-gold); width: 22px; border-radius: 4px; }

/* ---------- Section general ---------------------------------------------- */
.w7b3a-section { margin: 22px 0; }
.w7b3a-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.w7b3a-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--w7b3a-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.w7b3a-section-title::before {
  content: "";
  width: 4px; height: 22px;
  background: var(--w7b3a-primary-2);
  border-radius: 2px;
}
.w7b3a-more { font-size: 1.25rem; color: var(--w7b3a-gold); }

/* ---------- Filter chips -------------------------------------------------- */
.w7b3a-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.w7b3a-chips::-webkit-scrollbar { display: none; }
.w7b3a-chip {
  flex: 0 0 auto;
  background: var(--w7b3a-bg-3);
  color: var(--w7b3a-text-dim);
  border: 1px solid rgba(0,139,139,0.25);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.w7b3a-chip-active {
  background: linear-gradient(135deg, var(--w7b3a-primary), var(--w7b3a-primary-2));
  color: #fff;
  border-color: transparent;
}

/* ---------- Game grids ---------------------------------------------------- */
.w7b3a-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.w7b3a-game-card {
  background: var(--w7b3a-bg-2);
  border-radius: 10px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.15s ease, border-color 0.2s ease;
  display: block;
  color: var(--w7b3a-text);
}
.w7b3a-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--w7b3a-primary-2);
  color: var(--w7b3a-text);
}
.w7b3a-game-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 5px;
}
.w7b3a-game-name {
  font-size: 1.15rem;
  line-height: 1.25;
  height: 2.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Info / feature cards ----------------------------------------- */
.w7b3a-card {
  background: var(--w7b3a-bg-2);
  border-radius: var(--w7b3a-radius);
  padding: 16px;
  border: 1px solid rgba(0,139,139,0.18);
  box-shadow: var(--w7b3a-shadow);
}
.w7b3a-card p { margin: 0 0 8px; color: var(--w7b3a-text-dim); }
.w7b3a-card p strong { color: var(--w7b3a-text); }

.w7b3a-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.w7b3a-feature {
  background: var(--w7b3a-bg-2);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(0,139,139,0.18);
}
.w7b3a-feature .w7b3a-ic { font-size: 2.6rem; color: var(--w7b3a-primary-2); margin-bottom: 6px; }
.w7b3a-feature h4 { margin: 0 0 4px; font-size: 1.3rem; color: var(--w7b3a-text); }
.w7b3a-feature p { margin: 0; font-size: 1.1rem; color: var(--w7b3a-text-dim); line-height: 1.35; }

/* ---------- CTA banner ---------------------------------------------------- */
.w7b3a-cta {
  background: linear-gradient(135deg, var(--w7b3a-primary) 0%, #0a5e5e 100%);
  border-radius: var(--w7b3a-radius);
  padding: 18px 16px;
  text-align: center;
  color: #fff;
  box-shadow: var(--w7b3a-shadow);
}
.w7b3a-cta h3 { margin: 0 0 6px; font-size: 1.9rem; }
.w7b3a-cta p { margin: 0 0 12px; font-size: 1.25rem; opacity: 0.92; }
.w7b3a-cta .w7b3a-btn { background: var(--w7b3a-gold); color: #1a1a1a; }

/* ---------- RTP / data table --------------------------------------------- */
.w7b3a-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.3rem;
}
.w7b3a-rtp-row:last-child { border-bottom: 0; }
.w7b3a-rtp-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.w7b3a-rtp-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--w7b3a-primary), var(--w7b3a-gold));
}

/* ---------- Testimonials -------------------------------------------------- */
.w7b3a-review {
  background: var(--w7b3a-bg-2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--w7b3a-primary-2);
}
.w7b3a-review-head {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.w7b3a-stars { color: var(--w7b3a-gold); }
.w7b3a-review p { margin: 0; font-size: 1.2rem; color: var(--w7b3a-text-dim); }

/* ---------- Payment / winners -------------------------------------------- */
.w7b3a-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.w7b3a-pay {
  background: var(--w7b3a-bg-2);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 2rem;
  color: var(--w7b3a-primary-2);
}
.w7b3a-winner {
  display: flex;
  justify-content: space-between;
  background: var(--w7b3a-bg-2);
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.w7b3a-winner b { color: var(--w7b3a-gold); }

/* ---------- Footer -------------------------------------------------------- */
.w7b3a-footer {
  background: #081019;
  border-top: 1px solid rgba(0,139,139,0.3);
  padding: 24px 14px 18px;
  margin-top: 26px;
}
.w7b3a-footer-inner { max-width: 430px; margin: 0 auto; }
.w7b3a-footer-brand { color: var(--w7b3a-text-dim); font-size: 1.2rem; margin-bottom: 14px; line-height: 1.4; }
.w7b3a-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.w7b3a-footer-links a {
  color: var(--w7b3a-text-dim);
  font-size: 1.2rem;
}
.w7b3a-footer-links a:hover { color: var(--w7b3a-primary-2); }
.w7b3a-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.w7b3a-footer-promo .w7b3a-btn {
  background: var(--w7b3a-bg-3);
  color: var(--w7b3a-text);
  font-size: 1.2rem;
  padding: 7px 13px;
}
.w7b3a-copyright {
  color: #6b7d8e;
  font-size: 1.1rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 12px;
}

/* ---------- Bottom navigation -------------------------------------------- */
.w7b3a-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--w7b3a-bottom-h);
  background: linear-gradient(180deg, #0d1822 0%, #06101a 100%);
  border-top: 1px solid rgba(0,139,139,0.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.w7b3a-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--w7b3a-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.w7b3a-nav-btn .w7b3a-nav-ic { font-size: 2.2rem; line-height: 1; }
.w7b3a-nav-btn:active { transform: scale(0.92); }
.w7b3a-nav-btn:hover { color: var(--w7b3a-text); }
.w7b3a-nav-btn.is-active { color: var(--w7b3a-primary-2); }
.w7b3a-nav-btn.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--w7b3a-primary-2);
}
.w7b3a-nav-btn.w7b3a-nav-cta {
  color: var(--w7b3a-gold);
}
.w7b3a-nav-badge {
  position: absolute;
  top: 6px; right: 18%;
  background: var(--w7b3a-red);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 1px 5px;
  line-height: 1.3;
}

/* ---------- Scroll reveal ------------------------------------------------- */
.w7b3a-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.w7b3a-reveal-in { opacity: 1; transform: none; }

/* ---------- SEO text block ------------------------------------------------ */
.w7b3a-seo-text {
  background: var(--w7b3a-bg-2);
  border-radius: var(--w7b3a-radius);
  padding: 16px;
  color: var(--w7b3a-text-dim);
  font-size: 1.25rem;
  line-height: 1.6;
}
.w7b3a-seo-text h2, .w7b3a-seo-text h3 { color: var(--w7b3a-text); }
.w7b3a-seo-text a { color: var(--w7b3a-primary-2); font-weight: 600; }

/* ---------- Back to top --------------------------------------------------- */
.w7b3a-totop {
  position: fixed;
  right: 12px;
  bottom: calc(var(--w7b3a-bottom-h) + 12px);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--w7b3a-primary);
  color: #fff;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: var(--w7b3a-shadow);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive: desktop ------------------------------------------ */
@media (min-width: 769px) {
  body { font-size: 1.55rem; }
  .w7b3a-bottom-nav { display: none; }
  main { padding-bottom: 40px; }
  .w7b3a-wrapper { max-width: 720px; padding: 0 20px; }
  .w7b3a-header-inner { max-width: 720px; }
  .w7b3a-footer-inner { max-width: 720px; }
  .w7b3a-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w7b3a-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .w7b3a-slide img { height: 280px; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .w7b3a-game-grid { grid-template-columns: repeat(4, 1fr); }
}
