/**
 * Scatter Free Bonus - Core Stylesheet
 * All classes use ve5f- prefix for namespace isolation
 * Color palette: #40E0D0 (teal) | #0C0C0C (dark) | #A9A9A9 (gray) | #00B8D4 (cyan) | #00FFFF (bright)
 * Mobile-first design, max-width 430px
 */

:root {
  --ve5f-primary: #40E0D0;
  --ve5f-bg: #0C0C0C;
  --ve5f-text: #A9A9A9;
  --ve5f-accent: #00B8D4;
  --ve5f-bright: #00FFFF;
  --ve5f-white: #FFFFFF;
  --ve5f-dark-surface: #1A1A1A;
  --ve5f-card-bg: #141414;
  --ve5f-border: #2A2A2A;
  --ve5f-gold: #FFD700;
  --ve5f-success: #00C853;
  --ve5f-radius: 8px;
  --ve5f-header-h: 56px;
  --ve5f-bottom-nav-h: 60px;
}

/* Reset and base */
html { font-size: 62.5%; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--ve5f-bg);
  color: var(--ve5f-white);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ve5f-bright); text-decoration: none; }
a:hover { color: var(--ve5f-primary); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.ve5f-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0C0C0C 0%, #1A1A1A 100%);
  border-bottom: 1px solid var(--ve5f-border);
  height: var(--ve5f-header-h);
  max-width: 430px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px;
}
.ve5f-logo-area {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.ve5f-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.ve5f-logo-area span {
  font-size: 1.4rem; font-weight: 700; color: var(--ve5f-primary);
  white-space: nowrap;
}
.ve5f-header-actions { display: flex; align-items: center; gap: 8px; }
.ve5f-btn-register {
  background: linear-gradient(135deg, var(--ve5f-accent), var(--ve5f-primary));
  color: var(--ve5f-bg); font-weight: 700; font-size: 1.2rem;
  padding: 6px 14px; border-radius: 20px; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ve5f-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(0,184,212,0.4); }
.ve5f-btn-login {
  background: transparent; color: var(--ve5f-primary);
  font-weight: 600; font-size: 1.2rem;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--ve5f-primary); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ve5f-btn-login:hover { background: var(--ve5f-primary); color: var(--ve5f-bg); }
.ve5f-menu-toggle {
  background: none; border: none; color: var(--ve5f-text);
  font-size: 2rem; cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile menu */
.ve5f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px;
  height: 100vh; z-index: 9999;
  background: var(--ve5f-dark-surface);
  transition: right 0.3s ease;
  padding: 60px 0 20px;
  overflow-y: auto;
}
.ve5f-menu-active { right: 0; }
.ve5f-mobile-menu a {
  display: block; padding: 14px 24px;
  color: var(--ve5f-text); font-size: 1.4rem;
  border-bottom: 1px solid var(--ve5f-border);
  transition: color 0.15s, background 0.15s;
}
.ve5f-mobile-menu a:hover { color: var(--ve5f-primary); background: rgba(64,224,208,0.08); }
.ve5f-menu-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--ve5f-text);
  font-size: 2.2rem; cursor: pointer;
}
.ve5f-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  display: none;
}
.ve5f-overlay-active { display: block; }

/* Main content */
.ve5f-main {
  padding-top: var(--ve5f-header-h);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .ve5f-main { padding-bottom: calc(var(--ve5f-bottom-nav-h) + 20px); }
}

/* Carousel */
.ve5f-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 var(--ve5f-radius) var(--ve5f-radius);
}
.ve5f-slide {
  display: none; cursor: pointer;
  position: relative;
}
.ve5f-slide-active { display: block; }
.ve5f-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.ve5f-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 16px;
}
.ve5f-slide-title { font-size: 1.6rem; font-weight: 700; color: var(--ve5f-primary); }
.ve5f-slide-desc { font-size: 1.2rem; color: var(--ve5f-text); margin-top: 4px; }
.ve5f-carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.ve5f-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.2s;
}
.ve5f-carousel-dot-active { background: var(--ve5f-primary); }

/* Section titles */
.ve5f-section {
  padding: 20px 14px;
}
.ve5f-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--ve5f-primary); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.ve5f-section-title::before {
  content: ''; display: inline-block;
  width: 4px; height: 20px; border-radius: 2px;
  background: var(--ve5f-accent);
}

/* Game grid */
.ve5f-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ve5f-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.15s;
}
.ve5f-game-item:hover { transform: translateY(-2px); }
.ve5f-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--ve5f-radius);
  border: 2px solid var(--ve5f-border);
  object-fit: cover;
}
.ve5f-game-item span {
  font-size: 1.1rem; color: var(--ve5f-text);
  margin-top: 4px; text-align: center;
  line-height: 1.3rem; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.ve5f-cat-title {
  font-size: 1.5rem; font-weight: 600;
  color: var(--ve5f-bright); margin: 16px 0 10px;
  padding-left: 4px;
  border-left: 3px solid var(--ve5f-accent);
}

/* Content cards */
.ve5f-card {
  background: var(--ve5f-card-bg);
  border: 1px solid var(--ve5f-border);
  border-radius: var(--ve5f-radius);
  padding: 16px; margin-bottom: 12px;
}
.ve5f-card h3 {
  font-size: 1.5rem; color: var(--ve5f-primary);
  margin-bottom: 8px;
}
.ve5f-card p {
  font-size: 1.3rem; color: var(--ve5f-text);
  line-height: 1.6rem;
}

/* Promo buttons */
.ve5f-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ve5f-accent), var(--ve5f-primary));
  color: var(--ve5f-bg); font-weight: 700;
  padding: 10px 20px; border-radius: 24px;
  cursor: pointer; border: none; font-size: 1.3rem;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.ve5f-promo-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(0,184,212,0.35);
}
.ve5f-promo-text {
  color: var(--ve5f-primary); font-weight: 600;
  cursor: pointer; text-decoration: underline;
  transition: color 0.15s;
}

