/* Wildhub Casino - Custom Styles */
/* Animation 1: Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

/* Glow Pulse */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.7);
  }
}

/* Utility Classes */
.shimmer-text {
  background: linear-gradient(
    90deg,
    #facc15 0%,
    #fef08a 25%,
    #facc15 50%,
    #fef08a 75%,
    #facc15 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

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

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

/* Prose Readability */
.prose-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-readable h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose-readable h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

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

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

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

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

::-webkit-scrollbar-track {
  background: #171717;
}

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

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

/* Tab Active State */
.tab-btn.active {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #000;
}

/* Card Hover Effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(250, 204, 21, 0.2);
}

/* CTA Button Shimmer */
.cta-shimmer {
  position: relative;
  overflow: hidden;
}

.cta-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

/* 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;
}

/* Badge Styles */
.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

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

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

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

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

.quiz-option:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
}

.quiz-option.selected {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
}

/* Star Rating */
.star-filled {
  color: #facc15;
}

.star-empty {
  color: #404040;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-item-wide {
  grid-column: span 2;
}

.bento-item-tall {
  grid-row: span 2;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background: #facc15;
  color: #000;
}
