/**
 * Poppy Playtime - Theme Stylesheet
 * All classes use prefix "vea8-" for namespace isolation
 * File: css/theme-6cce.css
 * Colors: #F08080 | #FA8072 | #48D1CC | #2C3E50
 */

/* === CSS Variables === */
:root {
  --vea8-primary: #F08080;
  --vea8-secondary: #FA8072;
  --vea8-accent: #48D1CC;
  --vea8-dark: #2C3E50;
  --vea8-bg: #1a1f2e;
  --vea8-bg-light: #232940;
  --vea8-bg-card: #1e2538;
  --vea8-text: #f0f0f0;
  --vea8-text-muted: #a0aec0;
  --vea8-border: #2d3748;
  --vea8-radius: 8px;
  --vea8-radius-lg: 12px;
  --vea8-shadow: 0 4px 15px rgba(0,0,0,0.3);
  --vea8-transition: all 0.3s ease;
}

/* === Reset & Base === */
*, *::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(--vea8-bg);
  color: var(--vea8-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--vea8-accent); text-decoration: none; transition: var(--vea8-transition); }
a:hover { color: var(--vea8-primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.vea8-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vea8-dark) 0%, #1a2535 100%);
  border-bottom: 2px solid var(--vea8-primary);
  padding: 0 1rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vea8-header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}
.vea8-header-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.4rem; }
.vea8-header-logo span { font-size: 1.6rem; font-weight: 700; color: var(--vea8-primary); white-space: nowrap; }
.vea8-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vea8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--vea8-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--vea8-transition);
  white-space: nowrap;
  min-height: 3.6rem;
}
.vea8-btn-register {
  background: linear-gradient(135deg, var(--vea8-primary), var(--vea8-secondary));
  color: #fff;
}
.vea8-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(240,128,128,0.5); }
.vea8-btn-login {
  background: transparent;
  color: var(--vea8-accent);
  border: 1px solid var(--vea8-accent);
}
.vea8-btn-login:hover { background: var(--vea8-accent); color: var(--vea8-dark); }
.vea8-menu-toggle {
  background: none;
  border: none;
  color: var(--vea8-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
.vea8-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--vea8-dark);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.vea8-mobile-menu.vea8-menu-active { right: 0; }
.vea8-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: var(--vea8-transition);
}
.vea8-menu-overlay.vea8-overlay-active { opacity: 1; visibility: visible; }
.vea8-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--vea8-border); }
.vea8-menu-header span { font-size: 1.8rem; font-weight: 700; color: var(--vea8-primary); }
.vea8-menu-close { background: none; border: none; color: var(--vea8-text-muted); font-size: 2.8rem; cursor: pointer; line-height: 1; }
.vea8-menu-nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--vea8-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--vea8-border);
  transition: var(--vea8-transition);
}
.vea8-menu-nav a:hover { color: var(--vea8-primary); padding-left: 1rem; }

/* === Main Content === */
.vea8-main { margin-top: 5.6rem; padding-bottom: 2rem; }
.vea8-container { max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.vea8-section { padding: 2rem 0; }
.vea8-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vea8-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--vea8-accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* === Carousel === */
.vea8-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--vea8-radius-lg);
  margin: 1rem 0;
}
.vea8-carousel-track { display: flex; transition: transform 0.5s ease; }
.vea8-carousel-slide {
  min-width: 100%;
  position: relative;
  display: none;
}
.vea8-carousel-slide.vea8-slide-active { display: block; }
.vea8-carousel-slide img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; cursor: pointer; }
.vea8-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.vea8-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--vea8-transition);
}
.vea8-carousel-dot.vea8-dot-active { background: var(--vea8-primary); transform: scale(1.3); }

/* === Game Grid === */
.vea8-game-category { margin-bottom: 2rem; }
.vea8-category-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vea8-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vea8-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vea8-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--vea8-transition);
  padding: 0.5rem;
  border-radius: var(--vea8-radius);
}
.vea8-game-item:hover { background: var(--vea8-bg-light); transform: translateY(-2px); }
.vea8-game-item img { width: 6rem; height: 6rem; border-radius: var(--vea8-radius); object-fit: cover; border: 2px solid var(--vea8-border); }
.vea8-game-item span { font-size: 1.1rem; color: var(--vea8-text-muted); text-align: center; line-height: 1.3rem; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* === Content Cards === */
.vea8-card {
  background: var(--vea8-bg-card);
  border-radius: var(--vea8-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vea8-border);
}
.vea8-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vea8-primary);
  margin-bottom: 1rem;
}
.vea8-card p { color: var(--vea8-text-muted); line-height: 1.8rem; margin-bottom: 0.8rem; font-size: 1.3rem; }

