/**
 * bdbet.sbs - Main Stylesheet
 * Prefix: w11d4-
 * Color palette: #333333 (bg) | #FFB3FF (accent) | #BAE1FF (text-light)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --w11d4-primary: #FFB3FF;
  --w11d4-secondary: #BAE1FF;
  --w11d4-bg: #333333;
  --w11d4-bg-dark: #1a1a1a;
  --w11d4-bg-card: #2a2a2a;
  --w11d4-bg-card-hover: #3a3a3a;
  --w11d4-text: #ffffff;
  --w11d4-text-muted: #cccccc;
  --w11d4-text-dim: #999999;
  --w11d4-accent: #FFB3FF;
  --w11d4-accent2: #BAE1FF;
  --w11d4-border: #444444;
  --w11d4-radius: 8px;
  --w11d4-radius-lg: 12px;
  --w11d4-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --w11d4-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4);
  --w11d4-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', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--w11d4-bg);
  color: var(--w11d4-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--w11d4-accent);
  text-decoration: none;
  transition: var(--w11d4-transition);
}

a:hover {
  color: var(--w11d4-accent2);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.w11d4-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}

/* Header */
.w11d4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--w11d4-bg-dark);
  border-bottom: 1px solid var(--w11d4-border);
  height: 52px;
}

.w11d4-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.w11d4-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.w11d4-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.w11d4-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w11d4-accent);
  letter-spacing: 0.5px;
}

.w11d4-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w11d4-btn-register {
  background: linear-gradient(135deg, var(--w11d4-accent), #ff80cc);
  color: var(--w11d4-bg-dark);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: var(--w11d4-transition);
  white-space: nowrap;
}

.w11d4-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 179, 255, 0.5);
}

.w11d4-btn-login {
  background: transparent;
  color: var(--w11d4-accent2);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--w11d4-accent2);
  cursor: pointer;
  transition: var(--w11d4-transition);
  white-space: nowrap;
}

.w11d4-btn-login:hover {
  background: rgba(186, 225, 255, 0.1);
}

.w11d4-menu-toggle {
  background: none;
  border: none;
  color: var(--w11d4-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Overlay */
.w11d4-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(--w11d4-transition);
}

.w11d4-overlay-visible {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide Menu */
.w11d4-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--w11d4-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.w11d4-menu-open {
  right: 0;
}

.w11d4-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w11d4-border);
}

.w11d4-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w11d4-accent);
}

.w11d4-menu-close {
  background: none;
  border: none;
  color: var(--w11d4-text);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.w11d4-menu-nav {
  list-style: none;
}

.w11d4-menu-nav li {
  margin-bottom: 0.4rem;
}

.w11d4-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--w11d4-text);
  font-size: 1.4rem;
  border-radius: var(--w11d4-radius);
  transition: var(--w11d4-transition);
}

.w11d4-menu-nav a:hover {
  background: var(--w11d4-bg-card);
  color: var(--w11d4-accent);
  text-decoration: none;
}

.w11d4-menu-nav .w11d4-menu-icon {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

/* Main Content */
.w11d4-main {
  padding-top: 52px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .w11d4-main {
    padding-bottom: 80px;
  }
}

/* Slider / Carousel */
.w11d4-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0 0 var(--w11d4-radius-lg) var(--w11d4-radius-lg);
}

.w11d4-slides-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 45%;
}

.w11d4-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w11d4-slide-active {
  opacity: 1;
}

.w11d4-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w11d4-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.w11d4-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--w11d4-transition);
}

.w11d4-dot-active {
  background: var(--w11d4-accent);
  width: 20px;
  border-radius: 4px;
}

/* Section Titles */
.w11d4-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w11d4-accent);
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w11d4-accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w11d4-section-title i,
.w11d4-section-title .material-icons {
  font-size: 2rem;
}

/* Game Grid */
.w11d4-game-section {
  margin-bottom: 1.5rem;
}

.w11d4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

@media (min-width: 380px) {
  .w11d4-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.w11d4-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--w11d4-transition);
  border-radius: var(--w11d4-radius);
  padding: 0.5rem;
}

.w11d4-game-item:hover {
  background: var(--w11d4-bg-card-hover);
  transform: translateY(-2px);
}

.w11d4-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--w11d4-radius);
  margin-bottom: 0.3rem;
}

