/**
 * bd8.click - Main Stylesheet
 * Class prefix: wd4f9- | Mobile-first dark theme
 * Colors: #F8F9FA (text) | #8B4513 (primary) | #1A1A1A (bg) | #BF360C (accent)
 */
:root {
  --wd4f9-primary: #8B4513;
  --wd4f9-accent: #BF360C;
  --wd4f9-bg: #1A1A1A;
  --wd4f9-bg2: #242424;
  --wd4f9-bg3: #2E2E2E;
  --wd4f9-text: #F8F9FA;
  --wd4f9-text-muted: #B0B0B0;
  --wd4f9-gold: #D4A04A;
  --wd4f9-radius: 8px;
  --wd4f9-radius-sm: 4px;
  --wd4f9-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --wd4f9-transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--wd4f9-bg);
  color: var(--wd4f9-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--wd4f9-gold); text-decoration: none; transition: var(--wd4f9-transition); }
a:hover { color: var(--wd4f9-text); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== HEADER ========== */
.wd4f9-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--wd4f9-bg2);
  z-index: 1000;
  border-bottom: 1px solid rgba(139,69,19,0.3);
  padding: 0 1.2rem; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s ease;
}
.wd4f9-header-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.wd4f9-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.wd4f9-logo img { width: 32px; height: 32px; border-radius: 6px; }
.wd4f9-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--wd4f9-gold); letter-spacing: 1px; }
.wd4f9-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.wd4f9-btn-register, .wd4f9-btn-login {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  padding: 0.5rem 1.2rem; border-radius: 20px;
  cursor: pointer; border: none; transition: var(--wd4f9-transition); min-height: 32px;
}
.wd4f9-btn-register {
  background: linear-gradient(135deg, var(--wd4f9-accent), var(--wd4f9-primary)); color: #fff;
}
.wd4f9-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(191,54,12,0.4); }
.wd4f9-btn-login {
  background: transparent; color: var(--wd4f9-gold); border: 1px solid var(--wd4f9-gold);
}
.wd4f9-btn-login:hover { background: rgba(212,160,74,0.1); }
.wd4f9-hamburger {
  background: none; border: none; color: var(--wd4f9-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* ========== MOBILE MENU ========== */
.wd4f9-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: var(--wd4f9-transition);
}
.wd4f9-overlay-active { opacity: 1; visibility: visible; }
.wd4f9-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--wd4f9-bg2); z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 2rem 1.5rem; overflow-y: auto;
}
.wd4f9-menu-active { right: 0; }
.wd4f9-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139,69,19,0.3);
}
.wd4f9-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--wd4f9-gold); }
.wd4f9-menu-close {
  background: none; border: none; color: var(--wd4f9-text-muted);
  font-size: 2rem; cursor: pointer;
}
.wd4f9-menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.wd4f9-menu-links a {
  display: block; padding: 1rem; font-size: 1.4rem; color: var(--wd4f9-text);
  border-radius: var(--wd4f9-radius-sm); transition: var(--wd4f9-transition);
}
.wd4f9-menu-links a:hover { background: var(--wd4f9-bg3); color: var(--wd4f9-gold); }

/* ========== CAROUSEL ========== */
.wd4f9-carousel {
  position: relative; margin-top: 52px; overflow: hidden;
  border-radius: 0 0 var(--wd4f9-radius) var(--wd4f9-radius);
}
.wd4f9-slides-wrapper { position: relative; width: 100%; padding-top: 46.5%; }
.wd4f9-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.wd4f9-slide img { width: 100%; height: 100%; object-fit: cover; }
.wd4f9-slide-active { opacity: 1; }
.wd4f9-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.wd4f9-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--wd4f9-transition);
}
.wd4f9-dot-active { background: var(--wd4f9-gold); width: 20px; border-radius: 4px; }

/* ========== MAIN CONTENT ========== */
.wd4f9-main { padding: 1.2rem; padding-bottom: 80px; }
.wd4f9-container { max-width: 430px; margin: 0 auto; }
.wd4f9-wrapper { padding: 0 1.2rem; }

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

/* H1 */
.wd4f9-h1 {
  font-size: 1.8rem; font-weight: 700; color: var(--wd4f9-gold);
  margin: 1.2rem 0 0.8rem; line-height: 1.4;
}

