/* bdbje.sbs - Core Stylesheet */
/* All classes prefixed with wf8f1- for namespace isolation */

:root {
  --wf8f1-primary: #DAA520;
  --wf8f1-secondary: #B8860B;
  --wf8f1-bg: #333333;
  --wf8f1-bg-dark: #1a1a1a;
  --wf8f1-bg-card: #2a2a2a;
  --wf8f1-bg-light: #3d3d3d;
  --wf8f1-text: #FFEF94;
  --wf8f1-text-light: #fff8dc;
  --wf8f1-text-muted: #c4b87a;
  --wf8f1-accent: #DAA520;
  --wf8f1-border: #555555;
  --wf8f1-radius: 8px;
  --wf8f1-radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--wf8f1-bg);
  color: var(--wf8f1-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-text-size-adjust: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--wf8f1-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.wf8f1-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--wf8f1-bg-dark);
  border-bottom: 2px solid var(--wf8f1-secondary);
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; height: 5rem;
}
.wf8f1-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.wf8f1-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.wf8f1-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--wf8f1-primary); }
.wf8f1-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.wf8f1-header-actions button {
  padding: 0.5rem 1.2rem; border: none; border-radius: var(--wf8f1-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.wf8f1-btn-register {
  background: linear-gradient(135deg, var(--wf8f1-primary), var(--wf8f1-secondary));
  color: var(--wf8f1-bg-dark);
}
.wf8f1-btn-login {
  background: transparent; border: 1px solid var(--wf8f1-primary) !important;
  color: var(--wf8f1-primary);
}
.wf8f1-btn-register:hover, .wf8f1-btn-login:hover { opacity: 0.85; transform: scale(1.03); }
.wf8f1-menu-toggle {
  background: none; border: none; color: var(--wf8f1-text); font-size: 2rem;
  cursor: pointer; padding: 0.3rem; display: flex; align-items: center;
}

/* Mobile Menu */
.wf8f1-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.wf8f1-overlay-active { opacity: 1; visibility: visible; }
.wf8f1-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 260px; height: 100%;
  background: var(--wf8f1-bg-dark); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem; overflow-y: auto;
  border-left: 2px solid var(--wf8f1-secondary);
}
.wf8f1-menu-active { right: 0; }
.wf8f1-mobile-menu .wf8f1-menu-close {
  background: none; border: none; color: var(--wf8f1-text);
  font-size: 2.2rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.wf8f1-mobile-menu ul { list-style: none; margin-top: 3rem; }
.wf8f1-mobile-menu li { border-bottom: 1px solid var(--wf8f1-border); }
.wf8f1-mobile-menu a {
  display: block; padding: 1.2rem 0.5rem; color: var(--wf8f1-text);
  font-size: 1.4rem; transition: color 0.2s;
}
.wf8f1-mobile-menu a:hover { color: var(--wf8f1-primary); }

/* Main Content */
.wf8f1-main { padding-top: 5.5rem; }

/* Carousel */
.wf8f1-carousel {
  position: relative; overflow: hidden; margin: 0.5rem 0;
  border-radius: 0 0 var(--wf8f1-radius-lg) var(--wf8f1-radius-lg);
}
.wf8f1-carousel-track { display: flex; transition: transform 0.5s ease; }
.wf8f1-carousel-slide {
  min-width: 100%; cursor: pointer; position: relative;
}
.wf8f1-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.wf8f1-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.wf8f1-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,239,148,0.4); cursor: pointer; transition: all 0.3s;
}
.wf8f1-dot-active { background: var(--wf8f1-primary); transform: scale(1.3); }

/* Section */
.wf8f1-section {
  padding: 1.5rem 1rem; margin-bottom: 0.5rem;
}
.wf8f1-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--wf8f1-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wf8f1-secondary);
  display: flex; align-items: center; gap: 0.6rem;
}
.wf8f1-section-title i { font-size: 1.8rem; }

