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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.8), 0 0 60px rgba(34, 197, 94, 0.5); }
}

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

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

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

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

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

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

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

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

.tilt-3d {
  animation: tilt 4s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(234, 179, 8, 0.6);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
}

.particle:nth-child(2n) {
  background: rgba(168, 85, 247, 0.4);
  animation-duration: 12s;
  animation-delay: -2s;
}

.particle:nth-child(3n) {
  background: rgba(34, 197, 94, 0.3);
  animation-duration: 18s;
  animation-delay: -5s;
}

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

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

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

.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 strong {
  font-weight: 600;
  color: #fbbf24;
}

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

.prose a:hover {
  color: #16a34a;
}

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

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

::-webkit-scrollbar-track {
  background: #3b0764;
}

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

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

/* Card Hover Effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

/* 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, #22c55e 0%, #16a34a 100%);
  color: #052e16;
}

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

/* Grid Pattern Background */
.grid-pattern {
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

/* Floating CTA Banner */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .floating-cta {
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 1rem;
    max-width: 600px;
  }
}

/* Trustpilot Style Stars */
.star-rating {
  display: inline-flex;
  gap: 2px;
}

.star {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Table Styles */
.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table th {
  background: rgba(168, 85, 247, 0.2);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #a855f7;
}

.custom-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.custom-table tr:hover {
  background: rgba(168, 85, 247, 0.05);
}

/* Provider Cloud */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.provider-tag {
  padding: 0.5rem 1rem;
  background: rgba(168, 85, 247, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.provider-tag:hover {
  background: rgba(168, 85, 247, 0.4);
  transform: scale(1.05);
}
