/* Custom Animations & Overrides */

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(253, 224, 71, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(253, 224, 71, 0.9);
  }
}

@keyframes slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes spin-wheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes countdown {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

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

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

.animate-slide-in {
  animation: slide-in 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounce-in 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.shimmer-bg {
  background: linear-gradient(90deg, transparent, rgba(253, 224, 71, 0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Prose Styling */
.prose {
  color: #e5e7eb;
  max-width: 65ch;
  line-height: 1.7;
}

.prose h2 {
  color: #fde047;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose h3 {
  color: #fef08a;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose strong {
  color: #fde047;
  font-weight: 600;
}

.prose a {
  color: #fde047;
  text-decoration: underline;
  transition: color 0.2s;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #fde047;
  border-radius: 5px;
}

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

/* Glass Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Jelly Button Effect */
.jelly-button {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.jelly-button:hover {
  transform: scale(1.05);
}

.jelly-button:active {
  transform: scale(0.95);
}

/* Mobile Menu */
.mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Countdown Animation */
.countdown-text {
  animation: countdown 1s ease-in-out;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-jackpot {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
}

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

.badge-bonus-buy {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: white;
}

/* Pattern Background */
.pattern-dots {
  background-image: radial-gradient(rgba(253, 224, 71, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.pattern-grid {
  background-image: linear-gradient(rgba(253, 224, 71, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 224, 71, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