.w11d4-game-name {
  font-size: 1.1rem;
  color: var(--w11d4-text-muted);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Sections */
.w11d4-content-section {
  padding: 1.5rem 0;
  margin-bottom: 1rem;
}

.w11d4-content-section h2 {
  font-size: 1.7rem;
  color: var(--w11d4-accent);
  margin-bottom: 1rem;
}

.w11d4-content-section h3 {
  font-size: 1.5rem;
  color: var(--w11d4-accent2);
  margin-bottom: 0.8rem;
}

.w11d4-content-section p {
  color: var(--w11d4-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.w11d4-content-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.w11d4-content-section li {
  color: var(--w11d4-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Promo Button */
.w11d4-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w11d4-accent), #ff80cc);
  color: var(--w11d4-bg-dark);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: var(--w11d4-transition);
  text-align: center;
}

.w11d4-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 179, 255, 0.4);
  text-decoration: none;
  color: var(--w11d4-bg-dark);
}

.w11d4-promo-link {
  color: var(--w11d4-accent);
  font-weight: 600;
  cursor: pointer;
}

.w11d4-promo-link:hover {
  text-decoration: underline;
  color: var(--w11d4-accent2);
}

/* Card Component */
.w11d4-card {
  background: var(--w11d4-bg-card);
  border-radius: var(--w11d4-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w11d4-border);
}

.w11d4-card h3 {
  color: var(--w11d4-accent);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

/* Testimonial */
.w11d4-testimonial {
  background: var(--w11d4-bg-card);
  border-radius: var(--w11d4-radius-lg);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w11d4-accent);
}

.w11d4-testimonial-text {
  color: var(--w11d4-text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.w11d4-testimonial-author {
  color: var(--w11d4-accent2);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Payment Icons */
.w11d4-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.w11d4-payment-item {
  background: var(--w11d4-bg-card);
  border-radius: var(--w11d4-radius);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--w11d4-text-muted);
  border: 1px solid var(--w11d4-border);
}

/* Winner List */
.w11d4-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.w11d4-winner-name {
  color: var(--w11d4-accent2);
  font-size: 1.2rem;
}

.w11d4-winner-amount {
  color: var(--w11d4-accent);
  font-weight: 700;
  font-size: 1.3rem;
}

.w11d4-winner-game {
  color: var(--w11d4-text-dim);
  font-size: 1.1rem;
}

/* Bottom Navigation */
.w11d4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--w11d4-bg-dark);
  border-top: 1px solid var(--w11d4-border);
  display: none;
  height: 60px;
}

@media (max-width: 768px) {
  .w11d4-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.w11d4-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--w11d4-text-dim);
  cursor: pointer;
  transition: var(--w11d4-transition);
  padding: 0.3rem;
  position: relative;
}

.w11d4-bottom-btn:hover,
.w11d4-bottom-btn:active {
  color: var(--w11d4-accent);
  transform: scale(1.1);
}

.w11d4-bottom-btn .w11d4-bottom-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.w11d4-bottom-btn .w11d4-bottom-label {
  font-size: 10px;
  line-height: 1.2;
}

.w11d4-bottom-btn.w11d4-active {
  color: var(--w11d4-accent);
}

.w11d4-bottom-btn.w11d4-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--w11d4-accent);
  border-radius: 0 0 2px 2px;
}

/* Footer */
.w11d4-footer {
  background: var(--w11d4-bg-dark);
  border-top: 1px solid var(--w11d4-border);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

.w11d4-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w11d4-footer-brand p {
  color: var(--w11d4-text-dim);
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 350px;
  margin: 0.5rem auto;
}

.w11d4-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w11d4-footer-link {
  color: var(--w11d4-text-muted);
  font-size: 1.2rem;
  transition: var(--w11d4-transition);
}

.w11d4-footer-link:hover {
  color: var(--w11d4-accent);
}

.w11d4-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.w11d4-footer-promo-btn {
  background: linear-gradient(135deg, rgba(255, 179, 255, 0.2), rgba(186, 225, 255, 0.2));
  color: var(--w11d4-accent);
  border: 1px solid rgba(255, 179, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--w11d4-transition);
}

.w11d4-footer-promo-btn:hover {
  background: rgba(255, 179, 255, 0.3);
}

.w11d4-footer-copyright {
  text-align: center;
  color: var(--w11d4-text-dim);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--w11d4-border);
}

/* FAQ Styles */
.w11d4-faq-item {
  background: var(--w11d4-bg-card);
  border-radius: var(--w11d4-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--w11d4-border);
}

.w11d4-faq-question {
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--w11d4-accent);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w11d4-faq-answer {
  padding: 0 1.2rem 1rem;
  color: var(--w11d4-text-muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Utility Classes */
.w11d4-text-center { text-align: center; }
.w11d4-text-accent { color: var(--w11d4-accent); }
.w11d4-text-accent2 { color: var(--w11d4-accent2); }
.w11d4-text-muted { color: var(--w11d4-text-muted); }
.w11d4-mt-1 { margin-top: 1rem; }
.w11d4-mt-2 { margin-top: 2rem; }
.w11d4-mb-1 { margin-bottom: 1rem; }
.w11d4-mb-2 { margin-bottom: 2rem; }
.w11d4-p-1 { padding: 1rem; }
.w11d4-p-2 { padding: 2rem; }
.w11d4-hidden { display: none !important; }
.w11d4-bold { font-weight: 700; }
.w11d4-inline-link {
  color: var(--w11d4-accent2);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}

/* Desktop bottom nav hidden */
@media (min-width: 769px) {
  .w11d4-bottom-nav {
    display: none;
  }
  .w11d4-main {
    padding-bottom: 0;
  }
}
