/* 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(236, 72, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.9);
  }
}

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

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -500px) rotate(360deg);
    opacity: 0;
  }
}

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

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

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

.slide-up-animate {
  animation: slide-up 0.8s ease-out;
}

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

/* Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(236, 72, 153, 0.6);
  border-radius: 50%;
  animation: particle-float 8s infinite;
}

.particle:nth-child(2n) {
  animation-delay: 2s;
  background: rgba(192, 132, 252, 0.6);
}

.particle:nth-child(3n) {
  animation-delay: 4s;
  animation-duration: 10s;
}

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

/* Prose Styling */
.prose {
  color: #e9d5ff;
  line-height: 1.7;
}

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

.prose h3 {
  color: #f5d0fe;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

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

::-webkit-scrollbar-track {
  background: #4c1d95;
}

::-webkit-scrollbar-thumb {
  background: #ec4899;
  border-radius: 6px;
}

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

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(76, 29, 149, 0.98);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Gradient Background */
.gradient-bg {
  background: linear-gradient(135deg, #581c87 0%, #7e22ce 50%, #a855f7 100%);
}

/* Casino Card Hover */
.casino-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

/* 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, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
}

.badge-rtp {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #064e3b;
}

.badge-bonus {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  color: #831843;
}

/* Wheel of Luck */
.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #ec4899;
  position: relative;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel.spinning {
  transform: rotate(1800deg);
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #ec4899;
  z-index: 10;
}

/* Star Rating */
.star-rating {
  color: #fbbf24;
  font-size: 1.25rem;
}

/* Sticky Elements */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(76, 29, 149, 0.9);
}

.sticky-cta-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  animation: slide-up 0.5s ease-out;
}

/* Payment Methods Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

/* Responsive Tables */
@media (max-width: 768px) {
  .responsive-table {
    display: block;
    overflow-x: auto;
  }
}

/* Feature Icons */
.feature-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* 3D Button Effect */
.btn-3d {
  box-shadow: 0 5px 0 #be185d, 0 6px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.1s;
}

.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #be185d, 0 3px 5px rgba(0, 0, 0, 0.3);
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Alert Banner */
.alert-banner {
  border-left: 4px solid #ec4899;
  background: rgba(236, 72, 153, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
}
