/* c88.homes - design-6c0b.css
   All classes use the vb77- prefix for namespace isolation.
   Mobile-first design, max-width 430px viewport.
   Color palette: #48D1CC | #EEE8AA | #2D2D2D | #5F9EA0 | #20B2AA
   Dark colors for backgrounds, light colors for text.
   Code comments in English. */

:root {
  --vb77-primary: #48D1CC;
  --vb77-accent: #EEE8AA;
  --vb77-bg: #2D2D2D;
  --vb77-bg-alt: #1f1f1f;
  --vb77-secondary: #5F9EA0;
  --vb77-tertiary: #20B2AA;
  --vb77-text: #EEE8AA;
  --vb77-text-light: #ffffff;
  --vb77-text-muted: #b8c7c6;
  --vb77-border: rgba(72, 209, 204, 0.25);
}

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

/* Root font 62.5% so 1rem = 10px */
html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vb77-bg);
  color: var(--vb77-text-light);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Header / Top navigation ===== */
.vb77-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(45,45,45,0.98), rgba(45,45,45,0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vb77-border);
}
.vb77-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.8rem;
}
.vb77-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.vb77-logo img { width: 28px; height: 28px; border-radius: 6px; }
.vb77-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--vb77-primary);
  letter-spacing: 0.05em;
}
.vb77-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vb77-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0 1rem;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.vb77-btn:active { transform: scale(0.95); }
.vb77-btn-register {
  background: linear-gradient(135deg, var(--vb77-primary), var(--vb77-tertiary));
  color: #2D2D2D;
  box-shadow: 0 2px 8px rgba(72,209,204,0.4);
}
.vb77-btn-login {
  background: transparent;
  color: var(--vb77-accent);
  border: 1.5px solid var(--vb77-accent);
}
.vb77-menu-toggle {
  background: transparent;
  border: none;
  color: var(--vb77-primary);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile expandable menu ===== */
.vb77-mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  z-index: 9999;
  background: var(--vb77-bg-alt);
  padding: 5rem 0 2rem;
  transition: left 0.3s ease;
  overflow-y: auto;
  border-right: 1px solid var(--vb77-border);
}
.vb77-mobile-menu.vb77-menu-open { left: 0; }
.vb77-mobile-menu h3 {
  font-size: 1.3rem;
  color: var(--vb77-accent);
  padding: 0 1.5rem;
  margin: 1.5rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vb77-mobile-menu a {
  display: block;
  padding: 0.9rem 1.5rem;
  font-size: 1.3rem;
  color: var(--vb77-text-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vb77-mobile-menu a:hover { background: rgba(72,209,204,0.12); }
.vb77-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
.vb77-menu-overlay.vb77-menu-open { display: block; }
.vb77-menu-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  background: transparent;
  border: none;
  color: var(--vb77-accent);
  font-size: 2.2rem;
  cursor: pointer;
}

/* ===== Layout ===== */
main { padding-top: 5.2rem; }
.vb77-section {
  padding: 2rem 1rem;
}
.vb77-section-title {
  font-size: 1.8rem;
  color: var(--vb77-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  border-left: 4px solid var(--vb77-accent);
  padding-left: 0.8rem;
}

/* ===== Carousel ===== */
.vb77-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 1rem;
}
.vb77-carousel-track {
  position: relative;
  height: 17rem;
}
.vb77-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  cursor: pointer;
}
.vb77-carousel-slide.vb77-active { opacity: 1; }
.vb77-carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.vb77-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.vb77-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.vb77-carousel-dot.vb77-active {
  background: var(--vb77-primary);
  width: 22px;
  border-radius: 4px;
}

/* ===== Game grid ===== */
.vb77-game-group { margin-bottom: 2rem; }
.vb77-game-group h2 {
  font-size: 1.6rem;
  color: var(--vb77-accent);
  margin: 0 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vb77-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0 1rem;
}
.vb77-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.vb77-game-item:active { transform: scale(0.94); }
.vb77-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--vb77-border);
}
.vb77-game-item span {
  display: block;
  font-size: 1rem;
  color: var(--vb77-text-light);
  margin-top: 0.3rem;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Cards & modules ===== */
.vb77-card {
  background: var(--vb77-bg-alt);
  border: 1px solid var(--vb77-border);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.vb77-card h3 {
  font-size: 1.5rem;
  color: var(--vb77-primary);
  margin-bottom: 0.8rem;
}
.vb77-card p {
  font-size: 1.3rem;
  color: var(--vb77-text-muted);
  margin-bottom: 0.8rem;
}
.vb77-pro-link {
  display: inline-block;
  color: var(--vb77-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.vb77-btn-cta {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 1rem auto;
  padding: 1rem;
  background: linear-gradient(135deg, var(--vb77-primary), var(--vb77-tertiary));
  color: #2D2D2D;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(72,209,204,0.35);
  transition: transform 0.15s;
}
.vb77-btn-cta:active { transform: scale(0.96); }

/* RTL compact list */
.vb77-list { list-style: none; }
.vb77-list li {
  padding: 0.7rem 0;
  font-size: 1.3rem;
  color: var(--vb77-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-left: 1.4rem;
  position: relative;
}
.vb77-list li::before {
  content: "•";
  color: var(--vb77-primary);
  position: absolute;
  left: 0;
}

/* Winner showcase */
.vb77-winners {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.6rem;
}
.vb77-winner {
  background: rgba(72,209,204,0.08);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1.1rem;
  color: var(--vb77-text-light);
}
.vb77-winner b { color: var(--vb77-accent); }

/* Payment icons */
.vb77-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.vb77-payments span {
  background: rgba(255,255,255,0.06);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--vb77-text-light);
}

/* Testimonials */
.vb77-testimonial {
  background: var(--vb77-bg-alt);
  border-left: 3px solid var(--vb77-accent);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.vb77-testimonial p { font-size: 1.25rem; color: var(--vb77-text-muted); font-style: italic; }
.vb77-testimonial b { color: var(--vb77-primary); display: block; margin-top: 0.5rem; font-size: 1.2rem; }

/* App download CTA */
.vb77-app-download {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1rem;
}
.vb77-app-download a {
  flex: 1;
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
}
.vb77-app-ios { background: #f5f5f5; color: #2D2D2D; }
.vb77-app-android { background: var(--vb77-primary); color: #2D2D2D; }
.vb77-app-download a:active { transform: scale(0.96); }

/* ===== Footer ===== */
.vb77-footer {
  background: var(--vb77-bg-alt);
  padding: 2rem 1rem 9rem;
  border-top: 1px solid var(--vb77-border);
}
.vb77-footer-brand {
  font-size: 1.3rem;
  color: var(--vb77-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6rem;
}
.vb77-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.2rem;
}
.vb77-footer-links a {
  font-size: 1.2rem;
  color: var(--vb77-primary);
}
.vb77-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.vb77-footer-promo button {
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--vb77-accent);
  background: transparent;
  color: var(--vb77-accent);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
}
.vb77-footer-promo button:active { transform: scale(0.95); }
.vb77-copyright {
  font-size: 1.1rem;
  color: var(--vb77-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== Mobile bottom navigation ===== */
.vb77-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, rgba(31,31,31,0.98), rgba(20,20,20,1));
  border-top: 1px solid var(--vb77-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.vb77-bottomnav-btn {
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vb77-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.vb77-bottomnav-btn i, .vb77-bottomnav-btn span.material-icons-outlined, .vb77-bottomnav-btn ion-icon {
  font-size: 22px;
}
.vb77-bottomnav-btn span {
  font-size: 1.05rem;
  font-weight: 600;
}
.vb77-bottomnav-btn:active { transform: scale(0.92); }
.vb77-bottomnav-btn.vb77-nav-active {
  color: var(--vb77-primary);
}
.vb77-bottomnav-btn.vb77-nav-active i,
.vb77-bottomnav-btn.vb77-nav-active span.material-icons-outlined {
  color: var(--vb77-accent);
}

/* Desktop: hide bottom nav, narrow max-width */
@media (min-width: 769px) {
  .vb77-bottomnav { display: none; }
  body { max-width: 430px; }
}

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