/* Custom animations and overrides */

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
  }
}

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

@keyframes tilt {
  0%,
  100% {
    transform: perspective(1000px) rotateY(0deg);
  }
  50% {
    transform: perspective(1000px) rotateY(5deg);
  }
}

@keyframes parallax-slow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-50px);
  }
}

/* Utility classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.animate-tilt {
  animation: tilt 10s ease-in-out infinite;
}

.parallax-layer {
  transition: transform 0.3s ease-out;
}

/* Gold gradient for luxury feel */
.gold-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #f4e5b1 50%, #d4af37 100%);
}

.gold-text {
  background: linear-gradient(135deg, #d4af37 0%, #f4e5b1 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer effect for CTAs */
.shimmer {
  background: linear-gradient(90deg, #d4af37 0%, #f4e5b1 50%, #d4af37 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

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

/* Luxury card hover effect */
.luxury-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.luxury-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

/* Prose styling for readability */
.prose {
  color: #e5e7eb;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #d4af37;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25em;
}
.prose h2 {
  font-size: 1.875em;
}
.prose h3 {
  font-size: 1.5em;
}
.prose h4 {
  font-size: 1.25em;
}

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

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

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

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

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

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

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

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

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

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

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

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

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

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

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Sticky CTA banner */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .sticky-cta {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
}

/* Table styling */
.table-luxury {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-luxury th {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #d4af37;
}

.table-luxury td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.table-luxury tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* Win/Loss colors */
.win {
  color: #10b981;
  font-weight: 600;
}

.loss {
  color: #ef4444;
  font-weight: 600;
}

/* Rating stars */
.stars {
  color: #d4af37;
  font-size: 1.25rem;
}

/* Alert banner */
.alert-warning {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border-left: 4px solid #fca5a5;
  padding: 1rem;
  border-radius: 0.5rem;
  color: white;
}
