/**
 * LUCKYPOT - design-316a.css
 * Core stylesheet with vae5- prefix
 * Color palette: #CED4DA | #E0FFFF | #34495E | #808080
 * Mobile-first responsive design (max-width: 430px)
 */

:root {
  --vae5-primary: #CED4DA;
  --vae5-secondary: #E0FFFF;
  --vae5-bg: #34495E;
  --vae5-gray: #808080;
  --vae5-dark: #2C3E50;
  --vae5-darker: #1A252F;
  --vae5-light: #F8F9FA;
  --vae5-accent: #5DADE2;
  --vae5-gold: #F4D03F;
  --vae5-green: #58D68D;
  --vae5-red: #EC7063;
  --vae5-radius: 8px;
  --vae5-radius-lg: 12px;
  --vae5-shadow: 0 2px 8px rgba(0,0,0,0.15);
  --vae5-shadow-lg: 0 4px 16px rgba(0,0,0,0.25);
}

/* Base reset and typography */
*, *::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-color: var(--vae5-bg);
  color: var(--vae5-primary);
  font-size: 1.4rem;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vae5-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--vae5-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container and layout */
.vae5-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.vae5-wrapper { width: 100%; overflow-x: hidden; }

/* Header */
.vae5-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--vae5-darker), var(--vae5-dark));
  border-bottom: 1px solid rgba(206,212,218,0.15);
  height: 56px;
}
.vae5-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.vae5-logo { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.vae5-logo img { width: 28px; height: 28px; border-radius: 4px; }
.vae5-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--vae5-gold); letter-spacing: 0.5px; }
.vae5-header-actions { display: flex; align-items: center; gap: 8px; }
.vae5-header-btn {
  padding: 6px 14px; border-radius: var(--vae5-radius); font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  min-height: 32px; min-width: 56px;
}
.vae5-btn-register {
  background: var(--vae5-gold); color: var(--vae5-darker);
}
.vae5-btn-register:hover { background: #F7DC6F; transform: scale(1.03); }
.vae5-btn-login {
  background: transparent; color: var(--vae5-secondary);
  border: 1px solid var(--vae5-secondary);
}
.vae5-btn-login:hover { background: rgba(224,255,255,0.1); }
.vae5-menu-toggle {
  background: none; border: none; color: var(--vae5-primary);
  font-size: 2rem; cursor: pointer; padding: 4px 8px;
  display: flex; align-items: center; justify-content: center;
}
.vae5-menu-toggle:hover { color: var(--vae5-secondary); }

/* Mobile menu */
.vae5-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--vae5-darker); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 1.5rem;
}
.vae5-menu-active { right: 0; }
.vae5-menu-close {
  background: none; border: none; color: var(--vae5-primary);
  font-size: 2.4rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.vae5-menu-section { margin-bottom: 2rem; }
.vae5-menu-title {
  font-size: 1.2rem; color: var(--vae5-gray); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0.8rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(206,212,218,0.1);
}
.vae5-menu-link {
  display: block; padding: 0.8rem 1rem; color: var(--vae5-primary);
  font-size: 1.4rem; border-radius: var(--vae5-radius);
  transition: all 0.2s;
}
.vae5-menu-link:hover { background: rgba(224,255,255,0.08); color: var(--vae5-secondary); }

/* Menu overlay */
.vae5-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;
}
.vae5-overlay-active { opacity: 1; visibility: visible; }

/* Carousel / Banner */
.vae5-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--vae5-radius-lg); margin-top: 1rem;
}
.vae5-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.vae5-slide-active { display: block; }
.vae5-carousel-slide img { width: 100%; height: auto; border-radius: var(--vae5-radius-lg); }
.vae5-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.vae5-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(206,212,218,0.4); cursor: pointer;
  transition: all 0.3s; border: none;
}
.vae5-dot-active { background: var(--vae5-gold); width: 20px; border-radius: 4px; }

/* Section titles */
.vae5-section { margin: 2rem 0; }
.vae5-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--vae5-gold);
  margin-bottom: 1.2rem; padding-left: 1rem;
  border-left: 3px solid var(--vae5-accent);
}
.vae5-section-subtitle {
  font-size: 1.4rem; color: var(--vae5-secondary); margin-bottom: 1rem;
}

