/**
 * jl76 - Theme Stylesheet
 * Prefix: v0fa-
 * Colors: #333333 (dark bg), #EE82EE (violet), #8470FF (purple)
 * Mobile-first responsive design
 */

:root {
  --v0fa-primary: #EE82EE;
  --v0fa-secondary: #8470FF;
  --v0fa-bg: #333333;
  --v0fa-bg-dark: #1a1a2e;
  --v0fa-bg-card: #2a2a3e;
  --v0fa-text: #f0f0f0;
  --v0fa-text-muted: #b0b0c0;
  --v0fa-accent: #EE82EE;
  --v0fa-border: rgba(238, 130, 238, 0.2);
  --v0fa-radius: 8px;
  --v0fa-shadow: 0 2px 12px rgba(132, 112, 255, 0.15);
}

/* 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-color: var(--v0fa-bg-dark);
  color: var(--v0fa-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--v0fa-primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.v0fa-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.v0fa-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, var(--v0fa-bg), var(--v0fa-bg-dark));
  border-bottom: 1px solid var(--v0fa-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
}

.v0fa-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v0fa-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.v0fa-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--v0fa-primary), var(--v0fa-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v0fa-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v0fa-btn-register, .v0fa-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.v0fa-btn-register {
  background: linear-gradient(135deg, var(--v0fa-primary), var(--v0fa-secondary));
  color: #fff;
}

.v0fa-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(238, 130, 238, 0.4);
}

.v0fa-btn-login {
  background: transparent;
  color: var(--v0fa-primary);
  border: 1px solid var(--v0fa-primary);
}

.v0fa-btn-login:hover {
  background: rgba(238, 130, 238, 0.1);
}

.v0fa-menu-toggle {
  background: none;
  border: none;
  color: var(--v0fa-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Overlay */
.v0fa-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Mobile Slide Menu */
.v0fa-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: linear-gradient(180deg, var(--v0fa-bg-dark), #1a1a2e);
  z-index: 9999;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.v0fa-mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--v0fa-border);
}

.v0fa-mobile-menu-header img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.v0fa-mobile-menu-header span {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--v0fa-primary), var(--v0fa-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v0fa-mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--v0fa-text-muted);
  font-size: 2.4rem;
  cursor: pointer;
}

.v0fa-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--v0fa-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(238, 130, 238, 0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.v0fa-menu-link:hover {
  color: var(--v0fa-primary);
  padding-left: 0.5rem;
}

.v0fa-menu-section-title {
  font-size: 1.1rem;
  color: var(--v0fa-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Main Content */
main {
  padding-top: 56px;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 72px;
  }
}

/* Carousel */
.v0fa-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v0fa-radius) var(--v0fa-radius);
}

.v0fa-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.v0fa-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.v0fa-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.v0fa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.v0fa-dot.active {
  background: var(--v0fa-primary);
}

/* Section Titles */
.v0fa-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v0fa-text);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--v0fa-primary);
}

.v0fa-section-subtitle {
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
  margin-bottom: 1rem;
}

/* Game Grid */
.v0fa-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.v0fa-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.v0fa-game-item:hover {
  transform: scale(1.05);
}

.v0fa-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--v0fa-radius);
  border: 1px solid var(--v0fa-border);
}

.v0fa-game-item span {
  font-size: 1rem;
  color: var(--v0fa-text-muted);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Sections */
.v0fa-content-section {
  background: var(--v0fa-bg-card);
  border-radius: var(--v0fa-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--v0fa-border);
}

.v0fa-content-section h2 {
  font-size: 1.6rem;
  color: var(--v0fa-primary);
  margin-bottom: 1rem;
}

.v0fa-content-section h3 {
  font-size: 1.4rem;
  color: var(--v0fa-secondary);
  margin: 1rem 0 0.5rem;
}

.v0fa-content-section p {
  font-size: 1.3rem;
  color: var(--v0fa-text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.v0fa-content-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.v0fa-content-section li {
  font-size: 1.3rem;
  color: var(--v0fa-text-muted);
  line-height: 1.8;
}

/* Promo Link Button */
.v0fa-promo-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--v0fa-primary), var(--v0fa-secondary));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.v0fa-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(238, 130, 238, 0.35);
}

