/* Custom animations and styling for Vipsta Casino */

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

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

@keyframes neonGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.8), 0 0 40px rgba(147, 51, 234, 0.3);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Parallax animations */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

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

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

/* Neon effects */
.neon-glow {
  animation: neonGlow 2s ease-in-out infinite;
}

.neon-border {
  border: 2px solid #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* Custom purple gradient backgrounds */
.bg-casino-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
}

.bg-casino-dark {
  background: linear-gradient(135deg, #581c87 0%, #7c2d92 50%, #9333ea 100%);
}

/* Glossy 3D button effects */
.btn-3d {
  background: linear-gradient(145deg, #a855f7, #7c3aed);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: all 0.2s ease;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d:active {
  transform: translateY(1px);
  box-shadow: 0 4px 8px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.game-card:hover::before {
  left: 100%;
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(145deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Trustpilot styling */
.trustpilot-stars {
  color: #00b67a;
  filter: drop-shadow(0 2px 4px rgba(0, 182, 122, 0.3));
}

/* Responsive prose styling for readability */
.prose-casino {
  line-height: 1.7;
  color: #e5e7eb;
}

.prose-casino h2 {
  color: #a855f7;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(168, 85, 247, 0.3);
}

.prose-casino p {
  margin-bottom: 1.25rem;
}

.prose-casino ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose-casino li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

/* Payment method table styling */
.payment-table {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

.payment-table th {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  font-weight: 600;
  padding: 1rem;
}

.payment-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  color: #e5e7eb;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .parallax-float,
  .parallax-slow {
    animation-duration: 4s;
  }

  .marquee-content {
    animation-duration: 15s;
  }

  .game-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
}