/* Game grid */
.vae5-game-category { margin-bottom: 2rem; }
.vae5-category-label {
  font-size: 1.5rem; font-weight: 600; color: var(--vae5-secondary);
  margin-bottom: 0.8rem; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(206,212,218,0.15);
  display: flex; align-items: center; gap: 8px;
}
.vae5-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vae5-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
  text-align: center;
}
.vae5-game-item:hover { transform: translateY(-2px); }
.vae5-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--vae5-radius);
  object-fit: cover; border: 1px solid rgba(206,212,218,0.1);
}
.vae5-game-name {
  font-size: 1.1rem; color: var(--vae5-primary); margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%;
}

/* Buttons */
.vae5-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--vae5-radius);
  font-size: 1.4rem; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; min-height: 44px;
}
.vae5-btn-primary { background: var(--vae5-gold); color: var(--vae5-darker); }
.vae5-btn-primary:hover { background: #F7DC6F; transform: scale(1.03); }
.vae5-btn-accent { background: var(--vae5-accent); color: #fff; }
.vae5-btn-accent:hover { background: #3498DB; }
.vae5-btn-outline {
  background: transparent; color: var(--vae5-secondary);
  border: 1px solid var(--vae5-secondary);
}
.vae5-btn-outline:hover { background: rgba(224,255,255,0.1); }
.vae5-btn-lg { padding: 12px 28px; font-size: 1.6rem; width: 100%; }

/* Cards */
.vae5-card {
  background: var(--vae5-dark); border-radius: var(--vae5-radius-lg);
  padding: 1.5rem; margin-bottom: 1rem;
  border: 1px solid rgba(206,212,218,0.08);
}
.vae5-card-title {
  font-size: 1.5rem; font-weight: 600; color: var(--vae5-secondary);
  margin-bottom: 0.8rem;
}
.vae5-card-text { color: var(--vae5-primary); font-size: 1.3rem; line-height: 1.6; }

/* Content blocks */
.vae5-content-block {
  background: var(--vae5-dark); border-radius: var(--vae5-radius-lg);
  padding: 1.5rem; margin: 1.5rem 0;
  border: 1px solid rgba(206,212,218,0.08);
}
.vae5-content-block h2 {
  font-size: 1.7rem; color: var(--vae5-gold); margin-bottom: 1rem;
}
.vae5-content-block h3 {
  font-size: 1.4rem; color: var(--vae5-secondary); margin-bottom: 0.6rem;
}
.vae5-content-block p {
  color: var(--vae5-primary); font-size: 1.3rem; line-height: 1.6;
  margin-bottom: 0.8rem;
}
.vae5-content-block ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.vae5-content-block li {
  color: var(--vae5-primary); font-size: 1.3rem; line-height: 1.8;
  position: relative; padding-left: 1rem;
}
.vae5-content-block li::before {
  content: ''; position: absolute; left: 0; top: 0.7rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--vae5-accent);
}

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

/* Play now CTA */
.vae5-cta-block {
  background: linear-gradient(135deg, var(--vae5-darker), var(--vae5-dark));
  border-radius: var(--vae5-radius-lg); padding: 2rem;
  text-align: center; margin: 2rem 0;
  border: 1px solid rgba(244,208,63,0.2);
}
.vae5-cta-title { font-size: 2rem; color: var(--vae5-gold); margin-bottom: 0.5rem; }
.vae5-cta-text { color: var(--vae5-primary); font-size: 1.3rem; margin-bottom: 1.5rem; }

/* Stats / numbers */
.vae5-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.vae5-stat-item {
  background: rgba(206,212,218,0.05); border-radius: var(--vae5-radius);
  padding: 1rem; text-align: center;
}
.vae5-stat-number { font-size: 2rem; font-weight: 700; color: var(--vae5-gold); }
.vae5-stat-label { font-size: 1.1rem; color: var(--vae5-gray); margin-top: 0.3rem; }

/* Testimonials */
.vae5-testimonial {
  background: var(--vae5-dark); border-radius: var(--vae5-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--vae5-accent);
}
.vae5-testimonial-text { font-size: 1.3rem; color: var(--vae5-primary); font-style: italic; }
.vae5-testimonial-author { font-size: 1.1rem; color: var(--vae5-gray); margin-top: 0.5rem; }

/* Payment icons */
.vae5-payment-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.vae5-payment-item {
  background: var(--vae5-dark); border-radius: var(--vae5-radius);
  padding: 0.8rem 1.5rem; font-size: 1.2rem; color: var(--vae5-secondary);
  border: 1px solid rgba(206,212,218,0.1);
}

/* Winner showcase */
.vae5-winner-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(206,212,218,0.05);
}
.vae5-winner-name { font-size: 1.2rem; color: var(--vae5-primary); }
.vae5-winner-amount { font-size: 1.4rem; font-weight: 700; color: var(--vae5-green); }
.vae5-winner-game { font-size: 1.1rem; color: var(--vae5-gray); }

/* Footer */
.vae5-footer {
  background: var(--vae5-darker); padding: 2rem 0 8rem;
  margin-top: 2rem; border-top: 1px solid rgba(206,212,218,0.1);
}
.vae5-footer-brand { font-size: 1.3rem; color: var(--vae5-gray); line-height: 1.6; margin-bottom: 1.5rem; }
.vae5-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem;
}
.vae5-footer-link {
  font-size: 1.2rem; color: var(--vae5-primary); padding: 4px 8px;
  border-radius: 4px; transition: all 0.2s;
}
.vae5-footer-link:hover { color: var(--vae5-secondary); background: rgba(224,255,255,0.05); }
.vae5-footer-promo-btns {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem;
}
.vae5-footer-promo-btn {
  padding: 8px 16px; border-radius: var(--vae5-radius);
  background: var(--vae5-accent); color: #fff; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.vae5-footer-promo-btn:hover { background: #3498DB; transform: scale(1.03); }
.vae5-footer-copyright {
  font-size: 1.1rem; color: var(--vae5-gray); text-align: center;
  padding-top: 1rem; border-top: 1px solid rgba(206,212,218,0.08);
}

/* Bottom mobile navigation */
.vae5-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--vae5-darker), #0D1117);
  border-top: 1px solid rgba(244,208,63,0.15);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 4px;
}
.vae5-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; cursor: pointer;
  color: var(--vae5-gray); transition: all 0.2s; position: relative;
}
.vae5-nav-btn:hover, .vae5-nav-btn:focus { color: var(--vae5-gold); }
.vae5-nav-btn-icon { font-size: 22px; margin-bottom: 2px; }
.vae5-nav-btn-text { font-size: 10px; font-weight: 500; letter-spacing: 0.3px; }
.vae5-nav-btn-active { color: var(--vae5-gold); }
.vae5-nav-btn-active .vae5-nav-btn-icon {
  transform: scale(1.1); filter: drop-shadow(0 0 4px rgba(244,208,63,0.4));
}

