/* Custom CSS for Betwest Casino Theme */
/* Animations: Shimmer + Float */

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

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

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

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

.float-delay-1 {
  animation: float 4s ease-in-out 0.5s infinite;
}

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

.float-delay-3 {
  animation: float 4s ease-in-out 1.5s 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.4);
  }
}

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

/* Prose Readability */
.prose-custom {
  line-height: 1.75;
  color: #d1d5db;
}

.prose-custom h2 {
  color: #f9fafb;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

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

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

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

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

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

::-webkit-scrollbar-track {
  background: #111827;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

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

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

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

/* Gradient Border */
.gradient-border {
  position: relative;
  background: #111827;
  border-radius: 1rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, #10b981, #059669, #047857);
  z-index: -1;
}

/* Latest Bets Table Animation */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bet-row-new {
  animation: slide-in 0.4s ease-out;
}

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

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

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

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

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

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