/**
 * SLOTVIP Theme Stylesheet
 * Prefix: gaa5-
 * Colors: #3CB371 #4169E1 #4682B4 #FFE135 #1A1A1A
 */

:root {
  --gaa5-primary: #3CB371;
  --gaa5-secondary: #4169E1;
  --gaa5-accent: #4682B4;
  --gaa5-highlight: #FFE135;
  --gaa5-bg: #1A1A1A;
  --gaa5-bg-light: #242424;
  --gaa5-bg-card: #2a2a2a;
  --gaa5-text: #f0f0f0;
  --gaa5-text-muted: #aaaaaa;
  --gaa5-border: #333333;
  --gaa5-radius: 8px;
  --gaa5-radius-lg: 12px;
  --gaa5-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gaa5-bg);
  color: var(--gaa5-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gaa5-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Header */
.gaa5-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gaa5-bg);
  border-bottom: 1px solid var(--gaa5-border);
  max-width: 430px;
  margin: 0 auto;
}
.gaa5-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 50px;
}
.gaa5-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gaa5-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.gaa5-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gaa5-highlight);
  letter-spacing: 0.5px;
}
.gaa5-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gaa5-btn-register {
  background: var(--gaa5-primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--gaa5-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gaa5-btn-register:hover { background: #2e9e60; transform: scale(1.03); }
.gaa5-btn-login {
  background: transparent;
  color: var(--gaa5-secondary);
  border: 1px solid var(--gaa5-secondary);
  padding: 5px 13px;
  border-radius: var(--gaa5-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gaa5-btn-login:hover { background: var(--gaa5-secondary); color: #fff; }
.gaa5-menu-btn {
  background: none;
  border: none;
  color: var(--gaa5-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu */
.gaa5-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--gaa5-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.gaa5-mobile-menu.gaa5-menu-active { right: 0; }
.gaa5-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.gaa5-menu-overlay.gaa5-overlay-active { opacity: 1; visibility: visible; }
.gaa5-mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--gaa5-border);
  color: var(--gaa5-text);
  font-size: 1.4rem;
}
.gaa5-mobile-menu a:hover { color: var(--gaa5-primary); text-decoration: none; }
.gaa5-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--gaa5-text);
  font-size: 2.4rem;
  cursor: pointer;
}

/* Main Content */
.gaa5-main {
  padding-top: 58px;
  min-height: 100vh;
}

/* Carousel */
.gaa5-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--gaa5-radius) var(--gaa5-radius);
}
.gaa5-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.gaa5-slide.gaa5-slide-active { display: block; }
.gaa5-slide img { width: 100%; height: auto; }
.gaa5-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gaa5-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
}
.gaa5-dot.gaa5-dot-active { background: var(--gaa5-highlight); }

/* Sections */
.gaa5-section {
  padding: 20px 12px;
}
.gaa5-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gaa5-text);
  border-left: 3px solid var(--gaa5-primary);
  padding-left: 10px;
}
.gaa5-section-title span { color: var(--gaa5-primary); }

/* Game Grid */
.gaa5-game-section { margin-bottom: 24px; }
.gaa5-game-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gaa5-highlight);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gaa5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gaa5-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.gaa5-game-item:hover { transform: scale(1.05); }
.gaa5-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--gaa5-radius);
  object-fit: cover;
  border: 1px solid var(--gaa5-border);
}
.gaa5-game-item span {
  display: block;
  font-size: 1.1rem;
  margin-top: 4px;
  color: var(--gaa5-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.gaa5-card {
  background: var(--gaa5-bg-card);
  border-radius: var(--gaa5-radius-lg);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--gaa5-border);
}
.gaa5-card h3 {
  font-size: 1.5rem;
  color: var(--gaa5-primary);
  margin-bottom: 8px;
}
.gaa5-card p {
  font-size: 1.3rem;
  color: var(--gaa5-text-muted);
  line-height: 1.7rem;
}

/* Promo Button */
.gaa5-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gaa5-primary), var(--gaa5-secondary));
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--gaa5-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
  text-align: center;
}
.gaa5-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(60,179,113,0.4);
  text-decoration: none;
}
.gaa5-promo-btn-yellow {
  background: linear-gradient(135deg, var(--gaa5-highlight), #e6c800);
  color: #1A1A1A;
}
.gaa5-promo-btn-blue {
  background: linear-gradient(135deg, var(--gaa5-secondary), var(--gaa5-accent));
}

/* Promo text link */
.gaa5-promo-link {
  color: var(--gaa5-highlight);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Feature List */
.gaa5-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gaa5-feature-item {
  background: var(--gaa5-bg-card);
  padding: 12px;
  border-radius: var(--gaa5-radius);
  text-align: center;
  border: 1px solid var(--gaa5-border);
}
.gaa5-feature-item i, .gaa5-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--gaa5-primary);
  margin-bottom: 6px;
  display: block;
}
.gaa5-feature-item span {
  font-size: 1.2rem;
  color: var(--gaa5-text-muted);
}

