/**
 * PPGaming Core CSS Module
 * All classes use vf6b- prefix for namespace isolation
 * Color palette: #FFE4B5 (accent) | #1C2833 (background)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --vf6b-primary: #FFE4B5;
  --vf6b-bg: #1C2833;
  --vf6b-bg-dark: #0F1923;
  --vf6b-bg-card: #243342;
  --vf6b-text: #FFE4B5;
  --vf6b-text-light: #F5E6CC;
  --vf6b-text-muted: #A89B8C;
  --vf6b-accent: #FFD700;
  --vf6b-accent-warm: #FFA500;
  --vf6b-border: #2E4152;
  --vf6b-gradient: linear-gradient(135deg, #1C2833 0%, #2C3E50 100%);
  --vf6b-gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  --vf6b-radius: 8px;
  --vf6b-radius-lg: 12px;
  --vf6b-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --vf6b-shadow-lg: 0 4px 16px 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--vf6b-bg);
  color: var(--vf6b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vf6b-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.vf6b-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vf6b-bg-dark);
  border-bottom: 1px solid var(--vf6b-border);
  padding: 0 1.2rem;
  height: 5.2rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
}
.vf6b-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.vf6b-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 4px; }
.vf6b-logo-area span { font-size: 1.6rem; font-weight: 700; color: var(--vf6b-primary); }
.vf6b-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vf6b-btn-register {
  background: var(--vf6b-gold-gradient); color: var(--vf6b-bg-dark);
  border: none; padding: 0.6rem 1.2rem; border-radius: var(--vf6b-radius);
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vf6b-btn-register:hover { transform: translateY(-1px); box-shadow: var(--vf6b-shadow); }
.vf6b-btn-login {
  background: transparent; color: var(--vf6b-primary);
  border: 1px solid var(--vf6b-primary); padding: 0.6rem 1.2rem;
  border-radius: var(--vf6b-radius); font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.vf6b-btn-login:hover { background: rgba(255,228,181,0.1); }
.vf6b-menu-toggle {
  background: none; border: none; color: var(--vf6b-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu */
.vf6b-mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85); z-index: 9999;
  display: none; flex-direction: column; padding-top: 5.2rem;
}
.vf6b-mobile-menu.vf6b-menu-active { display: flex; }
.vf6b-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: none; border: none; color: var(--vf6b-primary);
  font-size: 2.4rem; cursor: pointer;
}
.vf6b-menu-links {
  list-style: none; padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.vf6b-menu-links li a {
  display: block; padding: 1.2rem 1.6rem;
  color: var(--vf6b-text-light); font-size: 1.5rem;
  border-radius: var(--vf6b-radius); transition: background 0.2s;
}
.vf6b-menu-links li a:hover { background: rgba(255,228,181,0.1); }

/* Main Content */
.vf6b-main { padding-top: 5.2rem; }

/* Slider / Carousel */
.vf6b-slider {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16/7;
}
.vf6b-slide {
  display: none; width: 100%; height: 100%;
  cursor: pointer;
}
.vf6b-slide img { width: 100%; height: 100%; object-fit: cover; }
.vf6b-slide.vf6b-slide-active { display: block; }

/* Section */
.vf6b-section {
  padding: 2rem 1.2rem;
}
.vf6b-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--vf6b-primary); margin-bottom: 1.2rem;
  border-left: 3px solid var(--vf6b-accent);
  padding-left: 1rem;
}

/* Game Grid */
.vf6b-game-category { margin-bottom: 2rem; }
.vf6b-game-category h2 {
  font-size: 1.6rem; color: var(--vf6b-accent);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--vf6b-border);
}
.vf6b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vf6b-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
  text-align: center;
}
.vf6b-game-item:hover { transform: translateY(-2px); }
.vf6b-game-item img {
  width: 7rem; height: 7rem; border-radius: var(--vf6b-radius);
  border: 1px solid var(--vf6b-border); margin-bottom: 0.4rem;
}
.vf6b-game-item span {
  font-size: 1.1rem; color: var(--vf6b-text-muted);
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 7rem;
}

/* Buttons */
.vf6b-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.6rem; border-radius: var(--vf6b-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: none; transition: transform 0.2s, box-shadow 0.2s;
}
.vf6b-btn:hover { transform: translateY(-1px); box-shadow: var(--vf6b-shadow); }
.vf6b-btn-primary {
  background: var(--vf6b-gold-gradient); color: var(--vf6b-bg-dark);
}
.vf6b-btn-outline {
  background: transparent; color: var(--vf6b-primary);
  border: 1px solid var(--vf6b-primary);
}

/* Cards */
.vf6b-card {
  background: var(--vf6b-bg-card);
  border-radius: var(--vf6b-radius-lg);
  padding: 1.6rem; margin-bottom: 1.2rem;
  border: 1px solid var(--vf6b-border);
}
.vf6b-card h3 {
  font-size: 1.4rem; color: var(--vf6b-primary);
  margin-bottom: 0.8rem;
}

/* Footer */
.vf6b-footer {
  background: var(--vf6b-bg-dark);
  border-top: 1px solid var(--vf6b-border);
  padding: 2rem 1.2rem 8rem;
}
.vf6b-footer-brand {
  font-size: 1.3rem; color: var(--vf6b-text-muted);
  margin-bottom: 1.2rem; line-height: 1.8rem;
}
.vf6b-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.vf6b-footer-links a {
  font-size: 1.2rem; color: var(--vf6b-text-muted);
  padding: 0.4rem 0.8rem; border: 1px solid var(--vf6b-border);
  border-radius: var(--vf6b-radius); transition: color 0.2s, border-color 0.2s;
}
.vf6b-footer-links a:hover { color: var(--vf6b-primary); border-color: var(--vf6b-primary); }
.vf6b-footer-copy {
  font-size: 1.1rem; color: var(--vf6b-text-muted);
  text-align: center; padding-top: 1rem;
  border-top: 1px solid var(--vf6b-border);
}

