/**
 * Bigwinlink - Main Stylesheet
 * All classes use v2f3- prefix for namespace isolation
 * Color Palette: #0F0F23 (dark bg), #AFEEEE (light text/accent), #DDA0DD (secondary), #00695C (tertiary)
 * Root font: 62.5% for rem-based sizing
 */

/* === CSS Variables === */
:root {
  --v2f3-primary: #0F0F23;
  --v2f3-accent: #AFEEEE;
  --v2f3-secondary: #DDA0DD;
  --v2f3-tertiary: #00695C;
  --v2f3-bg: #0F0F23;
  --v2f3-bg-light: #1a1a3e;
  --v2f3-bg-card: #16163a;
  --v2f3-text: #AFEEEE;
  --v2f3-text-light: #e0e0e0;
  --v2f3-text-muted: #8888aa;
  --v2f3-border: #2a2a5a;
  --v2f3-gold: #FFD700;
  --v2f3-success: #4CAF50;
  --v2f3-gradient: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 50%, #00695C 100%);
  --v2f3-gradient-card: linear-gradient(145deg, #16163a 0%, #1a1a3e 100%);
  --v2f3-radius: 12px;
  --v2f3-radius-sm: 8px;
  --v2f3-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --v2f3-shadow-glow: 0 0 20px rgba(175, 238, 238, 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, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--v2f3-primary);
  color: var(--v2f3-text-light);
  line-height: 1.6;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--v2f3-accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--v2f3-secondary);
}

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

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

.v2f3-wrapper {
  max-width: 430px;
  margin: 0 auto;
}

/* === Header === */
.v2f3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v2f3-primary);
  border-bottom: 1px solid var(--v2f3-border);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 35, 0.95);
}

.v2f3-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

.v2f3-logo img {
  width: 32px;
  height: 32px;
}

.v2f3-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v2f3-accent);
  letter-spacing: 0.5px;
}

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

.v2f3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--v2f3-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  min-height: 36px;
}

.v2f3-btn-register {
  background: var(--v2f3-accent);
  color: var(--v2f3-primary);
}

.v2f3-btn-register:hover {
  background: #c8ffff;
  transform: translateY(-1px);
}

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

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

.v2f3-menu-btn {
  background: none;
  border: none;
  color: var(--v2f3-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
.v2f3-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.v2f3-overlay-active {
  opacity: 1;
  visibility: visible;
}

.v2f3-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--v2f3-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

.v2f3-menu-active {
  right: 0;
}

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

.v2f3-menu-nav {
  margin-top: 3rem;
  list-style: none;
}

.v2f3-menu-nav li {
  margin-bottom: 0.5rem;
}

.v2f3-menu-nav a {
  display: block;
  padding: 1rem;
  color: var(--v2f3-text-light);
  font-size: 1.5rem;
  border-radius: var(--v2f3-radius-sm);
  transition: background 0.3s;
}

.v2f3-menu-nav a:hover {
  background: rgba(175, 238, 238, 0.1);
  color: var(--v2f3-accent);
}

/* === Main Content === */
.v2f3-main {
  padding-top: 60px;
  min-height: 100vh;
}

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

/* === Carousel === */
.v2f3-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--v2f3-radius);
  margin: 1rem 0;
}

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

.v2f3-slide-active {
  display: block;
}

.v2f3-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--v2f3-radius);
}

.v2f3-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
}

.v2f3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v2f3-border);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.v2f3-dot-active {
  background: var(--v2f3-accent);
}

/* === Section === */
.v2f3-section {
  padding: 2rem 0;
}

.v2f3-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v2f3-accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--v2f3-tertiary);
}

/* === Game Grid === */
.v2f3-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.v2f3-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: var(--v2f3-radius-sm);
  padding: 0.6rem;
  background: var(--v2f3-bg-card);
}

.v2f3-game-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--v2f3-shadow-glow);
}

.v2f3-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--v2f3-radius-sm);
  margin-bottom: 0.4rem;
}

.v2f3-game-name {
  font-size: 1.1rem;
  color: var(--v2f3-text-light);
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === Category Tabs === */
.v2f3-cat-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--v2f3-secondary);
  margin: 1.6rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--v2f3-secondary);
}

/* === Info Card === */
.v2f3-card {
  background: var(--v2f3-gradient-card);
  border-radius: var(--v2f3-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--v2f3-border);
}

.v2f3-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v2f3-accent);
  margin-bottom: 0.8rem;
}

.v2f3-card p {
  color: var(--v2f3-text-light);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

/* === Promo Button === */
.v2f3-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--v2f3-accent), var(--v2f3-tertiary));
  color: var(--v2f3-primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  max-width: 320px;
  margin: 1rem auto;
  text-align: center;
}

