/* Custom animations and styling for Roostino Casino */

/* Keyframe animations */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

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

@keyframes featherShimmer {
  0%,
  100% {
    opacity: 0.8;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.2);
  }
}

@keyframes roosterStrut {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.05) rotate(1deg);
  }
  75% {
    transform: scale(0.98) rotate(-1deg);
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
}

/* Lucky rooster theme elements */
.golden-feather {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #fbbf24);
  animation: featherShimmer 3s ease-in-out infinite;
}

.rooster-accent {
  background: linear-gradient(135deg, #dc2626, #ea580c, #fbbf24);
  animation: roosterStrut 4s ease-in-out infinite;
}

/* Prosperity patterns */
.prosperity-pattern {
  background-image: radial-gradient(circle at 25% 25%, #ffd700 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, #fbbf24 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Custom button styles */
.btn-golden {
  background: linear-gradient(135deg, #ffd700, #fbbf24);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-golden:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-rooster {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.btn-rooster:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #ffd700, #fbbf24);
  border: 3px solid #dc2626;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  animation: featherShimmer 2s ease-in-out infinite;
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #ffd700;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Trustpilot styling */
.trustpilot-star {
  color: #ffd700;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

/* Responsive prose styling for readability */
.prose-roostino {
  line-height: 1.7;
  color: #374151;
}

.prose-roostino h2 {
  color: #dc2626;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.prose-roostino p {
  margin-bottom: 1.25rem;
}

.prose-roostino ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

/* Mobile optimizations */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 15s;
  }

  .parallax-float,
  .parallax-slow {
    animation-duration: 4s;
  }

  .game-card:hover {
    transform: none;
  }
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffd700, #dc2626);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #fbbf24, #ea580c);
}