/* Winner marquee */
.gaa5-winners-box {
  background: var(--gaa5-bg-card);
  border-radius: var(--gaa5-radius-lg);
  padding: 14px;
  border: 1px solid var(--gaa5-border);
}
.gaa5-winner-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gaa5-border);
  font-size: 1.2rem;
}
.gaa5-winner-item:last-child { border-bottom: none; }
.gaa5-winner-name { color: var(--gaa5-highlight); font-weight: 600; }
.gaa5-winner-amount { color: var(--gaa5-primary); font-weight: 700; }
.gaa5-winner-game { color: var(--gaa5-text-muted); }

/* Testimonial */
.gaa5-testimonial {
  background: var(--gaa5-bg-card);
  border-radius: var(--gaa5-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gaa5-primary);
}
.gaa5-testimonial-text {
  font-size: 1.3rem;
  color: var(--gaa5-text-muted);
  font-style: italic;
  margin-bottom: 8px;
}
.gaa5-testimonial-author {
  font-size: 1.2rem;
  color: var(--gaa5-highlight);
  font-weight: 600;
}

/* Payment icons row */
.gaa5-payment-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.gaa5-payment-item {
  background: var(--gaa5-bg-card);
  border-radius: var(--gaa5-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  border: 1px solid var(--gaa5-border);
  color: var(--gaa5-text-muted);
}

/* Footer */
.gaa5-footer {
  background: var(--gaa5-bg-light);
  padding: 24px 12px 80px;
  border-top: 1px solid var(--gaa5-border);
}
.gaa5-footer-brand {
  font-size: 1.4rem;
  color: var(--gaa5-text-muted);
  margin-bottom: 16px;
  line-height: 1.7rem;
}
.gaa5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.gaa5-footer-links a {
  background: var(--gaa5-bg-card);
  padding: 6px 12px;
  border-radius: var(--gaa5-radius);
  font-size: 1.2rem;
  color: var(--gaa5-text-muted);
  border: 1px solid var(--gaa5-border);
}
.gaa5-footer-links a:hover { color: var(--gaa5-primary); border-color: var(--gaa5-primary); text-decoration: none; }
.gaa5-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gaa5-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--gaa5-border);
}

/* Bottom Navigation */
.gaa5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gaa5-bg-light);
  border-top: 1px solid var(--gaa5-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 4px 0;
}
.gaa5-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--gaa5-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 2px 4px;
  border-radius: var(--gaa5-radius);
}
.gaa5-bottom-nav-btn:hover, .gaa5-bottom-nav-btn:active {
  color: var(--gaa5-primary);
  transform: scale(1.08);
}
.gaa5-bottom-nav-btn.gaa5-nav-active {
  color: var(--gaa5-highlight);
}
.gaa5-bottom-nav-btn i,
.gaa5-bottom-nav-btn .material-icons,
.gaa5-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.gaa5-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

/* Partners */
.gaa5-partners {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.gaa5-partners img {
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.3s;
  border-radius: 4px;
}
.gaa5-partners img:hover { opacity: 1; }

/* CTA section */
.gaa5-cta-section {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(60,179,113,0.15), rgba(65,105,225,0.15));
  border-radius: var(--gaa5-radius-lg);
  margin: 16px 0;
}

/* Responsive desktop */
@media (min-width: 769px) {
  .gaa5-bottom-nav { display: none; }
  .gaa5-header { max-width: 100%; }
  .gaa5-main { padding-top: 60px; }
}
@media (max-width: 768px) {
  .gaa5-main { padding-bottom: 80px; }
}
