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

@keyframes tiltShake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  50% {
    transform: rotate(-1deg);
  }
  75% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.tilt-hover:hover {
  animation: tiltShake 0.5s ease-in-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

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

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

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

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

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #fbbf24;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

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

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

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}

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

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  font-weight: 700;
  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 infinite;
}

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

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

/* Sticky bottom navigation */
.bottom-nav {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(251, 191, 36, 0.2);
}

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

/* Payment method icons */
.payment-icon {
  width: 60px;
  height: 40px;
  background: #374151;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
}

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

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Alice in Wonderland themed elements */
.wonderland-card {
  background: linear-gradient(135deg, #1f2937, #374151);
  border: 2px solid #fbbf24;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.wonderland-card::before {
  content: "♠ ♥ ♣ ♦";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: rgba(251, 191, 36, 0.2);
  font-size: 0.75rem;
}

/* Fox adventurer themed elements */
.fox-element {
  position: relative;
}

.fox-element::after {
  content: "🦊";
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  font-size: 1.5rem;
  opacity: 0.7;
}
