/* Custom animations and overrides */
@keyframes fire-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.8), 0 0 60px rgba(147, 51, 234, 0.5);
  }
}

@keyframes skull-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

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

@keyframes parallax-slow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-50px);
  }
}

@keyframes fire-pulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* Fire glow effect for CTAs */
.fire-glow {
  animation: fire-glow 2s ease-in-out infinite;
}

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

.marquee {
  animation: marquee 20s linear infinite;
}

.parallax-bg {
  animation: parallax-slow 10s ease-in-out infinite alternate;
}

/* Custom biker theme elements */
.skull-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23374151' fill-opacity='0.1'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.fire-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #dc2626 100%);
}

.dark-fire-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #7c2d12 100%);
}

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

.prose-casino h2 {
  color: #f3f4f6;
  font-weight: 700;
  margin-bottom: 1rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  color: #d1d5db;
}

.prose-casino ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

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

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

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

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

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #7c3aed, #dc2626);
  border: 2px solid #fbbf24;
  position: relative;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
  border-radius: inherit;
  z-index: -1;
  animation: fire-pulse 2s ease-in-out infinite;
}

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

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

/* Sticky header backdrop */
.header-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.9);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #374151;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
}

/* Payment method icons */
.payment-icon {
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: brightness(1.2);
}

/* Trustpilot stars */
.star-rating {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-stack {
    flex-direction: column;
  }

  .mobile-full {
    width: 100%;
  }

  .mobile-text-center {
    text-align: center;
  }
}

/* Loading animation for game images */
.game-loading {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