/* === Promo Link Styles === */
.vea8-promo-link {
  color: var(--vea8-primary);
  font-weight: 700;
  cursor: pointer;
  transition: var(--vea8-transition);
  border-bottom: 1px dashed var(--vea8-primary);
}
.vea8-promo-link:hover { color: var(--vea8-secondary); border-color: var(--vea8-secondary); }
.vea8-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--vea8-primary), var(--vea8-secondary));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: var(--vea8-radius);
  cursor: pointer;
  transition: var(--vea8-transition);
  text-decoration: none;
}
.vea8-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(240,128,128,0.4); color: #fff; }

/* === Footer === */
.vea8-footer {
  background: var(--vea8-dark);
  border-top: 2px solid var(--vea8-primary);
  padding: 2rem 1rem 8rem;
}
.vea8-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.vea8-footer-brand p { color: var(--vea8-text-muted); font-size: 1.2rem; line-height: 1.6rem; }
.vea8-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.vea8-footer-links a {
  color: var(--vea8-accent);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--vea8-border);
  border-radius: var(--vea8-radius);
  transition: var(--vea8-transition);
}
.vea8-footer-links a:hover { border-color: var(--vea8-primary); color: var(--vea8-primary); }
.vea8-footer-copy { text-align: center; color: var(--vea8-text-muted); font-size: 1.1rem; }
.vea8-footer-partners { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.vea8-footer-partners img { height: 2.4rem; opacity: 0.6; transition: var(--vea8-transition); }
.vea8-footer-partners img:hover { opacity: 1; }

/* === Bottom Navigation (Mobile) === */
.vea8-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--vea8-dark) 0%, #0d1520 100%);
  border-top: 2px solid var(--vea8-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  padding: 0 0.5rem;
}
.vea8-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--vea8-text-muted);
  cursor: pointer;
  transition: var(--vea8-transition);
  gap: 0.3rem;
  padding: 0.4rem;
  border-radius: var(--vea8-radius);
}
.vea8-bottom-nav-btn:hover { color: var(--vea8-primary); transform: scale(1.1); }
.vea8-bottom-nav-btn.vea8-nav-active { color: var(--vea8-primary); }
.vea8-bottom-nav-btn .vea8-nav-icon { font-size: 2.4rem; line-height: 1; }
.vea8-bottom-nav-btn .vea8-nav-label { font-size: 1rem; line-height: 1.2rem; }
.vea8-bottom-nav-btn:active { transform: scale(0.95); }

/* === Info Grid === */
.vea8-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.vea8-info-item {
  background: var(--vea8-bg-light);
  padding: 1.2rem;
  border-radius: var(--vea8-radius);
  text-align: center;
  border: 1px solid var(--vea8-border);
}
.vea8-info-item .vea8-info-value { font-size: 1.8rem; font-weight: 700; color: var(--vea8-accent); }
.vea8-info-item .vea8-info-label { font-size: 1.1rem; color: var(--vea8-text-muted); margin-top: 0.4rem; }

/* === Testimonials === */
.vea8-testimonial {
  background: var(--vea8-bg-light);
  border-radius: var(--vea8-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--vea8-primary);
}
.vea8-testimonial-text { font-size: 1.2rem; color: var(--vea8-text-muted); line-height: 1.6rem; font-style: italic; }
.vea8-testimonial-author { font-size: 1.1rem; color: var(--vea8-accent); margin-top: 0.6rem; font-weight: 600; }

/* === Payment Methods === */
.vea8-payment-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.vea8-payment-item {
  background: var(--vea8-bg-light);
  padding: 0.8rem 1.4rem;
  border-radius: var(--vea8-radius);
  border: 1px solid var(--vea8-border);
  font-size: 1.2rem;
  color: var(--vea8-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* === Winner Showcase === */
.vea8-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--vea8-bg-light);
  border-radius: var(--vea8-radius);
  margin-bottom: 0.6rem;
}
.vea8-winner-avatar { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--vea8-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1.4rem; }
.vea8-winner-info { flex: 1; }
.vea8-winner-name { font-size: 1.2rem; font-weight: 600; color: var(--vea8-text); }
.vea8-winner-amount { font-size: 1.1rem; color: var(--vea8-accent); font-weight: 700; }

/* === FAQ === */
.vea8-faq-item { margin-bottom: 1rem; border: 1px solid var(--vea8-border); border-radius: var(--vea8-radius); overflow: hidden; }
.vea8-faq-q {
  padding: 1rem 1.2rem;
  background: var(--vea8-bg-light);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--vea8-primary);
  cursor: pointer;
}
.vea8-faq-a { padding: 1rem 1.2rem; font-size: 1.2rem; color: var(--vea8-text-muted); line-height: 1.6rem; }

/* === Responsive === */
@media (max-width: 768px) {
  .vea8-main { padding-bottom: 8rem; }
}
@media (min-width: 769px) {
  .vea8-bottom-nav { display: none; }
  .vea8-container { max-width: 768px; }
  .vea8-game-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1024px) {
  .vea8-container { max-width: 1024px; }
  .vea8-game-grid { grid-template-columns: repeat(8, 1fr); }
}
