/* Custom animations and overrides */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(13, 49, 227, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(13, 49, 227, 0.6);
  }
}

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

.marquee {
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.parallax-float {
  animation: parallax-float 6s ease-in-out infinite;
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

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

/* Custom prose styling */
.prose {
  max-width: none;
  color: #e2e8f0;
}

.prose h2 {
  color: #f1f5f9;
  font-weight: 700;
}

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

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}

/* Focus states for accessibility */
.focus-visible:focus {
  outline: 2px solid #0d31e3;
  outline-offset: 2px;
}

/* Game card hover effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Bonus calculator styling */
.calculator-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  width: 100%;
}

.calculator-input:focus {
  border-color: #0d31e3;
  outline: none;
}

/* Sticky elements */
.sticky-header {
  backdrop-filter: blur(10px);
  background: rgba(19, 21, 32, 0.9);
}

.sticky-bottom {
  backdrop-filter: blur(10px);
  background: rgba(19, 21, 32, 0.95);
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

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

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

.payment-logo:hover {
  filter: brightness(1);
}

/* Stats tiles */
.stat-tile {
  background: linear-gradient(135deg, rgba(13, 49, 227, 0.1), rgba(13, 49, 227, 0.05));
  border: 1px solid rgba(13, 49, 227, 0.2);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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