/**
 * JLQQ Core CSS Module
 * All classes prefixed with "v0ca-" for namespace isolation
 * Color palette: #FF4500 (accent) | #0C0C0C (bg) | Mobile-first design
 */

:root {
  --v0ca-primary: #FF4500;
  --v0ca-bg: #0C0C0C;
  --v0ca-bg-card: #1A1A1A;
  --v0ca-bg-dark: #050505;
  --v0ca-text: #FFFFFF;
  --v0ca-text-muted: #A0A0A0;
  --v0ca-text-dim: #6B6B6B;
  --v0ca-border: #2A2A2A;
  --v0ca-accent: #FF6B35;
  --v0ca-gold: #FFD700;
  --v0ca-green: #00C853;
  --v0ca-radius: 8px;
  --v0ca-radius-lg: 12px;
  --v0ca-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

*, *::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-color: var(--v0ca-bg);
  color: var(--v0ca-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--v0ca-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--v0ca-accent); }
img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.v0ca-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #111111, var(--v0ca-bg));
  border-bottom: 1px solid var(--v0ca-border);
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  height: 52px;
  backdrop-filter: blur(10px);
}

.v0ca-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v0ca-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.v0ca-site-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--v0ca-primary);
  letter-spacing: 0.5px;
}

.v0ca-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v0ca-btn-register, .v0ca-btn-login {
  padding: 0.4rem 1rem;
  border-radius: var(--v0ca-radius);
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 32px;
}

.v0ca-btn-register {
  background: linear-gradient(135deg, var(--v0ca-primary), var(--v0ca-accent));
  color: #fff;
}

.v0ca-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,69,0,0.4); }

.v0ca-btn-login {
  background: transparent;
  color: var(--v0ca-primary);
  border: 1.5px solid var(--v0ca-primary);
}

.v0ca-btn-login:hover { background: rgba(255,69,0,0.1); }

.v0ca-menu-toggle {
  background: none;
  border: none;
  color: var(--v0ca-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE MENU === */
.v0ca-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
}

.v0ca-mobile-menu.v0ca-menu-active { display: block; }

.v0ca-menu-link {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--v0ca-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--v0ca-border);
  transition: all 0.2s;
}

.v0ca-menu-link:hover {
  color: var(--v0ca-primary);
  padding-left: 1.5rem;
  background: rgba(255,69,0,0.05);
}

/* === MAIN CONTENT === */
.v0ca-main {
  margin-top: 52px;
  padding-bottom: 20px;
}

/* === CAROUSEL === */
.v0ca-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.v0ca-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.v0ca-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.v0ca-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.v0ca-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.v0ca-dot-active {
  background: var(--v0ca-primary);
  transform: scale(1.3);
}

/* === SECTIONS === */
.v0ca-section {
  padding: 2rem 1.2rem;
}

.v0ca-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--v0ca-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v0ca-section-title .material-icons, .v0ca-section-title .fas, .v0ca-section-title .bi {
  color: var(--v0ca-primary);
  font-size: 2rem;
}

/* === GAME GRID === */
.v0ca-game-category {
  margin-bottom: 2rem;
}

.v0ca-category-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v0ca-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--v0ca-primary);
}

.v0ca-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.v0ca-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.v0ca-game-item:hover { transform: scale(1.05); }

.v0ca-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--v0ca-radius);
  object-fit: cover;
  border: 2px solid var(--v0ca-border);
  margin-bottom: 0.3rem;
}

.v0ca-game-item span {
  font-size: 1rem;
  color: var(--v0ca-text-muted);
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 80px;
}

/* === CONTENT CARDS === */
.v0ca-card {
  background: var(--v0ca-bg-card);
  border-radius: var(--v0ca-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--v0ca-border);
}

.v0ca-card h2, .v0ca-card h3 {
  color: var(--v0ca-text);
  margin-bottom: 0.8rem;
}

.v0ca-card p {
  color: var(--v0ca-text-muted);
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 0.6rem;
}

.v0ca-card ul {
  padding-left: 1.5rem;
  color: var(--v0ca-text-muted);
  font-size: 1.3rem;
}

.v0ca-card li { margin-bottom: 0.4rem; line-height: 1.6rem; }

/* === FAQ ACCORDION === */
.v0ca-faq-item {
  background: var(--v0ca-bg-card);
  border-radius: var(--v0ca-radius);
  margin-bottom: 0.6rem;
  border: 1px solid var(--v0ca-border);
  overflow: hidden;
}

