/* Wildhub Custom Styles */

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

/* Prose readability */
.prose {
  max-width: 72ch;
  line-height: 1.75;
}

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

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

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

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

/* Animation 1: Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 197, 94, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #22c55e 0%,
    #4ade80 25%,
    #86efac 50%,
    #4ade80 75%,
    #22c55e 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Animation 2: Float effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* Glow effects */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.7);
  }
}

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

.glow-green {
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
}

.glow-green-subtle {
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.3);
}

/* Badge styles */
.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.badge-popular {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Star rating */
.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #374151;
}

/* Quiz styles */
.quiz-option {
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
}

.quiz-option.selected {
  background-color: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
}

/* Gradient backgrounds */
.gradient-dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #171717 100%);
}

.gradient-card {
  background: linear-gradient(145deg, #1f1f1f 0%, #171717 100%);
}

/* iOS-style rounded corners */
.rounded-ios {
  border-radius: 1.5rem;
}

.rounded-ios-lg {
  border-radius: 2rem;
}

/* Mobile menu animation */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}