/* Game Grid */
.wf8f1-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.wf8f1-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  background: var(--wf8f1-bg-card); border-radius: var(--wf8f1-radius);
  padding: 0.5rem; border: 1px solid var(--wf8f1-border);
}
.wf8f1-game-item:hover { transform: translateY(-2px); border-color: var(--wf8f1-primary); }
.wf8f1-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.3rem;
}
.wf8f1-game-item p {
  font-size: 1rem; color: var(--wf8f1-text); line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Tabs */
.wf8f1-cat-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 1rem;
  margin-bottom: 1rem; -webkit-overflow-scrolling: touch;
}
.wf8f1-cat-tab {
  padding: 0.5rem 1rem; border-radius: 2rem; white-space: nowrap;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  background: var(--wf8f1-bg-light); color: var(--wf8f1-text-muted);
  border: 1px solid var(--wf8f1-border); transition: all 0.2s;
}
.wf8f1-cat-tab:hover { background: var(--wf8f1-secondary); color: var(--wf8f1-text); }

/* Card */
.wf8f1-card {
  background: var(--wf8f1-bg-card); border-radius: var(--wf8f1-radius-lg);
  padding: 1.2rem; border: 1px solid var(--wf8f1-border);
  margin-bottom: 1rem;
}
.wf8f1-card h3 {
  font-size: 1.5rem; color: var(--wf8f1-primary); margin-bottom: 0.8rem;
}
.wf8f1-card p {
  font-size: 1.3rem; color: var(--wf8f1-text-muted); line-height: 1.8rem;
}

/* Promo Button */
.wf8f1-promo-btn {
  display: inline-block; padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--wf8f1-primary), var(--wf8f1-secondary));
  color: var(--wf8f1-bg-dark); font-weight: 700; font-size: 1.4rem;
  border-radius: var(--wf8f1-radius-lg); cursor: pointer;
  border: none; text-align: center; transition: all 0.2s;
}
.wf8f1-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(218,165,32,0.4); }
.wf8f1-promo-link {
  color: var(--wf8f1-primary); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--wf8f1-primary);
}
.wf8f1-promo-link:hover { color: var(--wf8f1-text-light); }

/* Text Content */
.wf8f1-content { padding: 1rem; }
.wf8f1-content h1 {
  font-size: 2rem; color: var(--wf8f1-primary); margin-bottom: 1rem; line-height: 2.4rem;
}
.wf8f1-content h2 {
  font-size: 1.7rem; color: var(--wf8f1-primary); margin: 1.5rem 0 0.8rem;
  border-left: 3px solid var(--wf8f1-secondary); padding-left: 0.8rem;
}
.wf8f1-content h3 {
  font-size: 1.5rem; color: var(--wf8f1-accent); margin: 1rem 0 0.5rem;
}
.wf8f1-content p {
  font-size: 1.3rem; color: var(--wf8f1-text-muted); line-height: 2rem; margin-bottom: 0.8rem;
}
.wf8f1-content ul, .wf8f1-content ol {
  padding-left: 1.5rem; margin-bottom: 0.8rem;
}
.wf8f1-content li {
  font-size: 1.3rem; color: var(--wf8f1-text-muted); line-height: 2rem; margin-bottom: 0.3rem;
}

/* Winner Strip */
.wf8f1-winner-strip {
  display: flex; gap: 0.8rem; overflow-x: auto; padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.wf8f1-winner-card {
  min-width: 120px; background: var(--wf8f1-bg-light);
  border-radius: var(--wf8f1-radius); padding: 0.6rem;
  text-align: center; border: 1px solid var(--wf8f1-border);
}
.wf8f1-winner-card .wf8f1-winner-name {
  font-size: 1.1rem; color: var(--wf8f1-primary); font-weight: 600;
}
.wf8f1-winner-card .wf8f1-winner-amount {
  font-size: 1.3rem; color: var(--wf8f1-text-light); font-weight: 700;
}

/* Payment Icons */
.wf8f1-payment-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center;
  justify-content: center; padding: 1rem 0;
}
.wf8f1-payment-item {
  background: var(--wf8f1-bg-light); border-radius: var(--wf8f1-radius);
  padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--wf8f1-text);
  border: 1px solid var(--wf8f1-border);
}

