/**
 * tk99.cfd - Core Design Stylesheet
 * Prefix: wcbf6- | Colors: #FFDEAD #DEE2E6 #141414 #FF69B4 #FF8C00
 * Mobile-first, max-width 430px
 */
:root {
  --wcbf6-primary: #FF8C00;
  --wcbf6-secondary: #FF69B4;
  --wcbf6-bg: #141414;
  --wcbf6-bg-card: #1e1e1e;
  --wcbf6-bg-card-hover: #2a2a2a;
  --wcbf6-text: #FFDEAD;
  --wcbf6-text-light: #DEE2E6;
  --wcbf6-text-muted: #8a8a8a;
  --wcbf6-border: #333;
  --wcbf6-success: #4ade80;
  --wcbf6-gradient-start: #FF8C00;
  --wcbf6-gradient-end: #FF69B4;
  --wcbf6-radius: 8px;
  --wcbf6-radius-lg: 12px;
  --wcbf6-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --wcbf6-header-height: 56px;
  --wcbf6-bottom-nav-height: 60px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--wcbf6-bg); color: var(--wcbf6-text-light);
  line-height: 1.5rem; font-size: 1.4rem; max-width: 430px;
  margin: 0 auto; min-height: 100vh; -webkit-font-smoothing: antialiased;
}
.wcbf6-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

/* Header */
.wcbf6-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--wcbf6-header-height);
  background: var(--wcbf6-bg); border-bottom: 1px solid var(--wcbf6-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000; transition: box-shadow 0.3s ease;
}
.wcbf6-header-scrolled { box-shadow: var(--wcbf6-shadow); }
.wcbf6-header-left { display: flex; align-items: center; gap: 0.8rem; }
.wcbf6-logo { width: 28px; height: 28px; border-radius: 6px; }
.wcbf6-site-name { font-size: 1.8rem; font-weight: 700; color: var(--wcbf6-primary); letter-spacing: 0.5px; }
.wcbf6-header-right { display: flex; align-items: center; gap: 0.6rem; }
.wcbf6-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--wcbf6-radius); font-size: 1.3rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  min-height: 36px; text-decoration: none;
}
.wcbf6-btn-register {
  background: linear-gradient(135deg, var(--wcbf6-gradient-start), var(--wcbf6-gradient-end)); color: #fff;
}
.wcbf6-btn-register:hover { transform: scale(1.03); box-shadow: 0 2px 8px rgba(255,140,0,0.4); }
.wcbf6-btn-login { background: transparent; color: var(--wcbf6-text); border: 1px solid var(--wcbf6-primary); }
.wcbf6-btn-login:hover { background: rgba(255,140,0,0.1); }
.wcbf6-menu-toggle { background: none; border: none; color: var(--wcbf6-text); font-size: 2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center; }

/* Mobile menu */
.wcbf6-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: #1a1a1a; z-index: 9999; transition: right 0.3s ease;
  padding: 2rem 1.6rem; overflow-y: auto;
}
.wcbf6-menu-active { right: 0; }
.wcbf6-mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--wcbf6-border);
}
.wcbf6-mobile-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--wcbf6-primary); }
.wcbf6-menu-close { background: none; border: none; color: var(--wcbf6-text-muted); font-size: 2.4rem; cursor: pointer; line-height: 1; }
.wcbf6-mobile-menu nav ul { list-style: none; }
.wcbf6-mobile-menu nav ul li { margin-bottom: 0.4rem; }
.wcbf6-mobile-menu nav ul li a {
  display: block; padding: 1rem 1.2rem; color: var(--wcbf6-text-light);
  text-decoration: none; font-size: 1.4rem; border-radius: var(--wcbf6-radius); transition: background 0.2s;
}
.wcbf6-mobile-menu nav ul li a:hover { background: var(--wcbf6-bg-card-hover); color: var(--wcbf6-primary); }

/* Overlay */
.wcbf6-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9998; display: none; }
.wcbf6-overlay-active { display: block; }

/* Main content */
main { padding-top: var(--wcbf6-header-height); }
@media (max-width: 768px) { main { padding-bottom: calc(var(--wcbf6-bottom-nav-height) + 20px); } }

