/**
 * 22bet.sbs - Core Stylesheet
 * All classes use va02- prefix for namespace isolation
 * Color Palette: #34495E | #5F9EA0 | #87CEEB | #FFCC33 | #EEEEEE | #0000CD
 */

:root {
  --va02-primary: #5F9EA0;
  --va02-secondary: #34495E;
  --va02-accent: #FFCC33;
  --va02-highlight: #87CEEB;
  --va02-bg: #1a2332;
  --va02-bg-card: #243447;
  --va02-bg-dark: #0f1923;
  --va02-text: #EEEEEE;
  --va02-text-muted: #a0b4c8;
  --va02-blue: #0000CD;
  --va02-gold: #FFCC33;
  --va02-success: #2ecc71;
  --va02-danger: #e74c3c;
  --va02-radius: 8px;
  --va02-radius-sm: 4px;
  --va02-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --va02-transition: all 0.3s ease;
}

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

/* === HEADER === */
.va02-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--va02-bg-dark) 0%, var(--va02-secondary) 100%);
  border-bottom: 2px solid var(--va02-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
}

.va02-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.va02-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: var(--va02-radius-sm);
}

.va02-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--va02-accent);
  letter-spacing: 0.5px;
}

.va02-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.va02-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--va02-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--va02-transition);
  min-height: 3.4rem;
  min-width: 4.4rem;
}

.va02-btn-register {
  background: linear-gradient(135deg, var(--va02-accent) 0%, #e6b800 100%);
  color: var(--va02-bg-dark);
}

.va02-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(255,204,51,0.5); }

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

.va02-btn-login:hover { background: rgba(95,158,160,0.15); }

.va02-btn-promo {
  background: linear-gradient(135deg, var(--va02-primary) 0%, #4a8a8c 100%);
  color: #fff;
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  border-radius: var(--va02-radius);
}

.va02-btn-promo:hover { transform: scale(1.02); }

.va02-menu-toggle {
  background: none;
  border: none;
  color: var(--va02-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* === MOBILE MENU === */
.va02-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--va02-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.va02-menu-active { right: 0; }

.va02-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

.va02-overlay-active { display: block; }

.va02-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--va02-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.va02-menu-list { list-style: none; padding: 1rem 0; }

.va02-menu-list li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.va02-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  color: var(--va02-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--va02-transition);
}

.va02-menu-list a:hover { background: rgba(95,158,160,0.15); color: var(--va02-primary); }

.va02-menu-list a i { font-size: 1.8rem; width: 2.4rem; text-align: center; color: var(--va02-primary); }

/* === MAIN CONTENT === */
.va02-main {
  margin-top: 5.2rem;
  padding: 0;
  min-height: 60vh;
}

@media (max-width: 768px) {
  .va02-main { padding-bottom: 7.5rem; }
}

.va02-container { padding: 0 1rem; max-width: 430px; margin: 0 auto; }

/* === CAROUSEL === */
.va02-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--va02-radius) var(--va02-radius);
  cursor: pointer;
}

.va02-carousel-slide {
  display: none;
  width: 100%;
  aspect-ratio: 16/7;
}

.va02-slide-active { display: block; }

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

.va02-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.va02-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}

.va02-dot-active { background: var(--va02-accent); transform: scale(1.3); }

/* === SECTIONS === */
.va02-section {
  padding: 2rem 1rem;
}

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

.va02-section-title i { color: var(--va02-primary); font-size: 2rem; }

.va02-section-subtitle {
  font-size: 1.4rem;
  color: var(--va02-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.va02-category-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--va02-primary);
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--va02-accent);
}

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

.va02-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--va02-transition);
  border-radius: var(--va02-radius);
  padding: 0.4rem;
}

.va02-game-item:hover { background: var(--va02-bg-card); transform: scale(1.05); }

.va02-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--va02-radius-sm);
  object-fit: cover;
}

.va02-game-name {
  font-size: 1rem;
  color: var(--va02-text-muted);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

/* === CONTENT CARDS === */
.va02-card {
  background: var(--va02-bg-card);
  border-radius: var(--va02-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--va02-shadow);
  border: 1px solid rgba(95,158,160,0.15);
}

.va02-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--va02-accent);
  margin-bottom: 0.8rem;
}

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

