/*
 * Sg77 - Design Stylesheet
 * Prefix: wdb82-
 * Mobile-first dark theme
 * Colors: #1A1A2E (bg), #DEE2E6 (text), #26A69A (teal), #AFEEEE (light blue)
 */

:root {
  --wdb82-primary: #26A69A;
  --wdb82-bg: #1A1A2E;
  --wdb82-bg-light: #23233a;
  --wdb82-bg-card: #2a2a45;
  --wdb82-text: #DEE2E6;
  --wdb82-text-muted: #9ca3af;
  --wdb82-accent: #26A69A;
  --wdb82-accent-light: #AFEEEE;
  --wdb82-border: #35355a;
  --wdb82-gold: #FFD700;
  --wdb82-danger: #ef4444;
  --wdb82-header-h: 56px;
  --wdb82-bottom-nav-h: 60px;
  --wdb82-radius: 8px;
  --wdb82-radius-lg: 12px;
  --wdb82-shadow: 0 4px 12px rgba(0,0,0,0.35);
  --wdb82-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
*, *::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: var(--wdb82-font);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--wdb82-text);
  background: var(--wdb82-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}
a { color: var(--wdb82-accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--wdb82-primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ====== HEADER ====== */
.wdb82-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wdb82-header-h);
  background: var(--wdb82-bg);
  border-bottom: 1px solid var(--wdb82-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 430px; margin: 0 auto;
}
.wdb82-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.wdb82-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.wdb82-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--wdb82-primary); }
.wdb82-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.wdb82-btn-register {
  background: linear-gradient(135deg, var(--wdb82-primary), #1e8a7e);
  color: #fff; padding: 0.6rem 1.4rem; border-radius: var(--wdb82-radius);
  font-size: 1.2rem; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.wdb82-btn-register:hover { transform: scale(1.04); box-shadow: 0 2px 8px rgba(38,166,154,0.4); }
.wdb82-btn-login {
  background: transparent; color: var(--wdb82-accent-light);
  border: 1px solid var(--wdb82-primary); padding: 0.55rem 1.2rem;
  border-radius: var(--wdb82-radius); font-size: 1.2rem; font-weight: 500;
  transition: background 0.2s;
}
.wdb82-btn-login:hover { background: rgba(38,166,154,0.15); }
.wdb82-menu-toggle {
  color: var(--wdb82-text); font-size: 2.2rem; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}

/* ====== MOBILE MENU ====== */
.wdb82-menu-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.wdb82-overlay-active { opacity: 1; pointer-events: auto; }
.wdb82-mobile-menu {
  position: fixed; top: 0; right: -280px; z-index: 9999;
  width: 260px; height: 100vh;
  background: var(--wdb82-bg-light);
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}
.wdb82-menu-active { right: 0; }
.wdb82-mobile-menu .wdb82-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 2.2rem; color: var(--wdb82-text-muted);
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.wdb82-mobile-menu nav { margin-top: 3rem; }
.wdb82-mobile-menu nav a {
  display: block; padding: 1rem 0; color: var(--wdb82-text);
  font-size: 1.4rem; border-bottom: 1px solid var(--wdb82-border);
  transition: color 0.2s;
}
.wdb82-mobile-menu nav a:hover { color: var(--wdb82-primary); }

/* ====== MAIN CONTENT ====== */
.wdb82-main {
  padding-top: calc(var(--wdb82-header-h) + 0.8rem);
  padding-bottom: 1.6rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .wdb82-main { padding-bottom: calc(var(--wdb82-bottom-nav-h) + 1.6rem); }
}

/* ====== CAROUSEL ====== */
.wdb82-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--wdb82-radius-lg); margin-bottom: 1.6rem;
}
.wdb82-carousel-slide {
  display: none; width: 100%; aspect-ratio: 16/7; object-fit: cover; cursor: pointer;
}
.wdb82-slide-active { display: block; }
.wdb82-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.wdb82-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: background 0.2s;
}
.wdb82-dot-active { background: var(--wdb82-primary); }

