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

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

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

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

/* Animation classes */
.float-animation {
  animation: float 3s ease-in-out infinite;
}
.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}
.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
.marquee {
  animation: marquee 20s linear infinite;
}
.tilt-animation {
  animation: tilt 2s ease-in-out infinite;
}

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

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

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

/* Custom green theme colors */
.bg-champion-green {
  background-color: #059669;
}
.text-champion-green {
  color: #059669;
}
.border-champion-green {
  border-color: #059669;
}

/* Trophy gradient */
.trophy-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

/* Stadium pattern background */
.stadium-pattern {
  background-image: radial-gradient(circle at 25% 25%, #10b981 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #059669 0%, transparent 50%);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px;
}

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

/* Focus states for accessibility */
.focus-ring:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Mobile burger menu animation */
.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);
}

/* Sidebar styling */
.sidebar-icon {
  transition: all 0.3s ease;
}

.sidebar-icon:hover {
  transform: scale(1.1);
  color: #10b981;
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
}

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

/* Bonus calculator styling */
.calculator-input {
  border: 2px solid #e5e7eb;
  transition: border-color 0.3s ease;
}

.calculator-input:focus {
  border-color: #10b981;
  outline: none;
}

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

.payment-logo:hover {
  filter: grayscale(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;
}

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

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