/* Monkeyzino Custom Styles */
/* 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(34, 197, 94, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #22c55e 0%,
    #4ade80 25%,
    #86efac 50%,
    #4ade80 75%,
    #22c55e 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(0);
  }
  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(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.7);
  }
}

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

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.countdown-num {
  animation: countdown-pulse 1s ease-in-out;
}

/* Prose Readability */
.prose-casino {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-casino h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

.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: #4ade80;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-casino a:hover {
  color: #22c55e;
}

/* Card Glow Effect */
.card-glow {
  position: relative;
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), transparent, rgba(34, 197, 94, 0.1));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-glow:hover::before {
  opacity: 1;
}

/* Tab Active State */
.tab-active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #000;
  font-weight: 600;
}

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

/* Badge Styles */
.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

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

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

/* Jungle Accent Border */
.jungle-border {
  border: 2px solid transparent;
  background: 
    linear-gradient(#0a0a0a, #0a0a0a) padding-box,
    linear-gradient(135deg, #22c55e 0%, #065f46 50%, #22c55e 100%) border-box;
}

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

.star-empty {
  color: #374151;
}

/* Mobile Menu Transition */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Table Styles */
.casino-table {
  border-collapse: separate;
  border-spacing: 0;
}

.casino-table th {
  background: rgba(34, 197, 94, 0.1);
  border-bottom: 2px solid #22c55e;
}

.casino-table td {
  border-bottom: 1px solid #1f2937;
}

.casino-table tr:hover td {
  background: rgba(34, 197, 94, 0.05);
}

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

/* Selection Color */
::selection {
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
}
