/* af88 art - Core Stylesheet (style-b2db.css) */
/* All custom classes use the dynamic prefix "vb43-" for namespace isolation. */

:root {
  --vb43-primary: #7CFC00;
  --vb43-primary-dark: #006400;
  --vb43-accent: #32CD32;
  --vb43-bg: #2E4057;
  --vb43-bg-dark: #1f2d3d;
  --vb43-bg-card: #34495e;
  --vb43-danger: #CD5C5C;
  --vb43-text: #f4f7f5;
  --vb43-text-muted: #b8c5c0;
  --vb43-gold: #ffd54a;
}

/* Base reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--vb43-bg-dark);
  color: var(--vb43-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--vb43-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

.vb43-container { width: 100%; padding: 0 1.2rem; }
.vb43-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.vb43-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--vb43-bg-dark), var(--vb43-bg));
  border-bottom: 2px solid var(--vb43-primary-dark);
  z-index: 1000;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vb43-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vb43-primary);
  font-weight: 700;
  font-size: 1.6rem;
}
.vb43-logo img { width: 28px; height: 28px; border-radius: 6px; }
.vb43-logo .vb43-logo-text { white-space: nowrap; }
.vb43-logo .vb43-logo-text span { color: var(--vb43-gold); }

.vb43-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.vb43-menu-toggle {
  background: transparent;
  border: 1px solid var(--vb43-primary-dark);
  color: var(--vb43-primary);
  width: 36px; height: 36px;
  border-radius: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Buttons ===== */
.vb43-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
  min-height: 40px;
}
.vb43-btn:active { transform: scale(0.96); }
.vb43-btn-register {
  background: linear-gradient(135deg, var(--vb43-danger), #e07a5f);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205,92,92,0.4);
}
.vb43-btn-login {
  background: linear-gradient(135deg, var(--vb43-primary), var(--vb43-accent));
  color: var(--vb43-bg-dark);
  box-shadow: 0 2px 8px rgba(124,252,0,0.35);
}
.vb43-btn-promo {
  background: linear-gradient(135deg, var(--vb43-gold), #ffb300);
  color: var(--vb43-bg-dark);
  font-weight: 800;
  padding: 0.9rem 1.6rem;
  width: 100%;
  margin: 0.8rem 0;
}
.vb43-btn-play {
  background: var(--vb43-primary);
  color: var(--vb43-bg-dark);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 6px;
}

/* ===== Mobile Menu ===== */
.vb43-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--vb43-bg-dark);
  border-bottom: 2px solid var(--vb43-primary);
  padding: 5rem 1.2rem 1.2rem;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}
.vb43-mobile-menu.vb43-menu-open { transform: translateY(0); }
.vb43-mobile-menu a {
  display: block;
  padding: 0.9rem 1rem;
  color: var(--vb43-text);
  border-bottom: 1px solid rgba(124,252,0,0.15);
  font-size: 1.4rem;
}
.vb43-mobile-menu a:hover, .vb43-mobile-menu a:active { background: rgba(124,252,0,0.1); color: var(--vb43-primary); }
.vb43-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent; border: none; color: var(--vb43-primary);
  font-size: 2rem; cursor: pointer;
}

/* ===== Main / Sections ===== */
main { padding-top: 5.2rem; padding-bottom: 1rem; }
.vb43-section { padding: 1.5rem 1.2rem; }
.vb43-section-title {
  font-size: 1.8rem;
  color: var(--vb43-primary);
  margin-bottom: 1rem;
  font-weight: 800;
  border-left: 4px solid var(--vb43-gold);
  padding-left: 0.8rem;
}
.vb43-section h1 {
  font-size: 1.9rem; color: var(--vb43-primary); line-height: 1.4; margin-bottom: 0.8rem;
}
.vb43-section h2 { font-size: 1.7rem; color: var(--vb43-primary); margin: 1.2rem 0 0.8rem; }
.vb43-section h3 { font-size: 1.5rem; color: var(--vb43-accent); margin: 1rem 0 0.6rem; }
.vb43-section p { margin-bottom: 0.8rem; color: var(--vb43-text-muted); }

/* ===== Carousel ===== */
.vb43-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.vb43-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.vb43-carousel-slide.vb43-slide-active { opacity: 1; }
.vb43-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.vb43-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 1.5rem 1rem 0.8rem;
  color: #fff; font-weight: 700; font-size: 1.4rem;
}
.vb43-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.vb43-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.vb43-carousel-dot.vb43-dot-active { background: var(--vb43-primary); }