/* Slider */
.wcbf6-slider { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 var(--wcbf6-radius-lg) var(--wcbf6-radius-lg); }
.wcbf6-slides-wrapper { position: relative; width: 100%; height: 180px; }
.wcbf6-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s; cursor: pointer; }
.wcbf6-slide-active { opacity: 1; }
.wcbf6-slide img { width: 100%; height: 100%; object-fit: cover; }
.wcbf6-slider-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.wcbf6-slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; border: none; transition: background 0.3s; }
.wcbf6-slider-dot-active { background: var(--wcbf6-primary); }

/* Section titles */
.wcbf6-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wcbf6-text); margin-bottom: 1.2rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--wcbf6-primary); display: flex; align-items: center; gap: 0.6rem;
}
.wcbf6-section-title i, .wcbf6-section-title .material-icons { color: var(--wcbf6-primary); font-size: 2rem; }

/* Game grid */
.wcbf6-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.6rem; }
.wcbf6-game-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; text-align: center; }
.wcbf6-game-item:hover { transform: translateY(-2px); }
.wcbf6-game-item img { width: 70px; height: 70px; border-radius: var(--wcbf6-radius); object-fit: cover; border: 2px solid var(--wcbf6-border); transition: border-color 0.2s; }
.wcbf6-game-item:hover img { border-color: var(--wcbf6-primary); }
.wcbf6-game-name { font-size: 1.1rem; color: var(--wcbf6-text-light); margin-top: 0.4rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Content sections */
.wcbf6-section { padding: 2rem 1.2rem; }
.wcbf6-card { background: var(--wcbf6-bg-card); border-radius: var(--wcbf6-radius-lg); padding: 1.6rem; margin-bottom: 1.6rem; border: 1px solid var(--wcbf6-border); }
.wcbf6-card h3 { color: var(--wcbf6-primary); font-size: 1.5rem; margin-bottom: 0.8rem; }
.wcbf6-card p, .wcbf6-card li { color: var(--wcbf6-text-light); font-size: 1.3rem; line-height: 1.6; }
.wcbf6-card ul, .wcbf6-card ol { padding-left: 1.6rem; margin-bottom: 0.8rem; }
.wcbf6-card li { margin-bottom: 0.4rem; }

/* Promo styling */
.wcbf6-promo-link { color: var(--wcbf6-primary); font-weight: 600; text-decoration: none; cursor: pointer; transition: color 0.2s; }
.wcbf6-promo-link:hover { color: var(--wcbf6-secondary); text-decoration: underline; }
.wcbf6-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--wcbf6-gradient-start), var(--wcbf6-gradient-end));
  color: #fff; padding: 1rem 2.4rem; border-radius: 30px; font-size: 1.5rem; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none; transition: all 0.2s; margin: 1rem 0; text-align: center;
}
.wcbf6-promo-btn:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(255,140,0,0.5); }

