/* ============================================
   bd9999.click - Core Theme Stylesheet
   Prefix: vdb4-
   Palette: #36454F | #E0FFFF | #95A5A6 | #191970 | #212F3D
   ============================================ */

/* CSS Variables */
:root {
  --vdb4-primary: #36454F;
  --vdb4-light: #E0FFFF;
  --vdb4-muted: #95A5A6;
  --vdb4-accent: #191970;
  --vdb4-dark: #212F3D;
  --vdb4-gold: #D4AF37;
  --vdb4-danger: #E74C3C;
  --vdb4-success: #27AE60;
  --vdb4-radius: 8px;
  --vdb4-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--vdb4-light);
  background: var(--vdb4-dark);
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--vdb4-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.vdb4-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vdb4-accent), var(--vdb4-dark));
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(224,255,255,0.1);
  backdrop-filter: blur(10px);
}
.vdb4-header-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vdb4-header-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.vdb4-header-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vdb4-gold);
  letter-spacing: 0.5px;
}
.vdb4-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vdb4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--vdb4-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.vdb4-btn-register {
  background: var(--vdb4-gold);
  color: var(--vdb4-dark);
}
.vdb4-btn-register:hover { background: #E8C547; transform: scale(1.05); }
.vdb4-btn-login {
  background: transparent;
  color: var(--vdb4-light);
  border: 1px solid var(--vdb4-muted);
}
.vdb4-btn-login:hover { border-color: var(--vdb4-gold); color: var(--vdb4-gold); }
.vdb4-btn-menu {
  background: transparent;
  color: var(--vdb4-light);
  font-size: 2rem;
  padding: 0.4rem;
  border: none;
  cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.vdb4-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: all 0.3s ease;
}
.vdb4-overlay-active { opacity: 1; visibility: visible; }
.vdb4-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vdb4-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.vdb4-menu-active { right: 0; }
.vdb4-mobile-menu-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}
.vdb4-mobile-menu-close span {
  font-size: 2.4rem;
  color: var(--vdb4-light);
  cursor: pointer;
}
.vdb4-menu-group-title {
  font-size: 1.2rem;
  color: var(--vdb4-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.5rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(149,165,166,0.2);
}
.vdb4-menu-link {
  display: block;
  padding: 0.8rem 0;
  color: var(--vdb4-light);
  font-size: 1.4rem;
  transition: color 0.2s;
}
.vdb4-menu-link:hover { color: var(--vdb4-gold); text-decoration: none; }

/* ===== MAIN CONTENT ===== */
.vdb4-main {
  padding-top: 5.6rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .vdb4-main { padding-bottom: 80px; }
}

/* ===== CAROUSEL ===== */
.vdb4-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--vdb4-radius) var(--vdb4-radius);
}
.vdb4-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.vdb4-slide-active { display: block; }
.vdb4-carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}
.vdb4-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.vdb4-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.vdb4-dot-active { background: var(--vdb4-gold); }

