/* xx999 casino - Core Stylesheet */
/* All classes use vca4- prefix for namespace isolation */
/* Color palette: #8B0000 | #FF0000 | #0C0C0C | #A9A9A9 */

:root {
  --vca4-primary: #8B0000;
  --vca4-accent: #FF0000;
  --vca4-bg: #0C0C0C;
  --vca4-bg-light: #1A1A1A;
  --vca4-bg-card: #141414;
  --vca4-text: #FFFFFF;
  --vca4-text-muted: #A9A9A9;
  --vca4-border: #2A2A2A;
  --vca4-gold: #FFD700;
  --vca4-gradient: linear-gradient(135deg, #8B0000 0%, #FF0000 100%);
  --vca4-radius: 0.8rem;
  --vca4-radius-sm: 0.4rem;
  --vca4-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.5);
}

/* Reset and 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, 'Helvetica Neue', Arial, sans-serif;
  background: var(--vca4-bg);
  color: var(--vca4-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: var(--vca4-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.vca4-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vca4-bg); border-bottom: 0.1rem solid var(--vca4-primary);
  max-width: 430px; margin: 0 auto; padding: 0 1rem;
}
.vca4-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem; position: relative;
}
.vca4-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.vca4-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.vca4-logo-text { font-size: 1.5rem; font-weight: 700; color: var(--vca4-accent); }
.vca4-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.vca4-btn-register {
  background: var(--vca4-gradient); color: #fff; border: none;
  padding: 0.6rem 1.4rem; border-radius: var(--vca4-radius-sm);
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vca4-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 1rem rgba(255,0,0,0.4); }
.vca4-btn-login {
  background: transparent; color: var(--vca4-accent); border: 0.1rem solid var(--vca4-accent);
  padding: 0.6rem 1.4rem; border-radius: var(--vca4-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.vca4-btn-login:hover { background: var(--vca4-accent); color: #fff; }
.vca4-menu-btn {
  background: none; border: none; color: var(--vca4-text); cursor: pointer;
  font-size: 2.2rem; padding: 0.4rem; display: flex; align-items: center;
}
.vca4-menu-btn:hover { color: var(--vca4-accent); }

/* Mobile menu overlay */
.vca4-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 9998; display: none;
  transition: opacity 0.3s;
}
.vca4-overlay-active { display: block; }

/* Mobile slide menu */
.vca4-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--vca4-bg-light); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  border-left: 0.1rem solid var(--vca4-primary);
}
.vca4-menu-open { right: 0; }
.vca4-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.6rem; border-bottom: 0.1rem solid var(--vca4-border);
}
.vca4-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--vca4-accent); }
.vca4-menu-close { background: none; border: none; color: var(--vca4-text); font-size: 2rem; cursor: pointer; }
.vca4-menu-links { padding: 1rem 0; }
.vca4-menu-link {
  display: block; padding: 1rem 1.6rem; color: var(--vca4-text);
  font-size: 1.4rem; border-bottom: 0.1rem solid var(--vca4-border);
  transition: background 0.2s, color 0.2s;
}
.vca4-menu-link:hover { background: var(--vca4-bg-card); color: var(--vca4-accent); }

/* Main content */
.vca4-main { padding-top: 5rem; }
@media (max-width: 768px) { .vca4-main { padding-bottom: 8rem; } }

/* Carousel */
.vca4-carousel {
  position: relative; overflow: hidden; width: 100%;
  aspect-ratio: 16/7; background: var(--vca4-bg-card);
}
.vca4-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease;
}
.vca4-slide-active { opacity: 1; }
.vca4-carousel-slide img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vca4-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.vca4-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.3s;
}
.vca4-dot-active { background: var(--vca4-accent); }

/* Section */
.vca4-section { padding: 1.6rem 1rem; }
.vca4-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--vca4-text);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--vca4-primary);
}
.vca4-section-title span { color: var(--vca4-accent); }

