/**
 * JL Boss App - Main Stylesheet
 * Prefix: vb96-
 * All classes use the vb96- prefix for namespace isolation
 * Mobile-first design, max-width: 430px, root font-size: 62.5%
 */

/* ========== CSS Variables ========== */
:root {
  --vb96-primary: #FF5722;
  --vb96-accent: #FFF176;
  --vb96-bg: #141414;
  --vb96-text: #E0FFFF;
  --vb96-card: #3C3C3C;
  --vb96-border: #4A4A4A;
  --vb96-bg-dark: #0D0D0D;
  --vb96-radius: 8px;
  --vb96-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --vb96-header-h: 56px;
  --vb96-bnav-h: 60px;
}

/* ========== Reset ========== */
*, *::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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--vb96-bg);
  color: var(--vb96-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--vb96-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== Container ========== */
.vb96-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}
.vb96-wrapper {
  padding-top: var(--vb96-header-h);
  padding-bottom: calc(var(--vb96-bnav-h) + 1rem);
  min-height: 100vh;
}

/* ========== Header ========== */
.vb96-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--vb96-header-h);
  background: var(--vb96-bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--vb96-border);
  transition: background 0.3s, box-shadow 0.3s;
}
.vb96-header.vb96-scrolled {
  background: rgba(13, 13, 13, 0.96);
  box-shadow: var(--vb96-shadow);
}
.vb96-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vb96-logo-area img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.vb96-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vb96-accent);
  white-space: nowrap;
}
.vb96-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vb96-btn-register,
.vb96-btn-login {
  border: none;
  border-radius: var(--vb96-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.vb96-btn-register {
  background: var(--vb96-primary);
  color: #fff;
}
.vb96-btn-register:active { transform: scale(0.95); }
.vb96-btn-login {
  background: transparent;
  color: var(--vb96-text);
  border: 1px solid var(--vb96-border);
}
.vb96-btn-login:active { transform: scale(0.95); }
.vb96-menu-toggle {
  background: none;
  border: none;
  color: var(--vb96-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ========== Mobile Menu ========== */
.vb96-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.vb96-menu-overlay.vb96-active { opacity: 1; visibility: visible; }
.vb96-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vb96-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}
.vb96-mobile-menu.vb96-active { right: 0; }
.vb96-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vb96-border);
}
.vb96-menu-header span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vb96-accent);
}
.vb96-menu-close {
  background: none;
  border: none;
  color: var(--vb96-text);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}
.vb96-mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  color: var(--vb96-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(74, 74, 74, 0.4);
  transition: color 0.2s;
}
.vb96-mobile-menu nav a:hover { color: var(--vb96-primary); }

/* ========== Carousel ========== */
.vb96-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--vb96-radius);
  margin-top: 1rem;
}
.vb96-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.vb96-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}
.vb96-carousel-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--vb96-radius);
}
.vb96-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.vb96-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.vb96-carousel-dot.vb96-active { background: var(--vb96-primary); }

/* ========== Main Content ========== */
.vb96-main { padding: 1.2rem 0; }
.vb96-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vb96-accent);
  margin-bottom: 1rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--vb96-primary);
}
.vb96-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vb96-accent);
  text-align: center;
  margin: 1.2rem 0;
  line-height: 1.4;
}

