/* bdbet.cyou - Core stylesheet
   All custom classes use the dynamic prefix "wdce4-" for namespace isolation.
   Color palette: #0000CD | #00B8D4 | #4DB6AC | #80CBC4 | #141414
   Mobile-first design, max-width 430px. */

:root {
  --wdce4-primary: #0000CD;
  --wdce4-accent: #00B8D4;
  --wdce4-teal: #4DB6AC;
  --wdce4-light: #80CBC4;
  --wdce4-bg: #141414;
  --wdce4-surface: #1c2230;
  --wdce4-text: #f4f8fb;
  --wdce4-muted: #aebfc9;
  --wdce4-gold: #ffd34d;
  --wdce4-radius: 14px;
}

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

html { font-size: 62.5%; }

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

a { color: var(--wdce4-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

.wdce4-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* ===== Header ===== */
.wdce4-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(135deg, #0000CD 0%, #141414 100%);
  border-bottom: 1px solid rgba(0, 184, 212, 0.25);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.wdce4-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.wdce4-brand img { width: 30px; height: 30px; border-radius: 6px; }
.wdce4-brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wdce4-text);
  letter-spacing: 0.5px;
}
.wdce4-brand-name span { color: var(--wdce4-accent); }

.wdce4-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.wdce4-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.wdce4-btn:active { transform: scale(0.95); }
.wdce4-btn-login {
  background: transparent;
  color: var(--wdce4-light);
  border: 1px solid rgba(128, 203, 196, 0.5);
}
.wdce4-btn-register {
  background: linear-gradient(135deg, #00B8D4, #4DB6AC);
  color: #062028;
  box-shadow: 0 3px 10px rgba(0, 184, 212, 0.4);
}

.wdce4-menu-btn {
  background: transparent;
  border: 1px solid rgba(0, 184, 212, 0.4);
  color: var(--wdce4-accent);
  width: 36px; height: 36px;
  border-radius: 9px;
  font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ===== Mobile expandable menu ===== */
.wdce4-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: #11151f;
  border-bottom: 1px solid rgba(0, 184, 212, 0.25);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.wdce4-mobile-menu.wdce4-menu-open { max-height: 520px; }
.wdce4-mobile-menu ul { list-style: none; padding: 0.4rem 0; }
.wdce4-mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  color: var(--wdce4-text);
  font-size: 1.45rem;
  border-bottom: 1px dashed rgba(128, 203, 196, 0.12);
}
.wdce4-mobile-menu li a:active { background: rgba(0, 184, 212, 0.12); }
.wdce4-mobile-menu li a i { color: var(--wdce4-accent); width: 22px; text-align: center; }

/* ===== Main ===== */
.wdce4-main { padding-top: 60px; padding-bottom: 80px; }

.wdce4-section { padding: 1.6rem 1.2rem; }
.wdce4-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--wdce4-text);
  display: flex; align-items: center; gap: 0.6rem;
}
.wdce4-section-title i { color: var(--wdce4-accent); }
.wdce4-section-sub {
  color: var(--wdce4-muted);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* ===== Carousel ===== */
.wdce4-carousel {
  position: relative;
  border-radius: var(--wdce4-radius);
  overflow: hidden;
  margin: 1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.wdce4-slides { position: relative; }
.wdce4-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.wdce4-slide.wdce4-slide-active { display: block; }
.wdce4-slide img { width: 100%; height: 180px; object-fit: cover; }
.wdce4-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--wdce4-text);
}
.wdce4-slide-overlay h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.wdce4-slide-overlay p { font-size: 1.25rem; color: var(--wdce4-light); }

.wdce4-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.wdce4-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.wdce4-dot.wdce4-dot-active { background: var(--wdce4-accent); width: 22px; border-radius: 4px; }