/* ========== GAME GRID ========== */
.wd4f9-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin-bottom: 1rem;
}
.wd4f9-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--wd4f9-transition);
  border-radius: var(--wd4f9-radius); padding: 0.4rem;
}
.wd4f9-game-item:hover { transform: translateY(-2px); background: var(--wd4f9-bg3); }
.wd4f9-game-icon {
  width: 64px; height: 64px; border-radius: var(--wd4f9-radius);
  object-fit: cover; border: 1px solid rgba(139,69,19,0.2);
}
.wd4f9-game-name {
  font-size: 1rem; color: var(--wd4f9-text-muted); text-align: center;
  margin-top: 0.3rem; line-height: 1.3;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ========== CATEGORY TABS ========== */
.wd4f9-cat-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.5rem 0; margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.wd4f9-cat-tabs::-webkit-scrollbar { display: none; }
.wd4f9-cat-tab {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  padding: 0.5rem 1.2rem; border-radius: 20px;
  border: 1px solid rgba(139,69,19,0.4);
  background: transparent; color: var(--wd4f9-text-muted);
  cursor: pointer; white-space: nowrap; transition: var(--wd4f9-transition);
}
.wd4f9-cat-tab:hover { border-color: var(--wd4f9-gold); color: var(--wd4f9-gold); }
.wd4f9-tab-active {
  background: linear-gradient(135deg, var(--wd4f9-primary), var(--wd4f9-accent));
  color: #fff; border-color: transparent;
}

/* ========== CARDS ========== */
.wd4f9-card {
  background: var(--wd4f9-bg2); border-radius: var(--wd4f9-radius);
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(139,69,19,0.15);
}
.wd4f9-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--wd4f9-gold); margin-bottom: 0.8rem; }
.wd4f9-card h3 { font-size: 1.3rem; font-weight: 600; color: var(--wd4f9-text); margin: 1rem 0 0.5rem; }
.wd4f9-card p { font-size: 1.3rem; color: var(--wd4f9-text-muted); line-height: 1.7; margin-bottom: 0.6rem; }
.wd4f9-card ul { padding-left: 1.2rem; }
.wd4f9-card li { font-size: 1.3rem; color: var(--wd4f9-text-muted); line-height: 1.7; margin-bottom: 0.3rem; list-style: disc; }

/* ========== CTA BOX ========== */
.wd4f9-cta-box {
  background: linear-gradient(135deg, var(--wd4f9-primary), var(--wd4f9-accent));
  border-radius: var(--wd4f9-radius); padding: 1.5rem;
  text-align: center; margin: 1.2rem 0; cursor: pointer;
  transition: var(--wd4f9-transition);
}
.wd4f9-cta-box:hover { transform: scale(1.02); box-shadow: var(--wd4f9-shadow); }
.wd4f9-cta-title { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.wd4f9-cta-desc { font-size: 1.2rem; color: rgba(255,255,255,0.85); }

/* ========== FEATURES GRID ========== */
.wd4f9-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0; }
.wd4f9-feature-item {
  background: var(--wd4f9-bg3); border-radius: var(--wd4f9-radius);
  padding: 1rem; text-align: center;
}
.wd4f9-feature-item i { font-size: 2.4rem; color: var(--wd4f9-gold); margin-bottom: 0.5rem; }
.wd4f9-feature-item h4 { font-size: 1.2rem; color: var(--wd4f9-text); margin-bottom: 0.3rem; }
.wd4f9-feature-item p { font-size: 1.1rem; color: var(--wd4f9-text-muted); }

/* ========== PAYMENT SECTION ========== */
.wd4f9-payment-grid { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.wd4f9-payment-item {
  background: var(--wd4f9-bg3); border-radius: var(--wd4f9-radius);
  padding: 0.8rem 1.5rem; text-align: center;
}
.wd4f9-payment-item span { font-size: 1.3rem; font-weight: 600; color: var(--wd4f9-gold); }

/* ========== PARTNERS ========== */
.wd4f9-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin: 1rem 0; }
.wd4f9-partner-tag {
  font-size: 1.1rem; color: var(--wd4f9-text-muted);
  background: var(--wd4f9-bg3); padding: 0.3rem 0.8rem; border-radius: 12px;
}

/* ========== TESTIMONIALS ========== */
.wd4f9-testimonial {
  background: var(--wd4f9-bg3); border-radius: var(--wd4f9-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--wd4f9-gold);
}
.wd4f9-testimonial p { font-size: 1.2rem; color: var(--wd4f9-text-muted); line-height: 1.6; }
.wd4f9-testimonial-author { font-size: 1.1rem; color: var(--wd4f9-gold); margin-top: 0.4rem; }

