/* ═══════════════════════════════════════════════════════════════
   SPINLEGEND CUSTOM STYLES - RPG CASINO THEME
   ═══════════════════════════════════════════════════════════════ */

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

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

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

@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);
  }
}

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

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

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

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

/* RPG-style gradient background */
body {
  background: linear-gradient(135deg, #1a0033 0%, #2d1b4e 25%, #1a0033 50%, #3d2463 75%, #1a0033 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  min-height: 100vh;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Glow effect for CTAs */
.cta-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

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

/* Parallax effect */
.parallax-layer {
  transition: transform 0.3s ease-out;
}

/* Shimmer text effect */
.shimmer-text {
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

/* Badge styles */
.badge-rpg {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a0033;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 3D button effect */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.2s;
}

.btn-3d:hover {
  transform: translateY(-2px);
}

.btn-3d:active {
  transform: translateY(1px);
}

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

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

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

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

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

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

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

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

/* Countdown animation */
.countdown-text {
  animation: fade-in-up 0.5s ease-out;
}

/* Particle effect */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  animation: particle-float 3s ease-out infinite;
  pointer-events: none;
}

/* Marquee effect for providers */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

/* Tilt effect */
.tilt-card {
  animation: tilt 4s ease-in-out infinite;
}

/* Wheel of luck */
.wheel {
  border-radius: 50%;
  position: relative;
  transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.wheel.spinning {
  animation: spin-wheel 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Glassmorphism effect */
.glass-card {
  background: rgba(61, 36, 99, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Sticky banner */
.sticky-banner {
  transition: transform 0.3s ease-in-out;
}

.sticky-banner.hidden {
  transform: translateY(100px);
}

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

::-webkit-scrollbar-track {
  background: #1a0033;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 6px;
}

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

/* Pattern background for hero */
.pattern-bg {
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.15) 0%, transparent 50%);
}

/* Neon text effect */
.neon-text {
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700, 0 0 40px #ffed4e;
}

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

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

/* Trustpilot-style stars */
.star-rating {
  color: #ffd700;
  font-size: 1.25rem;
}

/* Alert banner */
.alert-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.3) 100%);
  border-left: 4px solid #ef4444;
}

/* Fade in animation on scroll */
.fade-in {
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
}

/* Delay classes */
.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
