/* ============================================================
   1333 com - style-d2b1.css
   Mobile-first gaming site styles. All classes use wd2b1- prefix.
   Palette: #FFFFFF | #8B4513 | #FFDEAD | #34495E | #DEB887
   Dark tones are backgrounds, light tones are text/highlights.
   ============================================================ */
:root {
  --wd2b1-bg-deep: #243140; --wd2b1-bg: #34495E; --wd2b1-bg-card: #3E556E; --wd2b1-bg-card-2: #465C77;
  --wd2b1-primary: #8B4513; --wd2b1-primary-dark: #6B3410; --wd2b1-primary-light: #A85628;
  --wd2b1-gold: #DEB887; --wd2b1-gold-light: #FFDEAD; --wd2b1-cream: #FFF8E7;
  --wd2b1-text: #FFFFFF; --wd2b1-text-muted: #D6C5A8; --wd2b1-text-dim: #B9A98C;
  --wd2b1-success: #4CAF50; --wd2b1-danger: #E05A4B;
  --wd2b1-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); --wd2b1-radius: 12px; --wd2b1-radius-lg: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(160deg, var(--wd2b1-bg-deep) 0%, var(--wd2b1-bg) 55%, var(--wd2b1-bg-deep) 100%);
  color: var(--wd2b1-text); line-height: 1.5rem; font-size: 1.5rem; min-height: 100vh;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--wd2b1-gold-light); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wd2b1-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

/* ---------- Header ---------- */
.wd2b1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--wd2b1-primary-dark) 0%, var(--wd2b1-primary) 50%, var(--wd2b1-primary-dark) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.45); border-bottom: 2px solid var(--wd2b1-gold);
}
.wd2b1-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.wd2b1-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.wd2b1-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; border: 1px solid var(--wd2b1-gold-light); flex-shrink: 0; }
.wd2b1-brand-name { font-size: 1.6rem; font-weight: 700; color: var(--wd2b1-gold-light); letter-spacing: 0.02rem; white-space: nowrap; }
.wd2b1-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.wd2b1-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700; border-radius: 2rem; padding: 0.7rem 1.3rem; font-size: 1.3rem; min-height: 3.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.wd2b1-btn:active { transform: scale(0.94); }
.wd2b1-btn-register {
  background: linear-gradient(135deg, var(--wd2b1-gold) 0%, var(--wd2b1-gold-light) 100%);
  color: var(--wd2b1-primary-dark); box-shadow: 0 2px 8px rgba(255,222,173,0.35);
}
.wd2b1-btn-login { background: transparent; color: var(--wd2b1-gold-light); border: 1.5px solid var(--wd2b1-gold); }
.wd2b1-menu-btn { width: 3.4rem; height: 3.4rem; display: inline-flex; align-items: center; justify-content: center; color: var(--wd2b1-gold-light); font-size: 1.8rem; border-radius: 0.6rem; }
.wd2b1-menu-btn:hover { background: rgba(255,255,255,0.08); }

/* ---------- Mobile menu ---------- */
.wd2b1-mobile-menu {
  position: fixed; top: 5.6rem; right: 0; width: 78%; max-width: 320px;
  background: var(--wd2b1-bg-card); border-left: 2px solid var(--wd2b1-gold); border-bottom: 2px solid var(--wd2b1-gold);
  border-radius: 0 0 0 var(--wd2b1-radius-lg); padding: 1rem 0; z-index: 9999;
  transform: translateX(110%); transition: transform 0.28s ease; box-shadow: -4px 6px 18px rgba(0,0,0,0.45);
}
.wd2b1-menu-open { transform: translateX(0); }
.wd2b1-mobile-menu a { display: flex; align-items: center; gap: 0.9rem; padding: 1.05rem 1.4rem; color: var(--wd2b1-cream); font-size: 1.45rem; border-bottom: 1px solid rgba(255,222,173,0.12); }
.wd2b1-mobile-menu a:active { background: rgba(222,184,135,0.14); }
.wd2b1-mobile-menu a i { color: var(--wd2b1-gold); width: 2rem; text-align: center; }