/* ===== H1 / Hero ===== */
.wdce4-hero {
  background: radial-gradient(circle at 30% 20%, rgba(0,184,212,0.18), transparent 60%),
              linear-gradient(135deg, #0a0f1e, #141414);
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.wdce4-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--wdce4-text);
  margin-bottom: 0.6rem;
}
.wdce4-hero h1 em { color: var(--wdce4-accent); font-style: normal; }
.wdce4-hero p { color: var(--wdce4-muted); font-size: 1.35rem; }
.wdce4-cta-row { display: flex; gap: 0.7rem; justify-content: center; margin-top: 1rem; }
.wdce4-cta {
  background: linear-gradient(135deg, #00B8D4, #4DB6AC);
  color: #062028;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 184, 212, 0.45);
}

/* ===== Category tabs (static) ===== */
.wdce4-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 1.2rem 0.8rem;
}
.wdce4-cat-head h2 { font-size: 1.8rem; color: var(--wdce4-text); }
.wdce4-cat-head .wdce4-cat-link { font-size: 1.25rem; color: var(--wdce4-accent); }

/* ===== Game grid ===== */
.wdce4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  padding: 0.4rem 1.2rem 1rem;
}
.wdce4-card {
  background: var(--wdce4-surface);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 184, 212, 0.15);
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.wdce4-card:active { transform: scale(0.94); border-color: var(--wdce4-accent); }
.wdce4-card img {
  width: 100%; height: 72px; object-fit: cover;
}
.wdce4-card-name {
  font-size: 1.1rem;
  padding: 0.4rem 0.3rem 0.5rem;
  color: var(--wdce4-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* ===== Info / Feature blocks ===== */
.wdce4-info {
  background: var(--wdce4-surface);
  border-radius: var(--wdce4-radius);
  padding: 1.3rem;
  margin: 1rem 1.2rem;
  border-left: 4px solid var(--wdce4-accent);
}
.wdce4-info h2 { font-size: 1.8rem; margin-bottom: 0.6rem; color: var(--wdce4-text); }
.wdce4-info h3 { font-size: 1.5rem; margin: 0.8rem 0 0.4rem; color: var(--wdce4-teal); }
.wdce4-info p { color: var(--wdce4-muted); font-size: 1.35rem; margin-bottom: 0.7rem; }
.wdce4-info ul { padding-left: 1.4rem; color: var(--wdce4-muted); }
.wdce4-info li { margin-bottom: 0.4rem; font-size: 1.3rem; }

.wdce4-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
  padding: 0 1.2rem 1rem;
}
.wdce4-feature {
  background: var(--wdce4-surface);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(0,184,212,0.15);
}
.wdce4-feature i { font-size: 2.2rem; color: var(--wdce4-accent); margin-bottom: 0.4rem; }
.wdce4-feature h3 { font-size: 1.4rem; color: var(--wdce4-text); margin-bottom: 0.3rem; }
.wdce4-feature p { font-size: 1.2rem; color: var(--wdce4-muted); }

/* RTP table */
.wdce4-rtp {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 1rem;
  font-size: 1.25rem;
}
.wdce4-rtp th, .wdce4-rtp td {
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(128,203,196,0.15);
  text-align: center;
}
.wdce4-rtp th { color: var(--wdce4-teal); }
.wdce4-rtp td { color: var(--wdce4-muted); }
.wdce4-rtp td strong { color: var(--wdce4-gold); }

/* Testimonials */
.wdce4-testi {
  background: var(--wdce4-surface);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--wdce4-teal);
}
.wdce4-testi p { color: var(--wdce4-text); font-size: 1.3rem; margin-bottom: 0.4rem; }
.wdce4-testi .wdce4-testi-by { color: var(--wdce4-light); font-size: 1.15rem; }

/* Payment */
.wdce4-pay {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding: 0 1.2rem 1rem;
}
.wdce4-pay span {
  background: var(--wdce4-surface);
  border: 1px solid rgba(0,184,212,0.2);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--wdce4-light);
}

