/* Custom animations and prose styling */

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

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

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

/* Marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* Glow effects for hell bikers theme */
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.8);
  }
}

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

/* Flame flicker effect */
@keyframes flame-flicker {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  25% {
    opacity: 0.9;
    filter: brightness(1.1);
  }
  50% {
    opacity: 0.95;
    filter: brightness(0.95);
  }
  75% {
    opacity: 0.92;
    filter: brightness(1.05);
  }
}

.flame-flicker {
  animation: flame-flicker 3s ease-in-out infinite;
}

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

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

.prose h2 {
  color: #f3f4f6;
  font-weight: 700;
  font-size: 1.875rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

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

.prose a {
  color: #c084fc;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #e9d5ff;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th {
  background: rgba(168, 85, 247, 0.2);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.prose tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 6px;
}

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

/* Hell bikers theme patterns */
.skull-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.chain-border {
  border-image: repeating-linear-gradient(
      45deg,
      rgba(168, 85, 247, 0.3),
      rgba(168, 85, 247, 0.3) 10px,
      transparent 10px,
      transparent 20px
    )
    1;
}

/* Island effect for bottom menu and forms */
.island {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.9), rgba(59, 7, 100, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.2);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  border: 3px solid #fbbf24;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

/* CTA button effects */
.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Mobile menu transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
  opacity: 0;
}

/* Trustpilot star styling */
.star-rating {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.5rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }
}