/* ---------- Main & sections ---------- */
main { padding-top: 5.6rem; }
.wd2b1-section { padding: 2rem 0 1.4rem; }
.wd2b1-section-title { font-size: 1.85rem; font-weight: 700; color: var(--wd2b1-gold-light); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.wd2b1-section-title i { color: var(--wd2b1-gold); font-size: 1.7rem; }
.wd2b1-section-sub { color: var(--wd2b1-text-muted); font-size: 1.35rem; margin-bottom: 1.2rem; }
.wd2b1-h1 { font-size: 2rem; line-height: 1.45; font-weight: 700; color: var(--wd2b1-gold-light); margin: 0.4rem 0 0.8rem; }
.wd2b1-lead { color: var(--wd2b1-text-muted); font-size: 1.4rem; }

/* ---------- Hero carousel ---------- */
.wd2b1-carousel { position: relative; border-radius: var(--wd2b1-radius-lg); overflow: hidden; box-shadow: var(--wd2b1-shadow); margin-bottom: 0.6rem; }
.wd2b1-slides { position: relative; aspect-ratio: 16/9; }
.wd2b1-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.wd2b1-slide img { width: 100%; height: 100%; object-fit: cover; }
.wd2b1-slide-active { opacity: 1; }
.wd2b1-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.4rem 1.4rem; background: linear-gradient(0deg, rgba(36,49,64,0.92) 0%, rgba(36,49,64,0) 100%); color: var(--wd2b1-cream); }
.wd2b1-slide-caption h2 { font-size: 1.6rem; color: var(--wd2b1-gold-light); margin-bottom: 0.2rem; }
.wd2b1-slide-caption p { font-size: 1.25rem; color: var(--wd2b1-text-muted); }
.wd2b1-dots { position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.5rem; }
.wd2b1-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.2s ease, transform 0.2s ease; }
.wd2b1-dot-active { background: var(--wd2b1-gold-light); transform: scale(1.25); }

/* ---------- Game grid ---------- */
.wd2b1-cat-header { display: flex; align-items: center; justify-content: space-between; margin: 1.6rem 0 0.9rem; }
.wd2b1-cat-title { font-size: 1.65rem; font-weight: 700; color: var(--wd2b1-gold-light); display: flex; align-items: center; gap: 0.5rem; }
.wd2b1-cat-title i { color: var(--wd2b1-gold); }
.wd2b1-cat-tag { font-size: 1.15rem; color: var(--wd2b1-primary-dark); background: var(--wd2b1-gold-light); padding: 0.2rem 0.8rem; border-radius: 2rem; font-weight: 600; }
.wd2b1-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.wd2b1-game-card { background: var(--wd2b1-bg-card); border: 1px solid rgba(222,184,135,0.25); border-radius: var(--wd2b1-radius); overflow: hidden; text-align: center; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease; }
.wd2b1-game-card:active { transform: scale(0.95); border-color: var(--wd2b1-gold); box-shadow: 0 2px 10px rgba(222,184,135,0.35); }
.wd2b1-game-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--wd2b1-bg-deep); }
.wd2b1-game-name { font-size: 1.18rem; color: var(--wd2b1-cream); padding: 0.5rem 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }

/* ---------- Info / feature cards ---------- */
.wd2b1-card { background: var(--wd2b1-bg-card); border: 1px solid rgba(222,184,135,0.22); border-radius: var(--wd2b1-radius-lg); padding: 1.3rem; margin-bottom: 1rem; box-shadow: var(--wd2b1-shadow); }
.wd2b1-card h2, .wd2b1-card h3 { color: var(--wd2b1-gold-light); }
.wd2b1-card h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.wd2b1-card h3 { font-size: 1.4rem; margin: 0.8rem 0 0.3rem; }
.wd2b1-card p { color: var(--wd2b1-text-muted); margin-bottom: 0.6rem; }
.wd2b1-step-list { list-style: none; counter-reset: step; }
.wd2b1-step-list li { position: relative; padding: 0.5rem 0 0.5rem 3.2rem; color: var(--wd2b1-text-muted); counter-increment: step; }
.wd2b1-step-list li::before { content: counter(step); position: absolute; left: 0; top: 0.4rem; width: 2.4rem; height: 2.4rem; background: linear-gradient(135deg, var(--wd2b1-primary) 0%, var(--wd2b1-primary-light) 100%); color: var(--wd2b1-gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; }
.wd2b1-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.wd2b1-feature { background: var(--wd2b1-bg-card-2); border-radius: var(--wd2b1-radius); padding: 1rem 0.8rem; text-align: center; border: 1px solid rgba(222,184,135,0.18); }
.wd2b1-feature i { font-size: 2.2rem; color: var(--wd2b1-gold); margin-bottom: 0.4rem; }
.wd2b1-feature h3 { font-size: 1.3rem; color: var(--wd2b1-gold-light); margin-bottom: 0.2rem; }
.wd2b1-feature p { font-size: 1.18rem; color: var(--wd2b1-text-muted); }

/* ---------- CTA & links ---------- */
.wd2b1-cta { background: linear-gradient(135deg, var(--wd2b1-primary) 0%, var(--wd2b1-primary-light) 100%); border-radius: var(--wd2b1-radius-lg); padding: 1.4rem; text-align: center; margin: 1rem 0; border: 1px solid var(--wd2b1-gold); }
.wd2b1-cta h2 { font-size: 1.7rem; color: var(--wd2b1-gold-light); margin-bottom: 0.4rem; }
.wd2b1-cta p { color: var(--wd2b1-cream); margin-bottom: 0.9rem; }
.wd2b1-cta .wd2b1-btn { background: var(--wd2b1-gold-light); color: var(--wd2b1-primary-dark); padding: 0.9rem 2rem; font-size: 1.4rem; }
.wd2b1-text-link { color: var(--wd2b1-gold-light); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- FAQ ---------- */
.wd2b1-faq-item { background: var(--wd2b1-bg-card); border-radius: var(--wd2b1-radius); padding: 1rem 1.1rem; margin-bottom: 0.7rem; border-left: 3px solid var(--wd2b1-gold); }
.wd2b1-faq-item h3 { color: var(--wd2b1-gold-light); font-size: 1.35rem; margin-bottom: 0.3rem; }
.wd2b1-faq-item p { color: var(--wd2b1-text-muted); font-size: 1.3rem; }

/* ---------- Winners / testimonials ---------- */
.wd2b1-winners { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.3rem 0 0.6rem; scroll-snap-type: x mandatory; }
.wd2b1-winner { flex: 0 0 64%; background: var(--wd2b1-bg-card-2); border-radius: var(--wd2b1-radius); padding: 0.9rem; scroll-snap-align: start; border: 1px solid rgba(222,184,135,0.2); }
.wd2b1-winner .wd2b1-winner-name { color: var(--wd2b1-gold-light); font-weight: 700; font-size: 1.3rem; }
.wd2b1-winner .wd2b1-winner-amount { color: var(--wd2b1-success); font-weight: 700; font-size: 1.6rem; margin: 0.2rem 0; }
.wd2b1-winner .wd2b1-winner-game { color: var(--wd2b1-text-dim); font-size: 1.18rem; }
.wd2b1-testimonial { background: var(--wd2b1-bg-card); border-radius: var(--wd2b1-radius); padding: 1rem 1.1rem; margin-bottom: 0.7rem; border-left: 3px solid var(--wd2b1-primary-light); }
.wd2b1-testimonial p { color: var(--wd2b1-cream); font-style: italic; margin-bottom: 0.4rem; }
.wd2b1-testimonial .wd2b1-stars { color: var(--wd2b1-gold); font-size: 1.2rem; }
.wd2b1-testimonial .wd2b1-author { color: var(--wd2b1-text-dim); font-size: 1.2rem; }

/* ---------- Payment chips ---------- */
.wd2b1-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wd2b1-pay { background: var(--wd2b1-bg-card-2); border: 1px solid rgba(222,184,135,0.25); border-radius: 2rem; padding: 0.6rem 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--wd2b1-cream); font-size: 1.25rem; }
.wd2b1-pay i { color: var(--wd2b1-gold); }

/* ---------- Footer ---------- */
.wd2b1-footer { background: var(--wd2b1-bg-deep); border-top: 2px solid var(--wd2b1-primary); padding: 1.6rem 0 8.5rem; margin-top: 1.5rem; }
.wd2b1-footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.wd2b1-footer-brand img { width: 2.6rem; height: 2.6rem; border-radius: 0.5rem; }
.wd2b1-footer-brand span { font-size: 1.5rem; font-weight: 700; color: var(--wd2b1-gold-light); }
.wd2b1-footer p { color: var(--wd2b1-text-muted); font-size: 1.25rem; margin-bottom: 0.9rem; }
.wd2b1-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.wd2b1-footer-promos .wd2b1-btn { padding: 0.55rem 1rem; font-size: 1.2rem; min-height: 0; }
.wd2b1-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding-top: 0.6rem; border-top: 1px solid rgba(222,184,135,0.15); }
.wd2b1-footer-links a { color: var(--wd2b1-text-dim); font-size: 1.2rem; }
.wd2b1-footer-links a:active { color: var(--wd2b1-gold-light); }
.wd2b1-copyright { text-align: center; color: var(--wd2b1-text-dim); font-size: 1.15rem; margin-top: 1rem; }