/* Winners */
.wdce4-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--wdce4-surface);
  padding: 0.8rem 1rem; border-radius: 10px; margin-bottom: 0.5rem;
}
.wdce4-winner img { width: 40px; height: 40px; border-radius: 50%; }
.wdce4-winner .wdce4-winner-name { color: var(--wdce4-text); font-size: 1.3rem; font-weight: 600; }
.wdce4-winner .wdce4-winner-amt { color: var(--wdce4-gold); font-size: 1.4rem; font-weight: 700; }
.wdce4-winner .wdce4-winner-game { color: var(--wdce4-muted); font-size: 1.15rem; }

/* App CTA */
.wdce4-appcta {
  background: linear-gradient(135deg, #0000CD, #00B8D4);
  border-radius: var(--wdce4-radius);
  padding: 1.4rem;
  margin: 1rem 1.2rem;
  text-align: center;
}
.wdce4-appcta h2 { color: #fff; font-size: 1.8rem; margin-bottom: 0.4rem; }
.wdce4-appcta p { color: rgba(255,255,255,0.85); font-size: 1.3rem; margin-bottom: 0.9rem; }
.wdce4-appcta .wdce4-cta { background: #fff; color: #0000CD; }

/* Play now button */
.wdce4-playnow {
  display: block; text-align: center;
  margin: 1rem 1.2rem 1.4rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, #00B8D4, #4DB6AC);
  color: #062028;
  border-radius: 12px;
  font-weight: 800; font-size: 1.5rem;
  border: none; cursor: pointer;
}

/* Promo text link */
.wdce4-textlink {
  color: var(--wdce4-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* FAQ */
.wdce4-faq {
  background: var(--wdce4-surface);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.6rem;
}
.wdce4-faq h3 { font-size: 1.4rem; color: var(--wdce4-teal); margin-bottom: 0.4rem; }
.wdce4-faq p { font-size: 1.3rem; color: var(--wdce4-muted); }

/* ===== Footer ===== */
.wdce4-footer {
  background: #0b0e16;
  padding: 1.6rem 1.2rem 2.4rem;
  border-top: 1px solid rgba(0,184,212,0.2);
}
.wdce4-footer-brand {
  color: var(--wdce4-muted);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.wdce4-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.wdce4-footer-promo .wdce4-btn { font-size: 1.2rem; padding: 0.5rem 0.8rem; }
.wdce4-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.8rem; margin-bottom: 1rem;
}
.wdce4-footer-links a {
  color: var(--wdce4-light); font-size: 1.25rem;
  padding: 0.3rem 0;
}
.wdce4-footer-copy {
  color: #6b7d8c; font-size: 1.15rem; text-align: center;
  border-top: 1px dashed rgba(128,203,196,0.15);
  padding-top: 0.8rem;
}

/* ===== Mobile bottom nav ===== */
.wdce4-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: #0b0e16;
  border-top: 1px solid rgba(0,184,212,0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.5);
}
.wdce4-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--wdce4-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.wdce4-bnav-btn i, .wdce4-bnav-btn .material-icons-outlined,
.wdce4-bnav-btn ion-icon { font-size: 24px; }
.wdce4-bnav-btn:active { transform: scale(0.9); }
.wdce4-bnav-btn.wdce4-bnav-active { color: var(--wdce4-accent); }
.wdce4-bnav-btn.wdce4-bnav-active::before {
  content: ""; position: absolute; top: 0; left: 20%; right: 20%;
  height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #00B8D4, #4DB6AC);
}
.wdce4-bnav-label { font-size: 1.05rem; line-height: 1.1; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .wdce4-bnav { display: none; }
  .wdce4-main { padding-bottom: 2rem; }
  .wdce4-wrapper { max-width: 430px; box-shadow: 0 0 30px rgba(0,0,0,0.4); }
}
@media (max-width: 768px) {
  .wdce4-main { padding-bottom: 80px; }
}
