/* OhaCasino Custom Styles */

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

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

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

.animate-float-slow {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

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

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.4),
                0 0 20px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6),
                0 0 40px rgba(16, 185, 129, 0.3);
  }
}

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

/* Prose readability */
.prose-casino {
  line-height: 1.75;
  color: #e2e8f0;
}

.prose-casino h2 {
  color: #f1f5f9;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.prose-casino h3 {
  color: #e2e8f0;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

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

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

.prose-casino a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-casino a:hover {
  color: #6ee7b7;
}

/* 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(0, 0, 0, 0.3);
}

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

/* Glow border for featured */
.glow-border {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5),
              0 0 40px rgba(16, 185, 129, 0.3),
              inset 0 0 20px rgba(16, 185, 129, 0.1);
}

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

.badge-jackpot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

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

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

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

.star-empty {
  color: #4b5563;
}

/* Mobile menu animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-open {
  animation: slideDown 0.3s ease forwards;
}

/* Gradient backgrounds */
.bg-gradient-purple {
  background: linear-gradient(135deg, #1e1033 0%, #2d1b4e 50%, #1e1033 100%);
}

.bg-gradient-card {
  background: linear-gradient(145deg, #2d1b4e 0%, #1e1033 100%);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: #5b21b6;
}
