/* Custom animations and overrides */

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.8);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countdown-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.float-up {
  animation: float-up 3s ease-in-out infinite;
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

.fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.parallax-layer {
  transition: transform 0.3s ease-out;
}

/* Custom gradient backgrounds */
.gradient-radial {
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.gradient-casino {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.pattern-dots {
  background-image: radial-gradient(circle, rgba(34, 197, 94, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.pattern-grid {
  background-image: linear-gradient(rgba(34, 197, 94, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* CTA Styles */
.cta-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
}

/* Card effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animations */
.mobile-menu-enter {
  animation: fade-in-up 0.3s ease-out;
}

/* Prose styling for readability */
.prose {
  color: #d1d5db;
  line-height: 1.7;
}

.prose h2 {
  color: #f3f4f6;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #e5e7eb;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.prose ul,
.prose ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.prose strong {
  color: #22c55e;
  font-weight: 600;
}

.prose a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.2s;
}

.prose a:hover {
  color: #16a34a;
}

/* Countdown animation */
.countdown-number {
  animation: countdown-pulse 1s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
}

.badge-rtp {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.badge-bonus {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: #fff;
}

.badge-classic {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
}

.badge-crash {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
}

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

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

/* Win/Loss table colors */
.win-row {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.loss-row {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

/* Star rating */
.star-rating {
  color: #fbbf24;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .prose {
    font-size: 0.95rem;
  }
}