.v0ca-faq-question {
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--v0ca-text);
  transition: background 0.2s;
}

.v0ca-faq-question:hover { background: rgba(255,69,0,0.05); }

.v0ca-faq-icon {
  transition: transform 0.3s;
  color: var(--v0ca-primary);
  font-size: 1.2rem;
}

.v0ca-faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  color: var(--v0ca-text-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
}

/* === PROMO CTA === */
.v0ca-cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--v0ca-primary), var(--v0ca-accent));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255,69,0,0.3);
}

.v0ca-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,69,0,0.5);
}

.v0ca-cta-center {
  text-align: center;
  padding: 2rem 0;
}

.v0ca-text-link {
  color: var(--v0ca-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* === TESTIMONIALS === */
.v0ca-testimonial {
  background: var(--v0ca-bg-card);
  border-radius: var(--v0ca-radius-lg);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v0ca-primary);
}

.v0ca-testimonial-name {
  font-weight: 700;
  color: var(--v0ca-primary);
  font-size: 1.2rem;
}

.v0ca-testimonial-text {
  color: var(--v0ca-text-muted);
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-top: 0.4rem;
}

/* === WINNER SHOWCASE === */
.v0ca-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--v0ca-bg-card);
  border-radius: var(--v0ca-radius);
  margin-bottom: 0.5rem;
}

.v0ca-winner-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.v0ca-winner-info { flex: 1; }
.v0ca-winner-name { font-weight: 600; font-size: 1.2rem; }
.v0ca-winner-amount { color: var(--v0ca-green); font-weight: 800; font-size: 1.3rem; }

/* === FOOTER === */
.v0ca-footer {
  background: var(--v0ca-bg-dark);
  padding: 2rem 1.2rem 1rem;
  border-top: 1px solid var(--v0ca-border);
}

.v0ca-footer-brand {
  color: var(--v0ca-text-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 1.2rem;
}

.v0ca-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.v0ca-footer-link {
  padding: 0.5rem 1rem;
  background: var(--v0ca-bg-card);
  border-radius: var(--v0ca-radius);
  color: var(--v0ca-text-muted);
  font-size: 1.1rem;
  border: 1px solid var(--v0ca-border);
  transition: all 0.2s;
}

.v0ca-footer-link:hover { color: var(--v0ca-primary); border-color: var(--v0ca-primary); }

.v0ca-footer-copy {
  text-align: center;
  color: var(--v0ca-text-dim);
  font-size: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--v0ca-border);
}

/* === BOTTOM NAVIGATION === */
.v0ca-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A, #111111);
  border-top: 1px solid var(--v0ca-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}

.v0ca-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--v0ca-text-dim);
  cursor: pointer;
  min-width: 60px;
  min-height: 54px;
  transition: all 0.2s;
  padding: 0.4rem;
  border-radius: 8px;
}

.v0ca-bottom-btn:hover, .v0ca-bottom-btn:focus {
  color: var(--v0ca-primary);
  background: rgba(255,69,0,0.08);
}

.v0ca-bottom-btn.active {
  color: var(--v0ca-primary);
}

.v0ca-bottom-btn .material-icons, .v0ca-bottom-btn .fas, .v0ca-bottom-btn .bi, .v0ca-bottom-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.v0ca-bottom-btn span {
  font-size: 10px;
  font-weight: 600;
}

/* === PAYMENT METHODS === */
.v0ca-payment-grid {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.v0ca-payment-item {
  background: var(--v0ca-bg-card);
  border: 1px solid var(--v0ca-border);
  border-radius: var(--v0ca-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--v0ca-text-muted);
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (min-width: 769px) {
  .v0ca-bottom-nav { display: none; }
  .v0ca-header { max-width: 430px; }
  .v0ca-mobile-menu { max-width: 430px; }
}

@media (max-width: 768px) {
  .v0ca-main { padding-bottom: 80px; }
}

/* === UTILITIES === */
.v0ca-divider {
  border: none;
  border-top: 1px solid var(--v0ca-border);
  margin: 1.5rem 0;
}

.v0ca-highlight { color: var(--v0ca-primary); font-weight: 700; }
.v0ca-gold { color: var(--v0ca-gold); }
.v0ca-green { color: var(--v0ca-green); }
.v0ca-mb-sm { margin-bottom: 0.6rem; }
.v0ca-mb-md { margin-bottom: 1.2rem; }
.v0ca-mb-lg { margin-bottom: 2rem; }
.v0ca-text-sm { font-size: 1.1rem; }
.v0ca-text-center { text-align: center; }