/* ===== GAME LIST ===== */
.vdb4-section {
  padding: 1.5rem 1.2rem;
}
.vdb4-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vdb4-gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vdb4-gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vdb4-section-title i, .vdb4-section-title .material-icons {
  font-size: 2rem;
}
.vdb4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vdb4-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.vdb4-game-item:hover { transform: scale(1.08); }
.vdb4-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vdb4-radius);
  border: 1px solid rgba(224,255,255,0.1);
  margin-bottom: 0.3rem;
}
.vdb4-game-name {
  font-size: 1.1rem;
  color: var(--vdb4-light);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT CARDS ===== */
.vdb4-card {
  background: linear-gradient(145deg, rgba(54,69,79,0.6), rgba(33,47,61,0.8));
  border-radius: var(--vdb4-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(224,255,255,0.08);
}
.vdb4-card h2 {
  font-size: 1.7rem;
  color: var(--vdb4-gold);
  margin-bottom: 0.8rem;
}
.vdb4-card h3 {
  font-size: 1.5rem;
  color: var(--vdb4-light);
  margin: 1rem 0 0.5rem;
}
.vdb4-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(224,255,255,0.85);
  margin-bottom: 0.8rem;
}
.vdb4-card ul, .vdb4-card ol {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}
.vdb4-card li {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(224,255,255,0.85);
  margin-bottom: 0.4rem;
}

/* ===== PROMO BUTTONS ===== */
.vdb4-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--vdb4-gold), #E8C547);
  color: var(--vdb4-dark);
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: var(--vdb4-radius);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.vdb4-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
  text-decoration: none;
}
.vdb4-promo-text {
  color: var(--vdb4-gold);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.vdb4-promo-text:hover { color: #E8C547; }

/* ===== FOOTER ===== */
.vdb4-footer {
  background: linear-gradient(180deg, var(--vdb4-dark), var(--vdb4-accent));
  padding: 2rem 1.2rem;
  border-top: 1px solid rgba(224,255,255,0.1);
}
.vdb4-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.vdb4-footer-brand p {
  font-size: 1.3rem;
  color: var(--vdb4-muted);
  line-height: 1.5;
}
.vdb4-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.vdb4-footer-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(224,255,255,0.05);
  border: 1px solid rgba(224,255,255,0.1);
  border-radius: 20px;
  color: var(--vdb4-light);
  font-size: 1.2rem;
  transition: all 0.2s;
}
.vdb4-footer-link:hover {
  background: rgba(212,175,55,0.15);
  border-color: var(--vdb4-gold);
  color: var(--vdb4-gold);
  text-decoration: none;
}
.vdb4-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: var(--vdb4-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(149,165,166,0.2);
}

/* ===== BOTTOM NAV ===== */
.vdb4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(135deg, var(--vdb4-accent), var(--vdb4-dark));
  border-top: 1px solid rgba(212,175,55,0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
.vdb4-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--vdb4-muted);
  transition: all 0.25s ease;
  padding: 0.3rem;
}
.vdb4-bottom-nav-btn:hover,
.vdb4-nav-active {
  color: var(--vdb4-gold);
  transform: scale(1.1);
}
.vdb4-bottom-nav-btn i,
.vdb4-bottom-nav-btn .material-icons,
.vdb4-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.vdb4-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}
@media (min-width: 769px) {
  .vdb4-bottom-nav { display: none; }
}

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

/* ===== TESTIMONIAL ===== */
.vdb4-testimonial {
  background: rgba(54,69,79,0.4);
  border-radius: var(--vdb4-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vdb4-gold);
}
.vdb4-testimonial p {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.vdb4-testimonial cite {
  font-size: 1.2rem;
  color: var(--vdb4-muted);
}

/* ===== WINNER SHOWCASE ===== */
.vdb4-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(54,69,79,0.3);
  border-radius: var(--vdb4-radius);
  margin-bottom: 0.6rem;
}
.vdb4-winner-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--vdb4-gold);
}
.vdb4-winner-info {
  flex: 1;
}
.vdb4-winner-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--vdb4-light);
}
.vdb4-winner-amount {
  font-size: 1.3rem;
  color: var(--vdb4-gold);
  font-weight: 700;
}

/* ===== PAYMENT LOGOS ===== */
.vdb4-payment-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.vdb4-payment-item {
  background: rgba(224,255,255,0.08);
  border-radius: var(--vdb4-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  color: var(--vdb4-light);
  border: 1px solid rgba(224,255,255,0.1);
}

/* ===== FEATURES GRID ===== */
.vdb4-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.vdb4-feature-item {
  text-align: center;
  padding: 1rem;
  background: rgba(54,69,79,0.4);
  border-radius: var(--vdb4-radius);
  border: 1px solid rgba(224,255,255,0.05);
}
.vdb4-feature-item i,
.vdb4-feature-item .material-icons,
.vdb4-feature-item ion-icon {
  font-size: 2.4rem;
  color: var(--vdb4-gold);
  margin-bottom: 0.5rem;
}
.vdb4-feature-item p {
  font-size: 1.2rem;
  color: var(--vdb4-light);
}

/* ===== FAQ ===== */
.vdb4-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(54,69,79,0.3);
  border-radius: var(--vdb4-radius);
}
.vdb4-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vdb4-gold);
  margin-bottom: 0.4rem;
}
.vdb4-faq-a {
  font-size: 1.3rem;
  color: rgba(224,255,255,0.8);
  line-height: 1.5;
}

/* ===== PAGE HERO ===== */
.vdb4-page-hero {
  padding: 2rem 1.2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(25,25,112,0.5), rgba(33,47,61,0.8));
}
.vdb4-page-hero h1 {
  font-size: 2.2rem;
  color: var(--vdb4-gold);
  margin-bottom: 0.6rem;
}
.vdb4-page-hero p {
  font-size: 1.4rem;
  color: rgba(224,255,255,0.8);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .vdb4-main { padding-bottom: 0; }
}