/* Game grid */
.vca4-cat-label {
  font-size: 1.6rem; font-weight: 700; color: var(--vca4-gold);
  margin: 1.2rem 0 0.8rem; display: flex; align-items: center; gap: 0.6rem;
}
.vca4-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.vca4-game-item { text-align: center; cursor: pointer; }
.vca4-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--vca4-radius-sm);
  border: 0.1rem solid var(--vca4-border); transition: transform 0.2s, border-color 0.2s;
}
.vca4-game-item:hover img { transform: scale(1.05); border-color: var(--vca4-accent); }
.vca4-game-name {
  font-size: 1rem; color: var(--vca4-text-muted); margin-top: 0.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Cards */
.vca4-card {
  background: var(--vca4-bg-card); border-radius: var(--vca4-radius);
  border: 0.1rem solid var(--vca4-border); padding: 1.4rem;
  margin-bottom: 1rem;
}
.vca4-card-title { font-size: 1.5rem; font-weight: 700; color: var(--vca4-accent); margin-bottom: 0.8rem; }
.vca4-card-text { font-size: 1.3rem; color: var(--vca4-text-muted); line-height: 1.8rem; }

/* Promo button */
.vca4-promo-btn {
  display: inline-block; background: var(--vca4-gradient); color: #fff;
  padding: 0.8rem 2rem; border-radius: var(--vca4-radius-sm);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.vca4-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 1.2rem rgba(255,0,0,0.5); }

/* Promo text link */
.vca4-promo-link {
  color: var(--vca4-accent); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.vca4-promo-link:hover { color: var(--vca4-gold); }

/* Footer */
.vca4-footer {
  background: var(--vca4-bg-light); border-top: 0.1rem solid var(--vca4-primary);
  padding: 2rem 1rem 1rem; margin-top: 2rem;
}
.vca4-footer-brand { font-size: 1.3rem; color: var(--vca4-text-muted); line-height: 1.8rem; margin-bottom: 1.2rem; }
.vca4-footer-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.vca4-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem; }
.vca4-footer-links a { color: var(--vca4-text-muted); font-size: 1.1rem; transition: color 0.2s; }
.vca4-footer-links a:hover { color: var(--vca4-accent); }
.vca4-footer-copy { font-size: 1.1rem; color: var(--vca4-text-muted); text-align: center; padding-top: 1rem; border-top: 0.1rem solid var(--vca4-border); }

/* Bottom navigation */
.vca4-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1A0000 0%, #0C0C0C 100%);
  border-top: 0.15rem solid var(--vca4-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.6);
}
.vca4-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5rem; background: none; border: none;
  color: var(--vca4-text-muted); cursor: pointer; padding: 0.4rem;
  transition: color 0.2s, transform 0.2s; gap: 0.2rem;
  -webkit-tap-highlight-color: transparent;
}
.vca4-bottom-nav-btn:active { transform: scale(0.9); }
.vca4-bottom-nav-btn .vca4-nav-icon { font-size: 2.2rem; line-height: 1; }
.vca4-bottom-nav-btn .vca4-nav-label { font-size: 1rem; line-height: 1.2; }
.vca4-bottom-nav-btn.vca4-nav-active { color: var(--vca4-accent); }
.vca4-bottom-nav-btn:hover { color: var(--vca4-accent); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) { .vca4-bottom-nav { display: none; } }

/* Utility classes */
.vca4-text-center { text-align: center; }
.vca4-text-accent { color: var(--vca4-accent); }
.vca4-text-gold { color: var(--vca4-gold); }
.vca4-text-muted { color: var(--vca4-text-muted); }
.vca4-mt-1 { margin-top: 0.8rem; }
.vca4-mt-2 { margin-top: 1.6rem; }
.vca4-mb-1 { margin-bottom: 0.8rem; }
.vca4-mb-2 { margin-bottom: 1.6rem; }
.vca4-flex-center { display: flex; align-items: center; justify-content: center; }

/* Responsive grid adjustments */
@media (max-width: 320px) { .vca4-game-grid { grid-template-columns: repeat(3, 1fr); } }

/* Animation */
@keyframes vca4-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.vca4-animate-pulse { animation: vca4-pulse 2s infinite; }

/* FAQ styles */
.vca4-faq-item { margin-bottom: 1rem; }
.vca4-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--vca4-accent); margin-bottom: 0.4rem; }
.vca4-faq-a { font-size: 1.3rem; color: var(--vca4-text-muted); line-height: 1.8rem; padding-left: 1rem; border-left: 0.2rem solid var(--vca4-primary); }

/* Feature list */
.vca4-feature-list { list-style: none; }
.vca4-feature-list li {
  padding: 0.6rem 0; border-bottom: 0.1rem solid var(--vca4-border);
  font-size: 1.3rem; color: var(--vca4-text-muted); line-height: 1.7rem;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.vca4-feature-list li:last-child { border-bottom: none; }
.vca4-feature-icon { color: var(--vca4-accent); flex-shrink: 0; margin-top: 0.2rem; }

/* Winner ticker */
.vca4-winner-ticker {
  background: var(--vca4-bg-card); border-radius: var(--vca4-radius);
  padding: 1rem; overflow: hidden;
}
.vca4-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0; font-size: 1.2rem; color: var(--vca4-text-muted);
}
.vca4-winner-row span:first-child { color: var(--vca4-gold); font-weight: 600; }
.vca4-winner-row span:last-child { color: var(--vca4-accent); font-weight: 700; }

/* Payment section */
.vca4-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.vca4-payment-item {
  background: var(--vca4-bg-card); border: 0.1rem solid var(--vca4-border);
  border-radius: var(--vca4-radius-sm); padding: 0.8rem 1.2rem;
  font-size: 1.2rem; color: var(--vca4-text-muted);
}

/* App download CTA */
.vca4-app-cta {
  background: var(--vca4-gradient); border-radius: var(--vca4-radius);
  padding: 2rem 1.4rem; text-align: center;
}
.vca4-app-cta h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.8rem; }
.vca4-app-cta p { font-size: 1.3rem; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; }

/* Testimonial */
.vca4-testimonial {
  background: var(--vca4-bg-card); border-radius: var(--vca4-radius);
  padding: 1.2rem; margin-bottom: 0.8rem; border-left: 0.3rem solid var(--vca4-accent);
}
.vca4-testimonial-text { font-size: 1.3rem; color: var(--vca4-text-muted); line-height: 1.7rem; font-style: italic; }
.vca4-testimonial-author { font-size: 1.1rem; color: var(--vca4-gold); margin-top: 0.6rem; font-weight: 600; }

/* Internal link style */
.vca4-internal-link { color: var(--vca4-gold); text-decoration: underline; font-weight: 500; }
.vca4-internal-link:hover { color: var(--vca4-accent); }
