/* Base Styles */
:root {
  --primary: #041d41;
  --purple: #9333ea;
  --pink: #ec4899;
  --orange: #f97316;
}

body {
  background-color: var(--primary);
  scroll-behavior: smooth;
}

.bg-primary {
  background-color: var(--primary);
}

.text-primary {
  color: var(--primary);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.8), 0 0 60px rgba(236, 72, 153, 0.4);
  }
}

@keyframes neon-flicker {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.8), 0 0 20px rgba(236, 72, 153, 0.6);
  }
  50% {
    text-shadow: 0 0 20px rgba(147, 51, 234, 1), 0 0 40px rgba(236, 72, 153, 0.8);
  }
}

@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0;
  }
  25%,
  75% {
    opacity: 1;
  }
}

@keyframes parallax-bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Section */
.hero-float {
  animation: float 6s ease-in-out infinite;
  background-size: 200% 200%;
  animation: float 6s ease-in-out infinite, parallax-bg 20s ease infinite;
}

/* Glow Pulse Effect */
.glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Category Buttons */
.category-btn {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(236, 72, 153, 0.3));
  border: 1px solid rgba(147, 51, 234, 0.5);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-btn:hover {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.6), rgba(236, 72, 153, 0.6));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

/* Game Cards */
.game-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 1rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(147, 51, 234, 0.3);
  border-color: rgba(147, 51, 234, 0.5);
}

.game-card img {
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

/* Badges */
.badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
  border-color: rgba(147, 51, 234, 0.6);
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(147, 51, 234, 0.4);
}

/* Payment Methods */
.payment-method {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.payment-method:hover {
  background: rgba(147, 51, 234, 0.2);
  border-color: rgba(147, 51, 234, 0.6);
}

/* Review Cards */
.review-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(147, 51, 234, 0.6);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.2);
}

/* VIP Tiers */
.vip-tier {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vip-tier:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.6);
  box-shadow: 0 15px 30px rgba(234, 179, 8, 0.3);
}

/* Tournament Cards */
.tournament-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.tournament-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(147, 51, 234, 0.4);
}

/* FAQ Items */
.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(147, 51, 234, 0.6);
}

.faq-item[open] {
  border-color: rgba(147, 51, 234, 0.8);
}

.faq-item summary {
  transition: background 0.3s ease;
}

.faq-item summary:hover {
  background: rgba(147, 51, 234, 0.1);
}

/* Provider Tags */
.provider-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(147, 51, 234, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.provider-tag:hover {
  background: rgba(147, 51, 234, 0.2);
  border-color: rgba(147, 51, 234, 0.6);
  transform: scale(1.05);
}

/* CTA Banner */
.cta-banner {
  transition: transform 0.3s ease;
  bottom: 40px !important; /* Position above the legal disclaimer */
}

@media (max-width: 640px) {
  .cta-banner {
    bottom: 35px !important; /* Adjust for mobile disclaimer height */
  }
}

/* Withdrawal Demo Animation */
.withdrawal-demo {
  display: flex;
  gap: 0.5rem;
}

.fade-text {
  animation: fade-in-out 4s ease-in-out infinite;
}

/* Prose Styling for Readability */
.prose-custom {
  line-height: 1.75;
}

.prose-custom p {
  margin-bottom: 1rem;
}

.prose-custom h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-custom h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-custom ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose-custom li {
  margin-bottom: 0.5rem;
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-float {
    animation: float 4s ease-in-out infinite;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Neon Bowling Pattern Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Sticky Legal Disclaimer Marquee */
.legal-disclaimer-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #dc2626 0%, #ea580c 50%, #dc2626 100%);
  border-top: 2px solid #fca5a5;
  overflow: hidden;
  z-index: 9999;
  padding: 8px 0;
  box-shadow: 0 -4px 20px rgba(220, 38, 38, 0.4);
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

.disclaimer-text {
  display: inline-block;
  padding: 0 50px;
  white-space: nowrap;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Adjust body padding to prevent content from being hidden behind disclaimer */
body {
  padding-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .disclaimer-text {
    font-size: 11px;
  }
  
  .legal-disclaimer-sticky {
    padding: 6px 0;
  }
  
  body {
    padding-bottom: 35px;
  }
}
