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

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

@keyframes parallax-slow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-50px);
  }
}

@keyframes bounce-gentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

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

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

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

.parallax-bg {
  animation: parallax-slow 10s ease-in-out infinite;
}

.bounce-gentle {
  animation: bounce-gentle 2s ease-in-out infinite;
}

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

/* Simpsons-inspired theme colors */
:root {
  --simpsons-yellow: #ffd700;
  --simpsons-blue: #4a90e2;
  --simpsons-orange: #ff8c00;
  --simpsons-green: #32cd32;
  --simpsons-purple: #9370db;
}

/* Custom styling for readability */
.prose {
  line-height: 1.6;
  color: #333;
}

.prose h1,
.prose h2,
.prose h3 {
  color: var(--simpsons-blue);
  font-weight: 700;
}

.prose p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.prose ul,
.prose ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--simpsons-yellow), var(--simpsons-orange));
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 3px solid #333;
  border-radius: 25px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--simpsons-blue);
  color: white;
  font-weight: 600;
  border: 2px solid var(--simpsons-blue);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: transparent;
  color: var(--simpsons-blue);
}

/* Game card styling */
.game-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--simpsons-yellow);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, var(--simpsons-yellow), var(--simpsons-orange));
  border: 4px solid #333;
  border-radius: 20px;
  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.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

/* Trustpilot styling */
.trustpilot-card {
  background: white;
  border-left: 5px solid #00b67a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Statistics styling */
.stat-card {
  background: linear-gradient(135deg, var(--simpsons-blue), var(--simpsons-purple));
  color: white;
  border-radius: 15px;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.stat-card:hover::before {
  transform: translateX(100%);
}

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

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

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

/* Responsive utilities */
@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* Container max-width */
.container-custom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1440px) {
  .container-custom {
    padding: 0 2rem;
  }
}