/* Mobile main content padding for bottom nav */
@media (max-width: 768px) {
  main { padding-bottom: 76px; }
}

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

/* FAQ styles */
.vae5-faq-item { margin-bottom: 1rem; }
.vae5-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--vae5-secondary);
  margin-bottom: 0.4rem; padding-left: 1.5rem; position: relative;
}
.vae5-faq-q::before {
  content: 'Q'; position: absolute; left: 0; top: 0;
  color: var(--vae5-gold); font-weight: 700;
}
.vae5-faq-a {
  font-size: 1.3rem; color: var(--vae5-primary); line-height: 1.6;
  padding-left: 1.5rem;
}

/* Feature list */
.vae5-feature-item {
  display: flex; gap: 1rem; margin-bottom: 1.2rem;
  padding: 1rem; background: rgba(206,212,218,0.03);
  border-radius: var(--vae5-radius);
}
.vae5-feature-icon { font-size: 2rem; color: var(--vae5-accent); flex-shrink: 0; }
.vae5-feature-title { font-size: 1.4rem; font-weight: 600; color: var(--vae5-secondary); }
.vae5-feature-desc { font-size: 1.2rem; color: var(--vae5-primary); margin-top: 0.3rem; }

/* Utility */
.vae5-text-center { text-align: center; }
.vae5-text-gold { color: var(--vae5-gold); }
.vae5-text-accent { color: var(--vae5-accent); }
.vae5-mt-1 { margin-top: 1rem; }
.vae5-mb-1 { margin-bottom: 1rem; }
.vae5-mt-2 { margin-top: 2rem; }
.vae5-mb-2 { margin-bottom: 2rem; }
.vae5-hidden { display: none; }