/* Footer */
.wcbf6-footer { background: #111; padding: 2.4rem 1.2rem 1.2rem; border-top: 1px solid var(--wcbf6-border); text-align: center; }
.wcbf6-footer-brand { color: var(--wcbf6-text-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.2rem; }
.wcbf6-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.wcbf6-footer-links a { color: var(--wcbf6-text-light); text-decoration: none; font-size: 1.2rem; padding: 0.4rem 0.8rem; border: 1px solid var(--wcbf6-border); border-radius: var(--wcbf6-radius); transition: all 0.2s; }
.wcbf6-footer-links a:hover { color: var(--wcbf6-primary); border-color: var(--wcbf6-primary); }
.wcbf6-footer-copy { color: var(--wcbf6-text-muted); font-size: 1.1rem; margin-top: 1rem; }

/* Bottom navigation */
.wcbf6-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px;
  height: var(--wcbf6-bottom-nav-height); background: linear-gradient(180deg, #1a1a1a, #111);
  border-top: 1px solid var(--wcbf6-border); display: flex; justify-content: space-around;
  align-items: center; z-index: 1000; padding: 0 0.4rem;
}
.wcbf6-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 52px; background: none; border: none; cursor: pointer;
  color: var(--wcbf6-text-muted); transition: all 0.2s; padding: 0.4rem; border-radius: var(--wcbf6-radius);
}
.wcbf6-bottom-nav-btn:hover, .wcbf6-bottom-nav-active { color: var(--wcbf6-primary); transform: scale(1.08); }
.wcbf6-bottom-nav-btn i, .wcbf6-bottom-nav-btn .material-icons, .wcbf6-bottom-nav-btn ion-icon, .wcbf6-bottom-nav-btn bi { font-size: 22px; }
.wcbf6-bottom-nav-btn .material-icons { font-size: 24px; }
.wcbf6-bottom-nav-btn span { font-size: 1rem; margin-top: 2px; font-weight: 500; }

/* Back to top */
.wcbf6-back-top {
  position: fixed; bottom: 80px; right: 16px; width: 40px; height: 40px;
  background: var(--wcbf6-primary); color: #fff; border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
}
.wcbf6-back-top-visible { opacity: 1; visibility: visible; }

/* Testimonials */
.wcbf6-testimonial { background: var(--wcbf6-bg-card); border-left: 3px solid var(--wcbf6-secondary); padding: 1.2rem; margin-bottom: 1rem; border-radius: 0 var(--wcbf6-radius) var(--wcbf6-radius) 0; }
.wcbf6-testimonial p { font-size: 1.3rem; font-style: italic; color: var(--wcbf6-text-light); }
.wcbf6-testimonial cite { display: block; margin-top: 0.6rem; font-size: 1.2rem; color: var(--wcbf6-primary); font-style: normal; }

/* Payment methods */
.wcbf6-payment-grid { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.wcbf6-payment-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.wcbf6-payment-item span { font-size: 1.2rem; color: var(--wcbf6-text-light); font-weight: 600; }
.wcbf6-payment-icon { width: 48px; height: 48px; border-radius: var(--wcbf6-radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; }

/* Winners showcase */
.wcbf6-winner-item { display: flex; align-items: center; gap: 1rem; padding: 0.8rem; background: var(--wcbf6-bg-card); border-radius: var(--wcbf6-radius); margin-bottom: 0.6rem; }
.wcbf6-winner-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--wcbf6-gradient-start), var(--wcbf6-gradient-end)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.wcbf6-winner-info { flex: 1; }
.wcbf6-winner-name { font-size: 1.3rem; font-weight: 600; color: var(--wcbf6-text); }
.wcbf6-winner-amount { font-size: 1.4rem; font-weight: 700; color: var(--wcbf6-success); }

/* Feature list */
.wcbf6-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.wcbf6-feature-item { background: var(--wcbf6-bg-card); padding: 1rem; border-radius: var(--wcbf6-radius); text-align: center; border: 1px solid var(--wcbf6-border); }
.wcbf6-feature-item i, .wcbf6-feature-item .material-icons { color: var(--wcbf6-primary); font-size: 2.2rem; margin-bottom: 0.4rem; }
.wcbf6-feature-item h4 { color: var(--wcbf6-text); font-size: 1.2rem; margin-bottom: 0.3rem; }
.wcbf6-feature-item p { font-size: 1.1rem; color: var(--wcbf6-text-muted); }

/* App download CTA */
.wcbf6-app-cta { background: linear-gradient(135deg, rgba(255,140,0,0.15), rgba(255,105,180,0.15)); border: 1px solid var(--wcbf6-primary); border-radius: var(--wcbf6-radius-lg); padding: 1.6rem; text-align: center; }
.wcbf6-app-cta h3 { color: var(--wcbf6-primary); font-size: 1.6rem; margin-bottom: 0.8rem; }

/* RTP table */
.wcbf6-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.wcbf6-rtp-table th { background: var(--wcbf6-bg-card-hover); color: var(--wcbf6-primary); padding: 0.6rem 0.8rem; text-align: left; border-bottom: 2px solid var(--wcbf6-primary); }
.wcbf6-rtp-table td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--wcbf6-border); color: var(--wcbf6-text-light); }
.wcbf6-rtp-table tr:hover td { background: var(--wcbf6-bg-card); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) { .wcbf6-bottom-nav { display: none; } }
/* Responsive tweaks */
@media (max-width: 360px) {
  .wcbf6-game-grid { grid-template-columns: repeat(3, 1fr); }
  .wcbf6-game-item img { width: 60px; height: 60px; }
  .wcbf6-btn { padding: 0.5rem 0.8rem; font-size: 1.2rem; }
}