/* ---------- Mobile bottom nav ---------- */
.wd2b1-bottomnav { position: fixed; bottom: 0; left: 0; right: 0; height: 6rem; background: linear-gradient(90deg, var(--wd2b1-primary-dark) 0%, var(--wd2b1-primary) 50%, var(--wd2b1-primary-dark) 100%); border-top: 2px solid var(--wd2b1-gold); display: flex; justify-content: space-around; align-items: stretch; z-index: 1000; box-shadow: 0 -3px 12px rgba(0,0,0,0.4); }
.wd2b1-bottomnav-btn { flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; color: var(--wd2b1-gold-light); transition: transform 0.15s ease, color 0.2s ease; position: relative; }
.wd2b1-bottomnav-btn i, .wd2b1-bottomnav-btn .material-icons-outlined, .wd2b1-bottomnav-btn .material-icons { font-size: 2.2rem; }
.wd2b1-bottomnav-btn span { font-size: 1.05rem; }
.wd2b1-bottomnav-btn:active { transform: scale(0.88); }
.wd2b1-bottomnav-active { color: var(--wd2b1-cream); }
.wd2b1-bottomnav-active::after { content: ''; position: absolute; top: 0; width: 2.6rem; height: 0.25rem; background: var(--wd2b1-gold-light); border-radius: 0 0 0.3rem 0.3rem; }

/* ---------- Back to top ---------- */
.wd2b1-backtop { position: fixed; right: 1.2rem; bottom: 7rem; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--wd2b1-gold); color: var(--wd2b1-primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: var(--wd2b1-shadow); opacity: 0; pointer-events: none; transform: translateY(1rem); transition: opacity 0.25s ease, transform 0.25s ease; z-index: 999; }
.wd2b1-backtop-show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  body { background: linear-gradient(160deg, var(--wd2b1-bg-deep) 0%, var(--wd2b1-bg) 50%, var(--wd2b1-bg-deep) 100%); }
  .wd2b1-container { max-width: 760px; }
  .wd2b1-header-inner { max-width: 760px; }
  .wd2b1-grid { grid-template-columns: repeat(6, 1fr); }
  .wd2b1-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .wd2b1-bottomnav { display: none; }
  .wd2b1-footer { padding-bottom: 2rem; }
  main { padding-bottom: 0; }
}
@media (max-width: 768px) { main { padding-bottom: 7rem; } }
