/* OhaCasino Custom Styles */
/* Animations: Shimmer + Float */

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

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.7);
  }
}

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

/* Shimmer effect for buttons and highlights */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #10b981 0%,
    #34d399 25%,
    #6ee7b7 50%,
    #34d399 75%,
    #10b981 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s infinite;
}

/* Float animation for hero elements */
.float {
  animation: float 4s ease-in-out infinite;
}

.float-delayed {
  animation: float 4s ease-in-out infinite;
  animation-delay: -2s;
}

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

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

/* Prose readability */
.prose-custom {
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-custom h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-custom h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose-custom ul,
.prose-custom ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* Gradient backgrounds */
.bg-gradient-royal {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.bg-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

/* Glass effect */
.glass {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Badge styles */
.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
}

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

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

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

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Mobile menu transition */
.mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

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

.star-empty {
  color: #475569;
}
