/* Felbet Core Stylesheet
   Class prefix: va8e-
   Color palette: #FAF0E6 | #DA70D6 | #8B7355 | #D2691E | #BBBBBB | #2D2D2D
   Mobile-first responsive design */

/* CSS Variables */
:root {
  --va8e-primary: #DA70D6;
  --va8e-secondary: #D2691E;
  --va8e-accent: #8B7355;
  --va8e-bg-dark: #2D2D2D;
  --va8e-bg-light: #FAF0E6;
  --va8e-text-light: #FAF0E6;
  --va8e-text-muted: #BBBBBB;
  --va8e-text-dark: #2D2D2D;
  --va8e-border: #8B7355;
  --va8e-gradient-start: #DA70D6;
  --va8e-gradient-end: #D2691E;
  --va8e-radius: 1.2rem;
  --va8e-radius-sm: 0.8rem;
  --va8e-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.35);
}

/* 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(--va8e-bg-dark);
  color: var(--va8e-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--va8e-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--va8e-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.va8e-container { max-width: 43rem; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.va8e-wrapper { width: 100%; position: relative; }

/* Header */
.va8e-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: linear-gradient(135deg, var(--va8e-bg-dark) 0%, #3a2a2a 100%);
  border-bottom: 0.2rem solid var(--va8e-primary);
  height: 5.6rem;
}
.va8e-header-inner {
  max-width: 43rem; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.va8e-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.va8e-logo-area img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.va8e-logo-area span { font-size: 1.8rem; font-weight: 700; color: var(--va8e-primary); letter-spacing: 0.05em; }
.va8e-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.va8e-btn-register {
  background: linear-gradient(135deg, var(--va8e-primary), var(--va8e-secondary));
  color: #fff; border: none; padding: 0.7rem 1.4rem; border-radius: var(--va8e-radius-sm);
  font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.va8e-btn-register:hover { transform: scale(1.05); box-shadow: 0 0.3rem 1rem rgba(218,112,214,0.5); }
.va8e-btn-login {
  background: transparent; color: var(--va8e-primary); border: 0.15rem solid var(--va8e-primary);
  padding: 0.6rem 1.2rem; border-radius: var(--va8e-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.va8e-btn-login:hover { background: rgba(218,112,214,0.15); }
.va8e-menu-toggle {
  background: none; border: none; color: var(--va8e-text-light);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile Menu */
.va8e-mobile-menu {
  position: fixed; top: 0; right: -28rem; width: 28rem; height: 100vh;
  background: var(--va8e-bg-dark); z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem; overflow-y: auto;
  border-left: 0.2rem solid var(--va8e-primary);
}
.va8e-menu-active { right: 0; }
.va8e-menu-close {
  background: none; border: none; color: var(--va8e-text-light);
  font-size: 2.4rem; cursor: pointer; position: absolute; top: 1.2rem; right: 1.2rem;
}
.va8e-menu-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; }
.va8e-menu-link {
  display: block; padding: 1.2rem 1rem; color: var(--va8e-text-light);
  font-size: 1.5rem; border-bottom: 0.1rem solid rgba(139,115,85,0.3);
  transition: background 0.2s, color 0.2s;
}
.va8e-menu-link:hover { background: rgba(218,112,214,0.12); color: var(--va8e-primary); }

/* Menu Overlay */
.va8e-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0;
  pointer-events: none; transition: opacity 0.3s;
}
.va8e-overlay-active { opacity: 1; pointer-events: auto; }

/* Bottom Navigation */
.va8e-bottom-nav {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000;
  background: linear-gradient(180deg, #3a2a2a, var(--va8e-bg-dark));
  border-top: 0.15rem solid var(--va8e-accent);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.3rem;
}
.va8e-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.2rem; background: none; border: none;
  color: var(--va8e-text-muted); cursor: pointer; transition: color 0.25s, transform 0.2s;
  padding: 0.4rem 0.2rem; border-radius: 0.8rem; position: relative;
}
.va8e-bottom-btn:hover, .va8e-bottom-btn:focus { color: var(--va8e-primary); }
.va8e-bottom-btn-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 0.2rem; }
.va8e-bottom-btn-text { font-size: 1rem; font-weight: 500; white-space: nowrap; }
.va8e-bottom-btn-active { color: var(--va8e-primary); }
.va8e-bottom-btn-active::after {
  content: ''; position: absolute; top: -0.15rem; left: 25%; width: 50%; height: 0.2rem;
  background: var(--va8e-primary); border-radius: 0 0 0.2rem 0.2rem;
}
.va8e-btn-pressed { transform: scale(0.92); }

/* Main Content */
.va8e-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .va8e-main { padding-bottom: 8rem; }
}

/* Carousel */
.va8e-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--va8e-radius); margin-bottom: 2rem; }
.va8e-slide {
  width: 100%; opacity: 0; transition: opacity 0.6s ease;
  position: absolute; top: 0; left: 0;
}
.va8e-slide-active { opacity: 1; position: relative; }
.va8e-slide img { width: 100%; aspect-ratio: 16/8; object-fit: cover; cursor: pointer; border-radius: var(--va8e-radius); }
.va8e-dots { display: flex; justify-content: center; gap: 0.8rem; padding: 0.8rem 0; }
.va8e-dot {
  width: 1rem; height: 1rem; border-radius: 50%; background: var(--va8e-text-muted);
  border: none; cursor: pointer; transition: background 0.3s, transform 0.3s;
}
.va8e-dot-active { background: var(--va8e-primary); transform: scale(1.3); }