/* ========== WINNERS ========== */
.wd4f9-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(139,69,19,0.1);
}
.wd4f9-winner-name { font-size: 1.2rem; color: var(--wd4f9-text); }
.wd4f9-winner-game { font-size: 1.1rem; color: var(--wd4f9-text-muted); }
.wd4f9-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--wd4f9-gold); }

/* ========== RTP TABLE ========== */
.wd4f9-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(139,69,19,0.1);
}
.wd4f9-rtp-game { font-size: 1.2rem; color: var(--wd4f9-text); flex: 1; }
.wd4f9-rtp-value { font-size: 1.3rem; font-weight: 700; color: #4CAF50; }

/* ========== FOOTER ========== */
.wd4f9-footer {
  background: var(--wd4f9-bg2); padding: 1.5rem 1.2rem 2rem;
  border-top: 1px solid rgba(139,69,19,0.2);
}
.wd4f9-footer-text {
  font-size: 1.2rem; color: var(--wd4f9-text-muted);
  text-align: center; line-height: 1.7; margin-bottom: 1rem;
}
.wd4f9-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1rem 0; }
.wd4f9-footer-links a { font-size: 1.1rem; color: var(--wd4f9-text-muted); padding: 0.3rem 0.6rem; }
.wd4f9-footer-links a:hover { color: var(--wd4f9-gold); }
.wd4f9-footer-promos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0.8rem 0; }
.wd4f9-footer-promos button {
  font-family: 'Hind Siliguri', sans-serif; font-size: 1.1rem;
  padding: 0.5rem 1rem; border-radius: 16px;
  border: 1px solid var(--wd4f9-primary); background: transparent;
  color: var(--wd4f9-gold); cursor: pointer; transition: var(--wd4f9-transition);
}
.wd4f9-footer-promos button:hover { background: var(--wd4f9-primary); color: #fff; }
.wd4f9-copyright { text-align: center; font-size: 1rem; color: rgba(255,255,255,0.35); margin-top: 1rem; }

/* ========== BOTTOM NAVIGATION ========== */
.wd4f9-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 60px;
  background: var(--wd4f9-bg2);
  border-top: 1px solid rgba(139,69,19,0.3);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 0.4rem;
}
.wd4f9-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 56px; min-height: 56px; background: none; border: none;
  cursor: pointer; color: var(--wd4f9-text-muted);
  transition: var(--wd4f9-transition); padding: 0.3rem; border-radius: 8px;
}
.wd4f9-nav-btn:hover, .wd4f9-nav-btn:focus { color: var(--wd4f9-gold); }
.wd4f9-nav-btn:active { transform: scale(0.92); }
.wd4f9-nav-icon { font-size: 2.2rem; line-height: 1; margin-bottom: 0.1rem; }
.wd4f9-nav-label { font-size: 0.9rem; line-height: 1.2; font-family: 'Hind Siliguri', sans-serif; }

/* ========== BACK TO TOP ========== */
.wd4f9-back-top {
  position: fixed; bottom: 72px; right: 12px;
  width: 40px; height: 40px;
  background: var(--wd4f9-primary); color: #fff;
  border: none; border-radius: 50%; font-size: 1.8rem;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  z-index: 999; box-shadow: var(--wd4f9-shadow); transition: var(--wd4f9-transition);
}
.wd4f9-back-top:hover { background: var(--wd4f9-accent); transform: scale(1.1); }

/* ========== FAQ ========== */
.wd4f9-faq-item { margin-bottom: 1rem; }
.wd4f9-faq-q { font-size: 1.3rem; font-weight: 600; color: var(--wd4f9-gold); margin-bottom: 0.3rem; }
.wd4f9-faq-a { font-size: 1.2rem; color: var(--wd4f9-text-muted); line-height: 1.6; }

/* ========== PROMO TEXT LINK ========== */
.wd4f9-promo-link {
  color: var(--wd4f9-gold); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--wd4f9-gold); transition: var(--wd4f9-transition);
}
.wd4f9-promo-link:hover { color: var(--wd4f9-accent); border-color: var(--wd4f9-accent); }

/* ========== UTILITIES ========== */
.wd4f9-text-center { text-align: center; }
.wd4f9-mt-1 { margin-top: 0.8rem; }
.wd4f9-mb-1 { margin-bottom: 0.8rem; }
.wd4f9-hidden { display: none; }

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  .wd4f9-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .wd4f9-main { padding-bottom: 80px; }
}
