/**
 * ak444.css - Core Stylesheet
 * Website: ak444.sbs
 * Class prefix: wff99-
 * Color palette: #F0F0F0 | #FFDEAD | #0F0F23 | #FF5722
 */

/* CSS Variables */
:root {
  --wff99-primary: #FF5722;
  --wff99-secondary: #FFDEAD;
  --wff99-bg: #0F0F23;
  --wff99-bg-light: #1a1a3e;
  --wff99-bg-card: #161636;
  --wff99-text: #F0F0F0;
  --wff99-text-muted: #b0b0c8;
  --wff99-accent: #FF5722;
  --wff99-accent-hover: #FF7043;
  --wff99-border: #2a2a5a;
  --wff99-gold: #FFDEAD;
  --wff99-success: #4CAF50;
  --wff99-radius: 8px;
  --wff99-radius-lg: 12px;
  --wff99-shadow: 0 4px 12px rgba(0,0,0,0.3);
  --wff99-transition: all 0.3s ease;
}

/* 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-color: var(--wff99-bg);
  color: var(--wff99-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wff99-secondary); text-decoration: none; transition: var(--wff99-transition); }
a:hover { color: var(--wff99-primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.wff99-container { width: 100%; padding: 0 1.2rem; margin: 0 auto; }
.wff99-wrapper { padding: 1.2rem 0; }

/* Header */
.wff99-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--wff99-bg);
  border-bottom: 1px solid var(--wff99-border);
  max-width: 430px;
  margin: 0 auto;
}
.wff99-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; height: 5.2rem;
}
.wff99-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.wff99-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 4px; }
.wff99-logo-area span { font-size: 1.8rem; font-weight: 700; color: var(--wff99-gold); }
.wff99-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.wff99-btn-register, .wff99-btn-login {
  padding: 0.6rem 1.4rem; border: none; border-radius: var(--wff99-radius);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: var(--wff99-transition);
  min-height: 3.6rem;
}
.wff99-btn-register {
  background: var(--wff99-primary); color: #fff;
}
.wff99-btn-register:hover { background: var(--wff99-accent-hover); transform: scale(1.03); }
.wff99-btn-login {
  background: transparent; color: var(--wff99-gold);
  border: 1px solid var(--wff99-gold);
}
.wff99-btn-login:hover { background: var(--wff99-gold); color: var(--wff99-bg); }
.wff99-menu-toggle {
  background: none; border: none; color: var(--wff99-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.wff99-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(--wff99-transition);
}
.wff99-overlay-active { opacity: 1; visibility: visible; }
.wff99-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--wff99-bg-light); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 0;
}
.wff99-menu-active { right: 0; }
.wff99-mobile-menu .wff99-menu-header {
  padding: 0 1.6rem 1.6rem; border-bottom: 1px solid var(--wff99-border);
  display: flex; align-items: center; justify-content: space-between;
}
.wff99-mobile-menu .wff99-menu-header span { font-size: 1.6rem; font-weight: 700; color: var(--wff99-gold); }
.wff99-menu-close { background: none; border: none; color: var(--wff99-text); font-size: 2rem; cursor: pointer; }
.wff99-mobile-menu ul { padding: 1rem 0; }
.wff99-mobile-menu li a {
  display: block; padding: 1.2rem 1.6rem; color: var(--wff99-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--wff99-border);
  transition: var(--wff99-transition);
}
.wff99-mobile-menu li a:hover { background: var(--wff99-bg-card); color: var(--wff99-primary); }

/* Main Content */
.wff99-main { padding-top: 5.2rem; }
@media (max-width: 768px) {
  .wff99-main { padding-bottom: 80px; }
}

/* Carousel */
.wff99-carousel { position: relative; overflow: hidden; border-radius: var(--wff99-radius-lg); margin: 1rem 1.2rem; }
.wff99-carousel-slide {
  display: none; width: 100%; cursor: pointer;
  border-radius: var(--wff99-radius-lg); overflow: hidden;
}
.wff99-slide-active { display: block; }
.wff99-carousel-slide img { width: 100%; height: auto; border-radius: var(--wff99-radius-lg); }
.wff99-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.wff99-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
}
.wff99-dot-active { background: var(--wff99-primary); }