/* Section Headings */
.va8e-section { padding: 2rem 0; }
.va8e-section-title {
  font-size: 2rem; font-weight: 700; color: var(--va8e-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--va8e-accent);
  display: flex; align-items: center; gap: 0.6rem;
}
.va8e-section-title i { font-size: 2.2rem; }

/* Game Grid */
.va8e-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin-bottom: 1.5rem;
}
.va8e-game-item { text-align: center; cursor: pointer; transition: transform 0.2s; }
.va8e-game-item:hover { transform: translateY(-0.3rem); }
.va8e-game-item img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--va8e-radius-sm); border: 0.15rem solid var(--va8e-accent);
  margin-bottom: 0.4rem;
}
.va8e-game-name {
  font-size: 1rem; color: var(--va8e-text-light); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3rem;
}

/* Game Category Label */
.va8e-cat-label {
  font-size: 1.6rem; font-weight: 700; color: var(--va8e-secondary);
  margin: 1.5rem 0 0.8rem; padding-left: 0.4rem;
  border-left: 0.3rem solid var(--va8e-primary);
}

/* Cards */
.va8e-card {
  background: rgba(250,240,230,0.06); border: 0.1rem solid rgba(139,115,85,0.3);
  border-radius: var(--va8e-radius); padding: 1.5rem; margin-bottom: 1.5rem;
}
.va8e-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--va8e-primary);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.va8e-card-text { font-size: 1.3rem; line-height: 1.8rem; color: var(--va8e-text-light); }

/* Promo Link Styling */
.va8e-promo-link {
  display: inline-block; color: var(--va8e-primary); font-weight: 700;
  cursor: pointer; transition: color 0.2s; text-decoration: underline;
}
.va8e-promo-link:hover { color: var(--va8e-secondary); }
.va8e-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--va8e-primary), var(--va8e-secondary));
  color: #fff; padding: 1rem 2.4rem; border-radius: var(--va8e-radius-sm);
  font-size: 1.4rem; font-weight: 700; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.va8e-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0.4rem 1.2rem rgba(218,112,214,0.4); }