/* Bottom Navigation */
.vf6b-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: var(--vf6b-bg-dark);
  border-top: 1px solid var(--vf6b-border);
  display: flex; justify-content: space-around;
  align-items: center; height: 6rem;
  padding: 0 0.4rem;
  max-width: 430px; margin: 0 auto;
}
.vf6b-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 5.6rem; min-height: 5.6rem;
  background: none; border: none; color: var(--vf6b-text-muted);
  cursor: pointer; transition: color 0.2s, transform 0.2s;
  border-radius: var(--vf6b-radius); padding: 0.4rem;
}
.vf6b-nav-btn:hover, .vf6b-nav-btn:focus { color: var(--vf6b-accent); transform: scale(1.05); }
.vf6b-nav-btn .vf6b-nav-icon { font-size: 2.2rem; margin-bottom: 0.2rem; }
.vf6b-nav-btn .vf6b-nav-label { font-size: 1rem; font-weight: 500; }
.vf6b-nav-btn.vf6b-nav-active { color: var(--vf6b-accent); }
.vf6b-nav-btn.vf6b-nav-active .vf6b-nav-icon {
  text-shadow: 0 0 8px rgba(255,215,0,0.5);
}

/* Promo Link Text */
.vf6b-promo-text {
  color: var(--vf6b-accent); font-weight: 700; cursor: pointer;
  transition: color 0.2s; text-decoration: underline;
}
.vf6b-promo-text:hover { color: var(--vf6b-accent-warm); }

/* RTP Bar */
.vf6b-rtp-bar {
  background: var(--vf6b-bg-card); border-radius: var(--vf6b-radius);
  padding: 0.8rem 1.2rem; margin-bottom: 0.6rem;
  display: flex; justify-content: space-between; align-items: center;
}
.vf6b-rtp-bar span:first-child { font-size: 1.2rem; color: var(--vf6b-text-muted); }
.vf6b-rtp-bar span:last-child { font-size: 1.3rem; font-weight: 700; color: var(--vf6b-accent); }
.vf6b-rtp-track {
  width: 100%; height: 0.4rem; background: var(--vf6b-border);
  border-radius: 2px; margin-top: 0.4rem; overflow: hidden;
}
.vf6b-rtp-fill {
  height: 100%; border-radius: 2px;
  background: var(--vf6b-gold-gradient);
}

/* Winner Strip */
.vf6b-winner-strip {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--vf6b-bg-card); border-radius: var(--vf6b-radius);
  padding: 0.8rem 1.2rem; margin-bottom: 0.6rem;
  border: 1px solid var(--vf6b-border);
}
.vf6b-winner-strip img { width: 3.2rem; height: 3.2rem; border-radius: 50%; }
.vf6b-winner-info { flex: 1; }
.vf6b-winner-name { font-size: 1.1rem; color: var(--vf6b-text-light); }
.vf6b-winner-game { font-size: 1rem; color: var(--vf6b-text-muted); }
.vf6b-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--vf6b-accent); }

/* Testimonial */
.vf6b-testimonial {
  background: var(--vf6b-bg-card); border-radius: var(--vf6b-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border: 1px solid var(--vf6b-border);
}
.vf6b-testimonial-stars { color: var(--vf6b-accent); font-size: 1.2rem; margin-bottom: 0.4rem; }
.vf6b-testimonial-text { font-size: 1.2rem; color: var(--vf6b-text-muted); line-height: 1.6rem; }
.vf6b-testimonial-author {
  font-size: 1.1rem; color: var(--vf6b-primary); margin-top: 0.6rem; font-weight: 600;
}

/* Payment Icons */
.vf6b-payment-row {
  display: flex; justify-content: center; gap: 1.2rem;
  flex-wrap: wrap; margin: 1rem 0;
}
.vf6b-payment-item {
  background: var(--vf6b-bg-card); border-radius: var(--vf6b-radius);
  padding: 0.6rem 1.2rem; border: 1px solid var(--vf6b-border);
  font-size: 1.2rem; color: var(--vf6b-text-muted);
}

/* CTA Section */
.vf6b-cta-box {
  background: var(--vf6b-gold-gradient);
  border-radius: var(--vf6b-radius-lg);
  padding: 2rem 1.6rem; text-align: center;
  margin: 1.6rem 0;
}
.vf6b-cta-box h3 {
  font-size: 1.8rem; color: var(--vf6b-bg-dark);
  margin-bottom: 0.8rem;
}
.vf6b-cta-box p {
  font-size: 1.3rem; color: var(--vf6b-bg-dark);
  margin-bottom: 1.2rem;
}
.vf6b-cta-box .vf6b-btn {
  background: var(--vf6b-bg-dark); color: var(--vf6b-primary);
  padding: 1rem 2.4rem; font-size: 1.4rem;
}

/* Feature list */
.vf6b-feature-list {
  list-style: none; padding: 0;
}
.vf6b-feature-list li {
  padding: 0.8rem 0; border-bottom: 1px solid var(--vf6b-border);
  font-size: 1.3rem; color: var(--vf6b-text-light);
  display: flex; align-items: flex-start; gap: 0.8rem;
}
.vf6b-feature-list li:last-child { border-bottom: none; }
.vf6b-feature-list li i { color: var(--vf6b-accent); font-size: 1.4rem; margin-top: 0.2rem; }

/* Responsive */
@media (min-width: 769px) {
  .vf6b-bottom-nav { display: none; }
  .vf6b-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  .vf6b-main { padding-bottom: 8rem; }
}
