/* Custom animations and overrides */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px #a855f7;
  }
  50% {
    box-shadow: 0 0 30px #a855f7, 0 0 40px #a855f7;
  }
}

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

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

@keyframes skull-bounce {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  75% {
    transform: rotate(5deg) scale(1.05);
  }
}

/* Custom utility classes */
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-glow {
  animation: glow 2s ease-in-out infinite;
}
.animate-marquee {
  animation: marquee 20s linear infinite;
}
.animate-parallax {
  animation: parallax 10s ease-in-out infinite;
}
.animate-skull-bounce {
  animation: skull-bounce 2s ease-in-out infinite;
}

/* Halloween theme colors */
.bg-deep-purple {
  background-color: #4c1d95;
}
.bg-neon-purple {
  background-color: #a855f7;
}
.text-neon-purple {
  color: #a855f7;
}
.border-neon-purple {
  border-color: #a855f7;
}

/* Custom gradients */
.bg-halloween-gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #581c87 100%);
}

.bg-spooky-gradient {
  background: linear-gradient(45deg, #312e81 0%, #6b21a8 100%);
}

/* Skull decorations */
.skull-decoration::before {
  content: "💀";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  animation: skull-bounce 2s ease-in-out infinite;
}

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

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

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

.prose p {
  margin-bottom: 1rem;
}

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

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

.prose strong {
  color: #a855f7;
  font-weight: 600;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(45deg, #a855f7, #c084fc);
  border: 2px solid #a855f7;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #a855f7;
  color: #a855f7;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  background: #a855f7;
  color: white;
  transform: translateY(-2px);
}

/* Game card styles */
.game-card {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
}

/* Bonus badge */
.bonus-badge {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  border: 3px solid #fbbf24;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

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

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

/* Trustpilot style */
.trustpilot-card {
  background: rgba(0, 180, 0, 0.1);
  border: 1px solid rgba(0, 180, 0, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
}

.star-rating {
  color: #fbbf24;
  font-size: 1.25rem;
}

/* Wagering calculator */
.calculator-island {
  background: rgba(168, 85, 247, 0.05);
  border: 2px solid rgba(168, 85, 247, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

/* Payment methods table */
.payment-table {
  background: rgba(168, 85, 247, 0.05);
  border-radius: 1rem;
  overflow: hidden;
}

.payment-table th {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
  font-weight: 600;
  padding: 1rem;
}

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

/* FAQ accordion */
.faq-item {
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: rgba(168, 85, 247, 0.1);
  padding: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(168, 85, 247, 0.2);
}

.faq-answer {
  padding: 1rem;
  display: none;
}

.faq-answer.open {
  display: block;
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}