.v0fa-promo-link {
  color: var(--v0fa-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.v0fa-promo-link:hover {
  color: var(--v0fa-secondary);
}

/* Testimonial Card */
.v0fa-testimonial {
  background: rgba(132, 112, 255, 0.08);
  border-radius: var(--v0fa-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--v0fa-secondary);
}

.v0fa-testimonial p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
}

.v0fa-testimonial strong {
  color: var(--v0fa-primary);
  font-style: normal;
}

/* Winner Strip */
.v0fa-winner-strip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(238, 130, 238, 0.06);
  border-radius: var(--v0fa-radius);
  margin: 0.4rem 0;
}

.v0fa-winner-strip span {
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
}

.v0fa-winner-strip .v0fa-amount {
  color: #4ade80;
  font-weight: 700;
}

/* Payment Methods */
.v0fa-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.v0fa-payment-item {
  padding: 0.5rem 1rem;
  background: rgba(132, 112, 255, 0.1);
  border-radius: 20px;
  font-size: 1.1rem;
  color: var(--v0fa-text-muted);
  border: 1px solid var(--v0fa-border);
}

/* App Download CTA */
.v0fa-app-cta {
  background: linear-gradient(135deg, rgba(238, 130, 238, 0.15), rgba(132, 112, 255, 0.15));
  border-radius: var(--v0fa-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--v0fa-border);
  margin: 1rem 0;
}

.v0fa-app-cta h3 {
  font-size: 1.5rem;
  color: var(--v0fa-primary);
  margin-bottom: 0.5rem;
}

.v0fa-app-cta p {
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
  margin-bottom: 1rem;
}

/* Footer */
.v0fa-footer {
  background: var(--v0fa-bg);
  padding: 2rem 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--v0fa-border);
}

.v0fa-footer-brand {
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.v0fa-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.v0fa-footer-promos .v0fa-promo-btn {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

.v0fa-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
}

.v0fa-footer-links a {
  font-size: 1.1rem;
  color: var(--v0fa-text-muted);
  transition: color 0.2s;
}

.v0fa-footer-links a:hover {
  color: var(--v0fa-primary);
}

.v0fa-footer-copyright {
  font-size: 1rem;
  color: rgba(176, 176, 192, 0.5);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 130, 238, 0.08);
}

/* Bottom Mobile Navigation */
.v0fa-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--v0fa-bg), #0d0d1a);
  border-top: 1px solid var(--v0fa-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.5rem;
}

.v0fa-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 50px;
  background: none;
  border: none;
  color: var(--v0fa-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
  padding: 0.3rem;
}

.v0fa-bottom-btn:hover {
  color: var(--v0fa-primary);
  background: rgba(238, 130, 238, 0.08);
}

.v0fa-bottom-btn.active {
  color: var(--v0fa-primary);
}

.v0fa-bottom-btn.active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--v0fa-primary);
  border-radius: 1px;
  margin-top: 2px;
}

.v0fa-bottom-btn i,
.v0fa-bottom-btn .material-icons,
.v0fa-bottom-btn ion-icon,
.v0fa-bottom-btn bi {
  font-size: 22px;
}

.v0fa-bottom-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v0fa-bottom-nav {
    display: none;
  }
}

/* Category badge */
.v0fa-category-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(132, 112, 255, 0.15);
  color: var(--v0fa-secondary);
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* RTP bar compact */
.v0fa-rtp-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(238, 130, 238, 0.06);
}

.v0fa-rtp-bar img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.v0fa-rtp-bar .v0fa-rtp-info {
  flex: 1;
  font-size: 1.2rem;
  color: var(--v0fa-text-muted);
}

.v0fa-rtp-bar .v0fa-rtp-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ade80;
}

/* Achievement badge */
.v0fa-achievement {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(238, 130, 238, 0.05);
  border-radius: var(--v0fa-radius);
  margin: 0.4rem 0;
}

.v0fa-achievement i {
  font-size: 2rem;
  color: var(--v0fa-primary);
}

.v0fa-achievement div {
  flex: 1;
}

.v0fa-achievement strong {
  font-size: 1.2rem;
  color: var(--v0fa-text);
  display: block;
}

.v0fa-achievement span {
  font-size: 1rem;
  color: var(--v0fa-text-muted);
}

/* Utility */
.v0fa-text-center { text-align: center; }
.v0fa-mt-1 { margin-top: 1rem; }
.v0fa-mb-1 { margin-bottom: 1rem; }
.v0fa-mt-2 { margin-top: 2rem; }
.v0fa-hidden { display: none; }

/* H1 styling */
.v0fa-h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--v0fa-primary), var(--v0fa-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1.5rem 0;
  line-height: 1.3;
}