/* ====== SECTIONS ====== */
.wdb82-section { padding: 1.6rem 1.2rem; }
.wdb82-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wdb82-text);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--wdb82-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.wdb82-section-title i { color: var(--wdb82-primary); font-size: 2rem; }

/* ====== GAME GRID ====== */
.wdb82-category-title {
  font-size: 1.5rem; font-weight: 600; color: var(--wdb82-accent-light);
  margin: 1.6rem 0 0.8rem; padding-left: 0.4rem;
  border-left: 3px solid var(--wdb82-primary);
}
.wdb82-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin-bottom: 1rem;
}
.wdb82-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.15s;
}
.wdb82-game-item:hover { transform: translateY(-2px); }
.wdb82-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--wdb82-radius);
  border: 1px solid var(--wdb82-border);
  margin-bottom: 0.3rem;
}
.wdb82-game-item span {
  font-size: 1.1rem; color: var(--wdb82-text-muted);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ====== CARDS & INFO BLOCKS ====== */
.wdb82-card {
  background: var(--wdb82-bg-card); border-radius: var(--wdb82-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem; box-shadow: var(--wdb82-shadow);
}
.wdb82-card h3 {
  font-size: 1.5rem; color: var(--wdb82-accent-light); margin-bottom: 0.8rem;
}
.wdb82-card p { color: var(--wdb82-text-muted); font-size: 1.3rem; line-height: 1.6; }
.wdb82-card p a { color: var(--wdb82-primary); font-weight: 600; }

/* ====== STATS GRID ====== */
.wdb82-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.wdb82-stat-item {
  background: var(--wdb82-bg-light); border-radius: var(--wdb82-radius);
  padding: 1rem; text-align: center; border: 1px solid var(--wdb82-border);
}
.wdb82-stat-item .wdb82-stat-value {
  font-size: 2rem; font-weight: 700; color: var(--wdb82-primary);
}
.wdb82-stat-item .wdb82-stat-label {
  font-size: 1.1rem; color: var(--wdb82-text-muted); margin-top: 0.3rem;
}

/* ====== WINNERS LIST ====== */
.wdb82-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.wdb82-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--wdb82-bg-light); padding: 0.8rem 1rem;
  border-radius: var(--wdb82-radius); border-left: 3px solid var(--wdb82-primary);
}
.wdb82-winner-name { font-size: 1.2rem; color: var(--wdb82-text); font-weight: 500; }
.wdb82-winner-amount { font-size: 1.3rem; color: var(--wdb82-gold); font-weight: 700; }
.wdb82-winner-game { font-size: 1.1rem; color: var(--wdb82-text-muted); }

/* ====== CTA BUTTONS ====== */
.wdb82-cta-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--wdb82-primary), #1e8a7e);
  color: #fff; text-align: center; padding: 1.4rem;
  border-radius: var(--wdb82-radius-lg); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(38,166,154,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  margin: 1.2rem 0;
}
.wdb82-cta-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(38,166,154,0.5);
  color: #fff;
}
.wdb82-cta-secondary {
  background: var(--wdb82-bg-card); border: 2px solid var(--wdb82-primary);
  color: var(--wdb82-accent-light); box-shadow: none;
}
.wdb82-cta-secondary:hover { background: rgba(38,166,154,0.1); color: var(--wdb82-accent-light); }

/* ====== TESTIMONIALS ====== */
.wdb82-testimonials { display: flex; flex-direction: column; gap: 0.8rem; }
.wdb82-testimonial {
  background: var(--wdb82-bg-light); border-radius: var(--wdb82-radius);
  padding: 1.2rem; border: 1px solid var(--wdb82-border);
}
.wdb82-testimonial-text { font-size: 1.3rem; color: var(--wdb82-text); font-style: italic; margin-bottom: 0.6rem; }
.wdb82-testimonial-author { font-size: 1.1rem; color: var(--wdb82-primary); font-weight: 600; }
.wdb82-testimonial-stars { color: var(--wdb82-gold); font-size: 1.2rem; }

