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

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

@keyframes pulse-neon {
  0%,
  100% {
    box-shadow: 0 0 5px #a855f7, 0 0 10px #a855f7, 0 0 15px #a855f7;
  }
  50% {
    box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7, 0 0 30px #a855f7;
  }
}

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

/* Parallax container */
.parallax-container {
  overflow: hidden;
  position: relative;
}

.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Marquee animation */
.marquee {
  animation: marquee 20s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

/* Neon effects */
.neon-purple {
  color: #a855f7;
  text-shadow: 0 0 10px #a855f7;
}

.neon-border {
  border: 2px solid #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: pulse-neon 2s ease-in-out infinite;
}

/* Handwritten font simulation */
.handwritten {
  font-family: "Brush Script MT", cursive;
  transform: rotate(-1deg);
  animation: tilt 3s ease-in-out infinite;
}

/* Custom button styles */
.btn-neon {
  background: linear-gradient(45deg, #a855f7, #c084fc);
  border: 2px solid #a855f7;
  color: white;
  text-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
  transition: all 0.3s ease;
}

.btn-neon:hover {
  background: linear-gradient(45deg, #9333ea, #a855f7);
  box-shadow: 0 0 20px #a855f7;
  transform: translateY(-2px);
}

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

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

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

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

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

/* Mobile burger menu */
.burger-line {
  transition: all 0.3s ease;
}

.burger-open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

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

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

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

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

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

.payment-logo:hover {
  filter: grayscale(0%);
}

/* Bonus calculator styling */
.calculator-input {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid #a855f7;
  color: #e5e7eb;
}

.calculator-input:focus {
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}
