/* Keyframe Animations */
@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), 0 0 40px rgba(236, 72, 153, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8), 0 0 60px rgba(236, 72, 153, 0.5);
  }
}

@keyframes holographic {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

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

@keyframes parallax-scroll {
  to {
    transform: translateY(-100px);
  }
}

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

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

/* Holographic CTA Styles */
.holographic-btn {
  background: linear-gradient(135deg, #ffffff, #f9a8d4, #ffffff, #ddd6fe, #ffffff);
  background-size: 400% 400%;
  animation: holographic 3s ease infinite;
  position: relative;
  overflow: hidden;
}

.holographic-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 2s infinite;
}

.holographic-btn:hover {
  animation: holographic 1.5s ease infinite, pulse-glow 1.5s ease infinite;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Parallax Effect */
.parallax-element {
  animation: parallax-scroll 10s linear infinite alternate;
}

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

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

/* Game Card Hover Effects */
.game-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card:hover::after {
  opacity: 1;
}

/* Floating Animation */
.floating {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Glow */
.pulse-glow {
  animation: pulse-glow 2s ease infinite;
}

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

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

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

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

.prose h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

.prose p {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

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

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

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

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

.prose strong {
  font-weight: 700;
  color: #ffffff;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.prose th,
.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.prose th {
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

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

.sticky-cta-banner.visible {
  transform: translateY(0);
}

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

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

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid rgba(236, 72, 153, 0.5);
  background: conic-gradient(
    from 0deg,
    #ec4899 0deg 45deg,
    #8b5cf6 45deg 90deg,
    #f59e0b 90deg 135deg,
    #10b981 135deg 180deg,
    #3b82f6 180deg 225deg,
    #f97316 225deg 270deg,
    #06b6d4 270deg 315deg,
    #a855f7 315deg 360deg
  );
  position: relative;
}

.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 #fbbf24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prose h1 {
    font-size: 2rem;
  }

  .prose h2 {
    font-size: 1.5rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #f9a8d4, #a78bfa);
}