/* Footer */
.va8e-footer {
  background: linear-gradient(180deg, #3a2a2a, var(--va8e-bg-dark));
  padding: 2.5rem 0 3rem; border-top: 0.2rem solid var(--va8e-accent);
}
.va8e-footer-brand { font-size: 1.3rem; color: var(--va8e-text-muted); margin-bottom: 1.5rem; line-height: 1.8rem; }
.va8e-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.va8e-footer-link {
  background: rgba(218,112,214,0.12); color: var(--va8e-primary);
  padding: 0.5rem 1rem; border-radius: var(--va8e-radius-sm);
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s; border: none;
}
.va8e-footer-link:hover { background: rgba(218,112,214,0.25); }
.va8e-footer-copy { font-size: 1.1rem; color: var(--va8e-text-muted); text-align: center; margin-top: 1rem; }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .va8e-bottom-nav { display: none; }
  .va8e-container { max-width: 60rem; }
}

/* Utility classes */
.va8e-text-center { text-align: center; }
.va8e-mt-1 { margin-top: 1rem; }
.va8e-mt-2 { margin-top: 2rem; }
.va8e-mb-1 { margin-bottom: 1rem; }
.va8e-mb-2 { margin-bottom: 2rem; }
.va8e-hidden { display: none; }
.va8e-divider { height: 0.1rem; background: rgba(139,115,85,0.3); margin: 1.5rem 0; }

/* Testimonial */
.va8e-testimonial {
  background: rgba(250,240,230,0.05); border-left: 0.3rem solid var(--va8e-primary);
  padding: 1.2rem 1.5rem; border-radius: 0 var(--va8e-radius-sm) var(--va8e-radius-sm) 0;
  margin-bottom: 1rem;
}
.va8e-testimonial-text { font-size: 1.3rem; font-style: italic; color: var(--va8e-text-light); }
.va8e-testimonial-author { font-size: 1.1rem; color: var(--va8e-text-muted); margin-top: 0.5rem; }

/* Payment Icons Row */
.va8e-payment-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center; margin: 1rem 0; }
.va8e-payment-item {
  background: rgba(250,240,230,0.08); padding: 0.6rem 1.2rem; border-radius: var(--va8e-radius-sm);
  font-size: 1.2rem; color: var(--va8e-text-light); font-weight: 600;
  border: 0.1rem solid rgba(139,115,85,0.3);
}

/* Winner Showcase */
.va8e-winner-row {
  display: flex; justify-content: space-between; padding: 0.8rem 0;
  border-bottom: 0.1rem solid rgba(139,115,85,0.2); font-size: 1.2rem;
}
.va8e-winner-name { color: var(--va8e-primary); font-weight: 600; }
.va8e-winner-game { color: var(--va8e-text-muted); }
.va8e-winner-amount { color: var(--va8e-secondary); font-weight: 700; }

/* CTA Download Section */
.va8e-cta-box {
  background: linear-gradient(135deg, rgba(218,112,214,0.15), rgba(210,105,30,0.15));
  border: 0.15rem solid var(--va8e-primary); border-radius: var(--va8e-radius);
  padding: 2rem; text-align: center; margin: 2rem 0;
}
.va8e-cta-title { font-size: 1.8rem; font-weight: 700; color: var(--va8e-primary); margin-bottom: 0.8rem; }

/* Help page specific */
.va8e-help-section { margin-bottom: 2rem; }
.va8e-help-step {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem;
}
.va8e-step-num {
  min-width: 2.8rem; height: 2.8rem; background: linear-gradient(135deg, var(--va8e-primary), var(--va8e-secondary));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.va8e-step-content { flex: 1; }
.va8e-step-title { font-size: 1.4rem; font-weight: 700; color: var(--va8e-primary); margin-bottom: 0.3rem; }
.va8e-step-text { font-size: 1.3rem; color: var(--va8e-text-light); line-height: 1.6rem; }

/* FAQ */
.va8e-faq-item { margin-bottom: 1.2rem; }
.va8e-faq-q { font-size: 1.4rem; font-weight: 700; color: var(--va8e-secondary); margin-bottom: 0.4rem; }
.va8e-faq-a { font-size: 1.3rem; color: var(--va8e-text-light); line-height: 1.6rem; padding-left: 1rem; border-left: 0.2rem solid var(--va8e-accent); }

/* Animation */
@keyframes va8e-fadeIn { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
.va8e-animate-in { animation: va8e-fadeIn 0.5s ease forwards; }