.va02-card a, .va02-text-link {
  color: var(--va02-primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.va02-card a:hover, .va02-text-link:hover { color: var(--va02-accent); }

/* === H TAGS === */
h1.va02-h1 {
  font-size: 2.2rem;
  color: var(--va02-accent);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h2.va02-h2 {
  font-size: 1.8rem;
  color: var(--va02-primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

h3.va02-h3 {
  font-size: 1.5rem;
  color: var(--va02-highlight);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

.va02-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.va02-footer-brand p {
  font-size: 1.2rem;
  color: var(--va02-text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.va02-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.va02-footer-links a {
  color: var(--va02-text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  transition: var(--va02-transition);
}

.va02-footer-links a:hover { color: var(--va02-accent); }

.va02-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.va02-footer-promo .va02-btn {
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
}

.va02-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* === BOTTOM NAV === */
.va02-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--va02-secondary) 0%, var(--va02-bg-dark) 100%);
  border-top: 1.5px solid var(--va02-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.3rem;
}

.va02-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--va02-text-muted);
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: var(--va02-transition);
  padding: 0.3rem;
  border-radius: var(--va02-radius-sm);
}

.va02-bottom-nav-btn i,
.va02-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.va02-bottom-nav-btn span {
  font-size: 10px;
  line-height: 1.2;
}

.va02-bottom-nav-btn:active { transform: scale(0.9); }
.va02-bottom-nav-btn:hover { color: var(--va02-primary); }

.va02-nav-current {
  color: var(--va02-accent) !important;
}

.va02-nav-current i { text-shadow: 0 0 8px rgba(255,204,51,0.5); }

@media (min-width: 769px) {
  .va02-bottom-nav { display: none; }
}

/* === UTILITIES === */
.va02-text-center { text-align: center; }
.va02-text-gold { color: var(--va02-accent); }
.va02-text-teal { color: var(--va02-primary); }
.va02-text-blue { color: var(--va02-highlight); }
.va02-mt-1 { margin-top: 1rem; }
.va02-mt-2 { margin-top: 2rem; }
.va02-mb-1 { margin-bottom: 1rem; }
.va02-mb-2 { margin-bottom: 2rem; }

.va02-promo-inline {
  color: var(--va02-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--va02-transition);
}

.va02-promo-inline:hover { color: var(--va02-primary); }

/* === WINNER STRIP === */
.va02-winner-strip {
  background: var(--va02-bg-card);
  padding: 0.8rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(95,158,160,0.1);
}

.va02-winner-strip span {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--va02-text-muted);
  margin-right: 2rem;
  animation: va02-scroll-left 20s linear infinite;
}

.va02-winner-strip .va02-amount { color: var(--va02-success); font-weight: 600; }

@keyframes va02-scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === FEATURES LIST === */
.va02-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.va02-feature-item {
  background: var(--va02-bg-card);
  border-radius: var(--va02-radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(95,158,160,0.1);
}

.va02-feature-item i { font-size: 2.4rem; color: var(--va02-primary); margin-bottom: 0.5rem; display: block; }
.va02-feature-item h3 { font-size: 1.3rem; color: var(--va02-accent); margin-bottom: 0.3rem; }
.va02-feature-item p { font-size: 1.1rem; color: var(--va02-text-muted); }

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

.va02-testimonial-name { font-size: 1.3rem; color: var(--va02-accent); font-weight: 600; }
.va02-testimonial-text { font-size: 1.2rem; color: var(--va02-text-muted); margin-top: 0.4rem; line-height: 1.5; }
.va02-testimonial-stars { color: var(--va02-accent); font-size: 1.2rem; margin-bottom: 0.3rem; }

/* === RTP BAR === */
.va02-rtp-bar {
  background: var(--va02-bg-dark);
  border-radius: 1rem;
  height: 1rem;
  overflow: hidden;
  margin: 0.3rem 0;
}

.va02-rtp-fill {
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--va02-primary), var(--va02-success));
  transition: width 0.8s ease;
}

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

.va02-payment-item {
  background: var(--va02-bg-card);
  border-radius: var(--va02-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--va02-text-muted);
  border: 1px solid rgba(95,158,160,0.1);
}

/* === APP CTA === */
.va02-app-cta {
  background: linear-gradient(135deg, var(--va02-bg-card) 0%, rgba(95,158,160,0.2) 100%);
  border-radius: var(--va02-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--va02-primary);
}

.va02-app-cta h3 { font-size: 1.6rem; color: var(--va02-accent); margin-bottom: 0.5rem; }
.va02-app-cta p { font-size: 1.3rem; color: var(--va02-text-muted); margin-bottom: 1rem; }
