/* Casea Custom Styles */

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

/* Prose readability */
.prose {
  max-width: 72ch;
  line-height: 1.75;
  color: #d1d5db;
}

.prose h2,
.prose h3,
.prose h4 {
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

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

.prose a:hover {
  color: #fcd34d;
}

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef3c7 25%,
    #fbbf24 50%,
    #fef3c7 75%,
    #fbbf24 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-slow {
  animation: float 6s ease-in-out infinite;
}

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

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.7);
  }
}

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

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

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

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f0f14;
}

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

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

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

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

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

.badge-highrtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

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

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

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 50%, #fbbf24 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Latest bets table animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

.menu-open {
  animation: menuSlide 0.25s ease-out;
}