/* Footer */
.ve5f-footer {
  background: var(--ve5f-dark-surface);
  border-top: 1px solid var(--ve5f-border);
  padding: 24px 14px;
  text-align: center;
}
.ve5f-footer-desc {
  font-size: 1.2rem; color: var(--ve5f-text);
  line-height: 1.5rem; margin-bottom: 14px;
}
.ve5f-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 14px;
}
.ve5f-footer-links a {
  font-size: 1.1rem; color: var(--ve5f-bright);
  padding: 4px 10px; background: rgba(0,184,212,0.1);
  border-radius: 14px; transition: background 0.15s;
}
.ve5f-footer-links a:hover { background: rgba(0,184,212,0.2); }
.ve5f-footer-copy {
  font-size: 1.1rem; color: var(--ve5f-text);
  border-top: 1px solid var(--ve5f-border);
  padding-top: 14px; margin-top: 14px;
}

/* Bottom navigation */
.ve5f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A 0%, #0C0C0C 100%);
  border-top: 1px solid var(--ve5f-border);
  height: var(--ve5f-bottom-nav-h);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 4px 0;
}
.ve5f-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: none; border: none;
  color: var(--ve5f-text); font-size: 1rem;
  cursor: pointer; min-width: 60px; min-height: 52px;
  transition: color 0.15s, transform 0.15s;
  padding: 2px 4px;
}
.ve5f-bottom-nav-btn:hover { color: var(--ve5f-primary); transform: scale(1.08); }
.ve5f-bottom-nav-btn .ve5f-nav-icon { font-size: 2.2rem; margin-bottom: 2px; }
.ve5f-bottom-nav-btn .ve5f-nav-label { font-size: 1rem; }
.ve5f-bottom-nav-active {
  color: var(--ve5f-primary) !important;
}
.ve5f-bottom-nav-active .ve5f-nav-icon {
  filter: drop-shadow(0 0 4px rgba(64,224,208,0.5));
}
@media (min-width: 769px) {
  .ve5f-bottom-nav { display: none; }
}

/* Responsive helpers */
.ve5f-container {
  width: 100%; max-width: 430px; margin: 0 auto; padding: 0;
}
.ve5f-wrapper { padding: 0 14px; }
.ve5f-grid { display: grid; gap: 12px; }

/* Utility classes */
.ve5f-text-center { text-align: center; }
.ve5f-text-primary { color: var(--ve5f-primary); }
.ve5f-text-accent { color: var(--ve5f-accent); }
.ve5f-text-bright { color: var(--ve5f-bright); }
.ve5f-text-gold { color: var(--ve5f-gold); }
.ve5f-mt-8 { margin-top: 8px; }
.ve5f-mt-16 { margin-top: 16px; }
.ve5f-mb-8 { margin-bottom: 8px; }
.ve5f-mb-16 { margin-bottom: 16px; }
.ve5f-hidden { display: none; }

/* FAQ / Help page */
.ve5f-faq-item { margin-bottom: 10px; }
.ve5f-faq-q {
  font-size: 1.4rem; font-weight: 600;
  color: var(--ve5f-bright); margin-bottom: 4px;
}
.ve5f-faq-a {
  font-size: 1.3rem; color: var(--ve5f-text);
  line-height: 1.6rem; padding-left: 12px;
  border-left: 2px solid var(--ve5f-border);
}

/* Step list */
.ve5f-step {
  display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start;
}
.ve5f-step-num {
  min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--ve5f-accent); color: var(--ve5f-bg);
  font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.ve5f-step-content { flex: 1; }
.ve5f-step-content strong { color: var(--ve5f-primary); }

/* Winner ticker */
.ve5f-winner-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: var(--ve5f-card-bg);
  border-radius: var(--ve5f-radius); margin-bottom: 6px;
  border-left: 3px solid var(--ve5f-gold);
}
.ve5f-winner-name { font-size: 1.2rem; color: var(--ve5f-text); flex: 1; }
.ve5f-winner-amount { font-size: 1.3rem; color: var(--ve5f-gold); font-weight: 700; }

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

/* Testimonials */
.ve5f-testimonial {
  background: var(--ve5f-card-bg);
  border: 1px solid var(--ve5f-border);
  border-radius: var(--ve5f-radius);
  padding: 14px; margin-bottom: 10px;
}
.ve5f-testimonial-text {
  font-size: 1.3rem; color: var(--ve5f-text);
  line-height: 1.5rem; font-style: italic;
}
.ve5f-testimonial-author {
  font-size: 1.1rem; color: var(--ve5f-primary);
  margin-top: 6px; font-weight: 600;
}