/* ====== PAYMENT METHODS ====== */
.wdb82-payment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.wdb82-payment-item {
  background: var(--wdb82-bg-light); border-radius: var(--wdb82-radius);
  padding: 0.8rem; text-align: center; border: 1px solid var(--wdb82-border);
  font-size: 1.1rem; color: var(--wdb82-text-muted);
}
.wdb82-payment-item i { font-size: 2rem; color: var(--wdb82-primary); display: block; margin-bottom: 0.4rem; }

/* ====== FEATURES LIST ====== */
.wdb82-features-list { display: flex; flex-direction: column; gap: 0.8rem; }
.wdb82-feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  background: var(--wdb82-bg-light); padding: 1rem;
  border-radius: var(--wdb82-radius); border: 1px solid var(--wdb82-border);
}
.wdb82-feature-icon {
  min-width: 36px; height: 36px; border-radius: 50%;
  background: rgba(38,166,154,0.15); display: flex;
  align-items: center; justify-content: center; color: var(--wdb82-primary); font-size: 1.6rem;
}
.wdb82-feature-text h4 { font-size: 1.3rem; color: var(--wdb82-text); margin-bottom: 0.3rem; }
.wdb82-feature-text p { font-size: 1.2rem; color: var(--wdb82-text-muted); }

/* ====== TRICKS/TIPS ====== */
.wdb82-trick-list { counter-reset: wdb82-trick; }
.wdb82-trick-item {
  counter-increment: wdb82-trick;
  padding: 0.8rem 0 0.8rem 3rem; position: relative;
  border-bottom: 1px solid var(--wdb82-border);
  font-size: 1.3rem; color: var(--wdb82-text-muted);
}
.wdb82-trick-item::before {
  content: counter(wdb82-trick);
  position: absolute; left: 0; top: 0.8rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--wdb82-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}

/* ====== FOOTER ====== */
.wdb82-footer {
  background: var(--wdb82-bg-light); border-top: 1px solid var(--wdb82-border);
  padding: 2rem 1.2rem; text-align: center;
}
.wdb82-footer-desc {
  font-size: 1.2rem; color: var(--wdb82-text-muted); line-height: 1.6; margin-bottom: 1.2rem;
}
.wdb82-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.2rem;
}
.wdb82-footer-links a {
  background: var(--wdb82-bg-card); color: var(--wdb82-accent-light);
  padding: 0.5rem 1rem; border-radius: var(--wdb82-radius);
  font-size: 1.1rem; border: 1px solid var(--wdb82-border);
  transition: background 0.2s;
}
.wdb82-footer-links a:hover { background: rgba(38,166,154,0.15); }
.wdb82-footer-copy { font-size: 1.1rem; color: var(--wdb82-text-muted); margin-top: 0.8rem; }

/* ====== BOTTOM NAV ====== */
.wdb82-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wdb82-bottom-nav-h);
  background: var(--wdb82-bg-light);
  border-top: 1px solid var(--wdb82-border);
  display: flex; align-items: center; justify-content: space-around;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.wdb82-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 50px; color: var(--wdb82-text-muted);
  transition: color 0.2s, transform 0.15s; gap: 2px;
}
.wdb82-bottom-nav-btn:hover { color: var(--wdb82-primary); transform: scale(1.08); }
.wdb82-bottom-nav-btn i, .wdb82-bottom-nav-btn .material-icons { font-size: 22px; }
.wdb82-bottom-nav-btn span { font-size: 1rem; }
.wdb82-nav-active { color: var(--wdb82-primary) !important; }
.wdb82-nav-active i, .wdb82-nav-active .material-icons { color: var(--wdb82-primary); }

@media (min-width: 769px) {
  .wdb82-bottom-nav { display: none; }
  body { max-width: 100%; }
}

/* ====== CONTENT HELPERS ====== */
.wdb82-container { padding: 0 1.2rem; max-width: 430px; margin: 0 auto; }
.wdb82-text-center { text-align: center; }
.wdb82-text-teal { color: var(--wdb82-primary); }
.wdb82-text-gold { color: var(--wdb82-gold); }
.wdb82-mb-1 { margin-bottom: 0.8rem; }
.wdb82-mb-2 { margin-bottom: 1.6rem; }
.wdb82-mt-1 { margin-top: 0.8rem; }
.wdb82-mt-2 { margin-top: 1.6rem; }