/* ===== Game Grid ===== */
.vb43-cat-head {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.5rem 0 0.8rem;
  font-size: 1.6rem; font-weight: 800; color: var(--vb43-gold);
}
.vb43-cat-head i { color: var(--vb43-primary); }
.vb43-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.vb43-game-card {
  background: var(--vb43-bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(124,252,0,0.12);
}
.vb43-game-card:active { transform: scale(0.95); }
.vb43-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vb43-game-name {
  font-size: 1.1rem;
  color: var(--vb43-text);
  padding: 0.4rem 0.3rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Cards / Info blocks ===== */
.vb43-card {
  background: var(--vb43-bg-card);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(124,252,0,0.15);
}
.vb43-card h3 { margin-bottom: 0.6rem; }
.vb43-feature-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vb43-feature-row:last-child { border-bottom: none; }
.vb43-feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(124,252,0,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--vb43-primary); font-size: 1.8rem;
}

/* ===== RTP compact ===== */
.vb43-rtp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem;
}
.vb43-rtp-item {
  background: var(--vb43-bg-card); border-radius: 8px; padding: 0.8rem;
  text-align: center;
}
.vb43-rtp-value { font-size: 1.8rem; font-weight: 800; color: var(--vb43-gold); }
.vb43-rtp-label { font-size: 1.1rem; color: var(--vb43-text-muted); }

/* ===== Testimonials ===== */
.vb43-testimonial {
  background: var(--vb43-bg-card); border-radius: 10px; padding: 1rem;
  margin-bottom: 0.8rem; border-left: 3px solid var(--vb43-primary);
}
.vb43-testimonial-name { color: var(--vb43-gold); font-weight: 700; font-size: 1.3rem; }
.vb43-testimonial-stars { color: var(--vb43-gold); font-size: 1.2rem; margin: 0.3rem 0; }
.vb43-testimonial-text { color: var(--vb43-text-muted); font-size: 1.25rem; }

/* ===== Payment icons ===== */
.vb43-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vb43-pay-item {
  background: var(--vb43-bg-card); border-radius: 8px; padding: 0.6rem 1rem;
  font-size: 1.2rem; color: var(--vb43-text);
  display: flex; align-items: center; gap: 0.4rem;
}

/* ===== Winners ===== */
.vb43-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.8rem; background: var(--vb43-bg-card);
  border-radius: 8px; margin-bottom: 0.5rem;
}
.vb43-winner-name { font-size: 1.25rem; }
.vb43-winner-amount { color: var(--vb43-gold); font-weight: 800; font-size: 1.3rem; }

/* ===== Inline promo text link ===== */
.vb43-promo-link {
  color: var(--vb43-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline;
}

/* ===== Footer ===== */
.vb43-footer {
  background: var(--vb43-bg-dark);
  border-top: 2px solid var(--vb43-primary-dark);
  padding: 1.5rem 1.2rem 5rem;
  margin-top: 1.5rem;
}
.vb43-footer h3 { color: var(--vb43-primary); margin-bottom: 0.6rem; font-size: 1.4rem; }
.vb43-footer p { color: var(--vb43-text-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.vb43-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0;
}
.vb43-footer-links a { color: var(--vb43-text-muted); font-size: 1.2rem; }
.vb43-footer-links a:hover { color: var(--vb43-primary); }
.vb43-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.vb43-footer-promos .vb43-btn { flex: 1 1 45%; min-width: 140px; }
.vb43-copyright {
  text-align: center; color: var(--vb43-text-muted); font-size: 1.1rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== Mobile Bottom Nav ===== */
.vb43-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, var(--vb43-bg), var(--vb43-bg-dark));
  border-top: 2px solid var(--vb43-primary-dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.vb43-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vb43-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.15s ease;
}
.vb43-bottomnav-btn i, .vb43-bottomnav-btn .material-icons-outlined,
.vb43-bottomnav-btn .icon { font-size: 22px; }
.vb43-bottomnav-btn:active { transform: scale(0.92); }
.vb43-bottomnav-btn.vb43-nav-active { color: var(--vb43-primary); }
.vb43-bottomnav-btn:hover { color: var(--vb43-primary); }

/* Desktop: hide bottom nav, show desktop nav */
@media (min-width: 769px) {
  .vb43-bottomnav { display: none; }
  body { max-width: 960px; }
  .vb43-header, .vb43-mobile-menu, .vb43-footer { max-width: 960px; }
  .vb43-game-grid { grid-template-columns: repeat(6, 1fr); }
  .vb43-rtp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile: add bottom padding for fixed nav clearance */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .vb43-footer { padding-bottom: 80px; }
}
