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

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

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

@keyframes neonGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
  }
}

@keyframes cityLights {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

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

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

/* Marquee animations */
.marquee-left {
  animation: marqueeLeft 30s linear infinite;
}

.marquee-right {
  animation: marqueeRight 25s linear infinite;
}

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

.city-lights {
  animation: cityLights 4s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

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

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #f1f5f9;
  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: #3b82f6;
  font-weight: 600;
}

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

.prose a:hover {
  color: #93c5fd;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border: 2px solid #3b82f6;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #64748b;
  color: #e2e8f0;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #64748b;
  color: #1e293b;
  transform: translateY(-2px);
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3b82f6;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  animation: neonGlow 3s ease-in-out infinite;
}

/* Navigation styling */
.nav-glass {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

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

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

/* Trustpilot styling */
.trustpilot-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
}

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

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

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

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

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

/* Responsive utilities */
@media (max-width: 1024px) {
  .marquee-left,
  .marquee-right {
    animation-duration: 20s;
  }
}

@media (max-width: 768px) {
  .parallax-float,
  .parallax-slow {
    animation: none;
  }

  .game-card:hover {
    transform: none;
  }
}

/* Background patterns */
.city-bg {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
}

.city-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(147, 197, 253, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

/* Loading animation */
.loading-spinner {
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
