/* Custom animations and overrides */
@import url("https://fonts.googleapis.com/css2?family=Bangers:wght@400&family=Inter:wght@300;400;500;600;700&display=swap");

/* Keyframe animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

@keyframes pulse-glow {
  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);
  }
}

/* Comic book styling */
.comic-border {
  border: 4px solid #1e40af;
  border-radius: 20px;
  position: relative;
}

.comic-border::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706);
  border-radius: 24px;
  z-index: -1;
}

.comic-text {
  font-family: "Bangers", cursive;
  text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.tilting {
  animation: tilt 2s ease-in-out infinite;
}

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

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

/* Prose styling for readability */
.prose {
  max-width: none;
  color: #e5e7eb;
}

.prose h2 {
  color: #fbbf24;
  font-family: "Bangers", cursive;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0px #000;
}

.prose h3 {
  color: #60a5fa;
  font-family: "Bangers", cursive;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 0px #000;
}

.prose p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.prose li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.prose th {
  background: #1e40af;
  color: #fbbf24;
  padding: 1rem;
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  text-shadow: 1px 1px 0px #000;
}

.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: 3px solid #d97706;
  color: #000;
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  text-shadow: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 3px solid #60a5fa;
  color: #60a5fa;
  font-family: "Bangers", cursive;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #60a5fa;
  color: #000;
  transform: translateY(-2px);
}

/* Game card styling */
.game-card {
  background: linear-gradient(145deg, #1e3a8a, #1e40af);
  border: 2px solid #3b82f6;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Trustpilot styling */
.trustpilot-card {
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 16px;
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.trustpilot-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 4s ease-in-out infinite;
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}