/* ====== ACHIEVEMENTS BAR ====== */
.wdb82-achievements { display: flex; flex-direction: column; gap: 0.8rem; }
.wdb82-achievement-row {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--wdb82-bg-light); padding: 0.8rem 1rem;
  border-radius: var(--wdb82-radius);
}
.wdb82-achievement-icon { font-size: 1.8rem; color: var(--wdb82-gold); }
.wdb82-achievement-info { flex: 1; }
.wdb82-achievement-label { font-size: 1.2rem; color: var(--wdb82-text); font-weight: 500; }
.wdb82-achievement-desc { font-size: 1.1rem; color: var(--wdb82-text-muted); }

/* ====== APP DOWNLOAD CTA ====== */
.wdb82-app-cta {
  background: linear-gradient(135deg, #1e3a5f, var(--wdb82-bg-card));
  border-radius: var(--wdb82-radius-lg); padding: 1.6rem;
  text-align: center; border: 1px solid var(--wdb82-primary);
}
.wdb82-app-cta h3 { color: var(--wdb82-accent-light); font-size: 1.6rem; margin-bottom: 0.6rem; }
.wdb82-app-cta p { color: var(--wdb82-text-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.wdb82-app-badges { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.wdb82-app-badge {
  background: var(--wdb82-primary); color: #fff; padding: 0.6rem 1.4rem;
  border-radius: var(--wdb82-radius); font-size: 1.2rem; font-weight: 600;
  transition: background 0.2s;
}
.wdb82-app-badge:hover { background: #1e8a7e; color: #fff; }

/* ====== SECURITY BADGES ====== */
.wdb82-security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.wdb82-security-item {
  background: var(--wdb82-bg-light); border-radius: var(--wdb82-radius);
  padding: 1rem; text-align: center; border: 1px solid var(--wdb82-border);
}
.wdb82-security-item i { font-size: 2rem; color: var(--wdb82-primary); margin-bottom: 0.4rem; }
.wdb82-security-item span { font-size: 1.1rem; color: var(--wdb82-text-muted); display: block; }

/* ====== HELP PAGE LAYOUT ====== */
.wdb82-help-content { padding: 1.6rem 1.2rem; }
.wdb82-help-content h2 {
  font-size: 1.7rem; color: var(--wdb82-accent-light); margin: 1.6rem 0 0.8rem;
  border-left: 3px solid var(--wdb82-primary); padding-left: 0.8rem;
}
.wdb82-help-content h3 {
  font-size: 1.4rem; color: var(--wdb82-text); margin: 1.2rem 0 0.6rem;
}
.wdb82-help-content p {
  font-size: 1.3rem; color: var(--wdb82-text-muted); line-height: 1.7; margin-bottom: 0.8rem;
}
.wdb82-help-content ul { padding-left: 1.4rem; margin-bottom: 0.8rem; }
.wdb82-help-content li {
  list-style: disc; font-size: 1.3rem; color: var(--wdb82-text-muted);
  line-height: 1.7; margin-bottom: 0.4rem;
}
.wdb82-help-content li a { color: var(--wdb82-primary); font-weight: 600; }

/* ====== FAQ ACCORDION ====== */
.wdb82-faq-item {
  background: var(--wdb82-bg-card); border-radius: var(--wdb82-radius);
  margin-bottom: 0.6rem; overflow: hidden; border: 1px solid var(--wdb82-border);
}
.wdb82-faq-q {
  padding: 1rem 1.2rem; font-size: 1.3rem; font-weight: 600;
  color: var(--wdb82-text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.wdb82-faq-q i { color: var(--wdb82-primary); transition: transform 0.2s; }
.wdb82-faq-a {
  padding: 0 1.2rem 1rem; font-size: 1.2rem; color: var(--wdb82-text-muted); line-height: 1.6;
}

/* ====== INLINE PROMO LINK ====== */
.wdb82-promo-link {
  color: var(--wdb82-primary); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--wdb82-primary);
  transition: color 0.2s;
}
.wdb82-promo-link:hover { color: var(--wdb82-accent-light); }