/* ========== Game Grid ========== */
.vb96-game-category { margin-bottom: 2rem; }
.vb96-game-category h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vb96-accent);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vb96-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vb96-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s;
  background: var(--vb96-card);
  border-radius: var(--vb96-radius);
  padding: 0.6rem 0.4rem;
}
.vb96-game-item:active { transform: scale(0.95); }
.vb96-game-item img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 0.3rem;
}
.vb96-game-item span {
  font-size: 1rem;
  color: var(--vb96-text);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* ========== Cards ========== */
.vb96-card {
  background: var(--vb96-card);
  border-radius: var(--vb96-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--vb96-shadow);
}
.vb96-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vb96-accent);
  margin-bottom: 0.8rem;
}
.vb96-card p {
  font-size: 1.3rem;
  color: var(--vb96-text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

/* ========== CTA Section ========== */
.vb96-cta {
  background: linear-gradient(135deg, var(--vb96-primary), #FF8A65);
  border-radius: var(--vb96-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
  cursor: pointer;
  transition: transform 0.15s;
}
.vb96-cta:active { transform: scale(0.98); }
.vb96-cta h3 {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.vb96-cta p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
}

/* ========== Winners Table ========== */
.vb96-winners {
  margin: 1.6rem 0;
}
.vb96-winners-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(74, 74, 74, 0.3);
  font-size: 1.2rem;
}
.vb96-winners-name { color: var(--vb96-accent); font-weight: 600; }
.vb96-winners-game { color: var(--vb96-text); flex: 1; margin: 0 0.8rem; }
.vb96-winners-amount { color: var(--vb96-primary); font-weight: 700; }

/* ========== Payment Methods ========== */
.vb96-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}
.vb96-payment-item {
  background: var(--vb96-card);
  border-radius: var(--vb96-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--vb96-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== Testimonials ========== */
.vb96-testimonial {
  background: var(--vb96-card);
  border-radius: var(--vb96-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}
.vb96-testimonial-text {
  font-size: 1.2rem;
  color: var(--vb96-text);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 0.6rem;
}
.vb96-testimonial-author {
  font-size: 1.1rem;
  color: var(--vb96-accent);
  font-weight: 600;
}

/* ========== Footer ========== */
.vb96-footer {
  background: var(--vb96-bg-dark);
  padding: 2rem 1.2rem 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--vb96-border);
}
.vb96-footer-brand {
  font-size: 1.3rem;
  color: rgba(224, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.vb96-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.4rem;
}
.vb96-footer-links a {
  font-size: 1.2rem;
  color: var(--vb96-text);
  transition: color 0.2s;
}
.vb96-footer-links a:hover { color: var(--vb96-primary); }
.vb96-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.vb96-footer-promo button {
  background: var(--vb96-primary);
  color: #fff;
  border: none;
  border-radius: var(--vb96-radius);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s;
}
.vb96-footer-promo button:active { transform: scale(0.95); }
.vb96-footer-copy {
  font-size: 1.1rem;
  color: rgba(224, 255, 255, 0.5);
  text-align: center;
}

/* ========== Bottom Navigation ========== */
.vb96-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--vb96-bnav-h);
  background: var(--vb96-bg-dark);
  border-top: 1px solid var(--vb96-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
.vb96-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: rgba(224, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  text-decoration: none;
  gap: 2px;
}
.vb96-bottom-nav-btn:active { transform: scale(0.9); }
.vb96-bottom-nav-btn.vb96-active { color: var(--vb96-primary); }
.vb96-bottom-nav-btn .material-icons,
.vb96-bottom-nav-btn .fas,
.vb96-bottom-nav-btn .far,
.vb96-bottom-nav-btn .fad { font-size: 22px; }
.vb96-bottom-nav-btn ion-icon { font-size: 22px; }
.vb96-bottom-nav-btn span {
  font-size: 10px;
  line-height: 1.2;
}

/* ========== Utility ========== */
.vb96-text-accent { color: var(--vb96-primary); }
.vb96-text-highlight { color: var(--vb96-accent); }
.vb96-mt-1 { margin-top: 1rem; }
.vb96-mb-1 { margin-bottom: 1rem; }
.vb96-mt-2 { margin-top: 2rem; }
.vb96-mb-2 { margin-bottom: 2rem; }
.vb96-text-center { text-align: center; }
.vb96-link-text {
  color: var(--vb96-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .vb96-wrapper { padding-bottom: calc(var(--vb96-bnav-h) + 1rem); }
}
@media (min-width: 769px) {
  .vb96-bottom-nav { display: none; }
  .vb96-wrapper { padding-bottom: 0; }
}