/* Testimonials */
.wf8f1-testimonial {
  background: var(--wf8f1-bg-card); border-radius: var(--wf8f1-radius-lg);
  padding: 1rem; margin-bottom: 0.8rem; border-left: 3px solid var(--wf8f1-primary);
}
.wf8f1-testimonial p { font-size: 1.2rem; color: var(--wf8f1-text-muted); font-style: italic; }
.wf8f1-testimonial span { font-size: 1.1rem; color: var(--wf8f1-primary); font-weight: 600; }

/* Footer */
.wf8f1-footer {
  background: var(--wf8f1-bg-dark); padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--wf8f1-secondary);
  text-align: center;
}
.wf8f1-footer-desc {
  font-size: 1.2rem; color: var(--wf8f1-text-muted); line-height: 1.8rem;
  margin-bottom: 1rem;
}
.wf8f1-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-bottom: 1rem;
}
.wf8f1-footer-link {
  background: var(--wf8f1-bg-light); color: var(--wf8f1-text);
  padding: 0.4rem 0.8rem; border-radius: var(--wf8f1-radius);
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
}
.wf8f1-footer-link:hover { background: var(--wf8f1-secondary); }
.wf8f1-footer-copy {
  font-size: 1rem; color: var(--wf8f1-text-muted); opacity: 0.7;
  margin-top: 0.5rem;
}

/* Bottom Nav */
.wf8f1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; max-width: 430px; margin: 0 auto;
  background: var(--wf8f1-bg-dark);
  border-top: 2px solid var(--wf8f1-secondary);
  display: flex; justify-content: space-around;
  height: 60px; padding: 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}
.wf8f1-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; background: none; border: none;
  color: var(--wf8f1-text-muted); cursor: pointer; transition: all 0.2s;
  padding: 0.3rem; position: relative;
}
.wf8f1-bottom-nav-btn i, .wf8f1-bottom-nav-btn .material-icons {
  font-size: 22px; margin-bottom: 2px;
}
.wf8f1-bottom-nav-btn span {
  font-size: 1rem; white-space: nowrap;
}
.wf8f1-bottom-nav-btn:hover, .wf8f1-bottom-nav-btn.wf8f1-nav-active {
  color: var(--wf8f1-primary);
}
.wf8f1-bottom-nav-btn.wf8f1-nav-active::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; background: var(--wf8f1-primary); border-radius: 0 0 3px 3px;
}

/* CTA Banner */
.wf8f1-cta-banner {
  background: linear-gradient(135deg, var(--wf8f1-secondary), var(--wf8f1-bg-dark));
  border: 2px solid var(--wf8f1-primary); border-radius: var(--wf8f1-radius-lg);
  padding: 1.5rem; text-align: center; margin: 1rem;
}
.wf8f1-cta-banner h3 {
  font-size: 1.6rem; color: var(--wf8f1-primary); margin-bottom: 0.5rem;
}
.wf8f1-cta-banner p {
  font-size: 1.2rem; color: var(--wf8f1-text-muted); margin-bottom: 1rem;
}

/* FAQ */
.wf8f1-faq-item {
  border-bottom: 1px solid var(--wf8f1-border); padding: 1rem 0;
}
.wf8f1-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--wf8f1-primary); margin-bottom: 0.3rem;
}
.wf8f1-faq-a {
  font-size: 1.2rem; color: var(--wf8f1-text-muted); line-height: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .wf8f1-main { padding-bottom: 75px; }
}
@media (min-width: 769px) {
  .wf8f1-bottom-nav { display: none; }
  .wf8f1-menu-toggle { display: none; }
}