/* Section Titles */
.wff99-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wff99-gold);
  padding: 1.4rem 1.2rem 0.8rem; border-bottom: 2px solid var(--wff99-primary);
  margin: 0 1.2rem 1rem;
}
.wff99-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.wff99-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0 1.2rem 1rem;
}
.wff99-game-item { text-align: center; cursor: pointer; transition: var(--wff99-transition); }
.wff99-game-item:hover { transform: translateY(-2px); }
.wff99-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--wff99-radius); border: 1px solid var(--wff99-border);
}
.wff99-game-item span {
  display: block; font-size: 1.1rem; color: var(--wff99-text-muted);
  margin-top: 0.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Label */
.wff99-cat-label {
  display: inline-block; padding: 0.4rem 1rem;
  background: var(--wff99-bg-card); color: var(--wff99-gold);
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  margin: 1rem 1.2rem 0.6rem;
  border: 1px solid var(--wff99-border);
}

/* Cards */
.wff99-card {
  background: var(--wff99-bg-card); border-radius: var(--wff99-radius-lg);
  border: 1px solid var(--wff99-border); padding: 1.4rem;
  margin: 0.8rem 1.2rem;
}
.wff99-card h3 { font-size: 1.5rem; color: var(--wff99-gold); margin-bottom: 0.6rem; }
.wff99-card p { font-size: 1.3rem; color: var(--wff99-text-muted); line-height: 1.6; }

/* Promo Button */
.wff99-promo-btn {
  display: inline-block; padding: 1rem 2rem;
  background: var(--wff99-primary); color: #fff;
  border: none; border-radius: var(--wff99-radius);
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  transition: var(--wff99-transition); text-align: center;
  width: 100%; max-width: 300px; margin: 0.5rem auto;
}
.wff99-promo-btn:hover { background: var(--wff99-accent-hover); transform: scale(1.02); }

/* Footer */
.wff99-footer {
  background: var(--wff99-bg-light); border-top: 1px solid var(--wff99-border);
  padding: 2rem 1.2rem 1rem; margin-top: 2rem;
}
.wff99-footer-brand { font-size: 1.3rem; color: var(--wff99-text-muted); margin-bottom: 1rem; line-height: 1.6; }
.wff99-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.wff99-footer-links a {
  padding: 0.5rem 1rem; background: var(--wff99-bg-card);
  border: 1px solid var(--wff99-border); border-radius: 20px;
  font-size: 1.1rem; color: var(--wff99-text-muted); transition: var(--wff99-transition);
}
.wff99-footer-links a:hover { color: var(--wff99-primary); border-color: var(--wff99-primary); }
.wff99-footer-copy { font-size: 1.1rem; color: var(--wff99-text-muted); text-align: center; padding-top: 1rem; border-top: 1px solid var(--wff99-border); }

/* Bottom Navigation */
.wff99-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: var(--wff99-bg-light);
  border-top: 1px solid var(--wff99-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.wff99-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(--wff99-text-muted); cursor: pointer; transition: var(--wff99-transition);
  text-decoration: none; gap: 2px;
}
.wff99-bottom-nav-btn i, .wff99-bottom-nav-btn .material-icons,
.wff99-bottom-nav-btn ion-icon { font-size: 22px; }
.wff99-bottom-nav-btn span { font-size: 10px; }
.wff99-bottom-nav-btn:hover { color: var(--wff99-primary); }
.wff99-bottom-nav-btn:hover i, .wff99-bottom-nav-btn:hover .material-icons,
.wff99-bottom-nav-btn:hover ion-icon { transform: scale(1.15); }
.wff99-nav-active { color: var(--wff99-primary) !important; }

/* Hidden on desktop */
@media (min-width: 769px) {
  .wff99-bottom-nav { display: none; }
}
@media (min-width: 431px) {
  body { border-left: 1px solid var(--wff99-border); border-right: 1px solid var(--wff99-border); }
}

/* Utility Classes */
.wff99-text-center { text-align: center; }
.wff99-text-gold { color: var(--wff99-gold); }
.wff99-text-primary { color: var(--wff99-primary); }
.wff99-mt-1 { margin-top: 0.8rem; }
.wff99-mb-1 { margin-bottom: 0.8rem; }
.wff99-p-1 { padding: 0.8rem; }

/* FAQ Section */
.wff99-faq-item { border-bottom: 1px solid var(--wff99-border); padding: 1rem 0; }
.wff99-faq-item h4 { font-size: 1.3rem; color: var(--wff99-gold); margin-bottom: 0.4rem; }
.wff99-faq-item p { font-size: 1.2rem; color: var(--wff99-text-muted); }

/* Winner List */
.wff99-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--wff99-border);
}
.wff99-winner-item img { width: 3.2rem; height: 3.2rem; border-radius: 50%; }
.wff99-winner-info { flex: 1; }
.wff99-winner-info span { font-size: 1.2rem; color: var(--wff99-text); }
.wff99-winner-amount { font-size: 1.3rem; color: var(--wff99-success); font-weight: 600; }

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

/* Testimonials */
.wff99-testimonial {
  background: var(--wff99-bg-card); border-radius: var(--wff99-radius);
  padding: 1rem; margin: 0.6rem 0; border-left: 3px solid var(--wff99-primary);
}
.wff99-testimonial p { font-size: 1.2rem; color: var(--wff99-text-muted); font-style: italic; }
.wff99-testimonial .wff99-author { font-size: 1.1rem; color: var(--wff99-gold); margin-top: 0.4rem; }

/* Back to Top */
.wff99-back-top {
  position: fixed; bottom: 72px; right: 16px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--wff99-primary); color: #fff; border: none;
  font-size: 1.8rem; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--wff99-shadow);
}