.v2f3-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(175, 238, 238, 0.3);
}

/* === Features Grid === */
.v2f3-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.v2f3-feature-item {
  background: var(--v2f3-bg-card);
  border-radius: var(--v2f3-radius-sm);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--v2f3-border);
}

.v2f3-feature-item i,
.v2f3-feature-item span.material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--v2f3-accent);
  margin-bottom: 0.6rem;
}

.v2f3-feature-item h3 {
  font-size: 1.3rem;
  color: var(--v2f3-accent);
  margin-bottom: 0.4rem;
}

.v2f3-feature-item p {
  font-size: 1.2rem;
  color: var(--v2f3-text-muted);
}

/* === FAQ === */
.v2f3-faq-item {
  background: var(--v2f3-bg-card);
  border-radius: var(--v2f3-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--v2f3-border);
}

.v2f3-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v2f3-accent);
  margin-bottom: 0.6rem;
}

.v2f3-faq-a {
  font-size: 1.3rem;
  color: var(--v2f3-text-light);
  line-height: 1.5;
}

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

.v2f3-footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v2f3-accent);
  margin-bottom: 0.8rem;
}

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

.v2f3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.v2f3-footer-links a {
  font-size: 1.2rem;
  color: var(--v2f3-text-muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--v2f3-border);
  border-radius: 20px;
  transition: all 0.3s;
}

.v2f3-footer-links a:hover {
  color: var(--v2f3-accent);
  border-color: var(--v2f3-accent);
}

.v2f3-footer-copy {
  font-size: 1.1rem;
  color: var(--v2f3-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.v2f3-footer-partners {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.v2f3-footer-partners span {
  font-size: 1.1rem;
  color: var(--v2f3-text-muted);
  padding: 0.3rem 0.8rem;
  background: var(--v2f3-bg-card);
  border-radius: 4px;
}

/* === Bottom Navigation === */
.v2f3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.97);
  border-top: 1px solid var(--v2f3-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.4rem;
  backdrop-filter: blur(10px);
}

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

.v2f3-bottom-btn:hover,
.v2f3-bottom-btn:focus {
  color: var(--v2f3-accent);
  transform: scale(1.08);
}

.v2f3-bottom-btn-active {
  color: var(--v2f3-accent);
}

.v2f3-bottom-btn-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--v2f3-accent);
  border-radius: 2px;
}

.v2f3-bottom-btn i,
.v2f3-bottom-btn span.material-symbols-outlined {
  font-size: 22px;
  margin-bottom: 2px;
}

.v2f3-bottom-btn span.v2f3-btn-label {
  font-size: 1rem;
  line-height: 1.2;
}

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

/* === Promotional Link Styles === */
.v2f3-link-promo {
  color: var(--v2f3-gold);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.v2f3-link-promo:hover {
  color: #ffe44d;
}

/* === Testimonials === */
.v2f3-testimonial {
  background: var(--v2f3-bg-card);
  border-radius: var(--v2f3-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--v2f3-border);
}

.v2f3-testimonial-name {
  font-weight: 600;
  color: var(--v2f3-accent);
  margin-bottom: 0.4rem;
}

.v2f3-testimonial-text {
  font-size: 1.3rem;
  color: var(--v2f3-text-light);
  font-style: italic;
}

/* === Payment Methods === */
.v2f3-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.v2f3-payment-item {
  background: var(--v2f3-bg-card);
  border: 1px solid var(--v2f3-border);
  border-radius: var(--v2f3-radius-sm);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--v2f3-text-light);
  text-align: center;
}

/* === Winners List === */
.v2f3-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--v2f3-bg-card);
  border-radius: var(--v2f3-radius-sm);
  margin-bottom: 0.5rem;
  border: 1px solid var(--v2f3-border);
}

.v2f3-winner-game {
  font-size: 1.3rem;
  color: var(--v2f3-accent);
  font-weight: 600;
}

.v2f3-winner-amount {
  font-size: 1.3rem;
  color: var(--v2f3-gold);
  font-weight: 700;
}

/* === Utility === */
.v2f3-text-center {
  text-align: center;
}

.v2f3-mt-1 {
  margin-top: 1rem;
}

.v2f3-mt-2 {
  margin-top: 2rem;
}

.v2f3-mb-1 {
  margin-bottom: 1rem;
}

.v2f3-mb-2 {
  margin-bottom: 2rem;
}

.v2f3-hidden {
  display: none !important;
}

/* === Responsive Desktop Adjustments === */
@media (min-width: 769px) {
  .v2f3-container {
    max-width: 430px;
  }

  .v2f3-footer {
    padding-bottom: 2rem;
  }

  .v2f3-main {
    padding-bottom: 0;
  }
}
