/* Fiesta Slots - Playful Fiesta Theme CSS */
/* Enhanced with vibrant colors and festive animations */

/* ===== SHIMMER ANIMATIONS ===== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    #ff1744 0%,
    #fbbf24 20%,
    #22c55e 40%,
    #00bcd4 60%,
    #2196f3 80%,
    #ff1744 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  text-shadow: 0 0 30px rgba(255, 23, 68, 0.3);
}

/* ===== FLOAT & BOUNCE ANIMATIONS ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

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

.float-delayed {
  animation: float 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

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

/* Bounce Animation */
@keyframes bounce-festive {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-10px);
  }
}

.bounce-festive {
  animation: bounce-festive 2s ease-in-out infinite;
}

/* Swing Animation */
@keyframes swing {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

.swing {
  animation: swing 2.5s ease-in-out infinite;
  transform-origin: top center;
}

/* Pulse Animation with scale */
@keyframes pulse-festive {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

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

/* ===== GLOW & PULSE EFFECTS ===== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 0 5px rgba(255, 23, 68, 0.5),
      0 0 20px rgba(255, 195, 0, 0.3),
      0 0 40px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 
      0 0 20px rgba(255, 23, 68, 0.8),
      0 0 40px rgba(255, 195, 0, 0.6),
      0 0 60px rgba(34, 197, 94, 0.4);
  }
}

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

/* Rainbow Glow */
@keyframes rainbow-glow {
  0% {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8), 0 0 40px rgba(255, 23, 68, 0.5);
  }
  25% {
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.8), 0 0 40px rgba(255, 195, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.8), 0 0 40px rgba(34, 197, 94, 0.5);
  }
  75% {
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 40px rgba(0, 188, 212, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8), 0 0 40px rgba(255, 23, 68, 0.5);
  }
}

.rainbow-glow {
  animation: rainbow-glow 3s ease-in-out infinite;
}

/* ===== FESTIVE ANIMATIONS ===== */
/* Countdown fade animation */
@keyframes fade-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

.fade-pulse {
  animation: fade-pulse 1.2s ease-in-out infinite;
}

/* Confetti fall animation */
@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(-100px) rotate(0deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg);
  }
}

.confetti {
  animation: confetti-fall 3s ease-in linear forwards;
  position: fixed;
  pointer-events: none;
}

/* Carousel slide */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
  animation: slide-in 0.5s ease-out forwards;
}

/* Slide in from left */
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}

/* Wobble effect */
@keyframes wobble {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.wobble {
  animation: wobble 0.6s ease-in-out infinite;
}

/* ===== PROSE & TYPOGRAPHY ===== */
/* Prose Readability */
.prose-casino {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-casino h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff1744, #ffc300, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prose-casino h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffc300;
}

.prose-casino p {
  margin-bottom: 1rem;
}

.prose-casino ul, .prose-casino ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose-casino a {
  color: #00bcd4;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.prose-casino a:hover {
  color: #22c55e;
}

/* ===== CARD STYLES ===== */
/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid rgba(255, 195, 0, 0.2);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(255, 23, 68, 0.3),
    0 0 20px rgba(34, 197, 94, 0.2);
  border-color: rgba(255, 195, 0, 0.6);
}

/* Festive card gradient */
.card-festive {
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.1), rgba(34, 197, 94, 0.1));
  border: 2px solid transparent;
  background-clip: padding-box;
  border-image: linear-gradient(135deg, #ff1744, #ffc300, #22c55e, #00bcd4) 1;
}

/* ===== BADGE STYLES ===== */
/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #ff1744, #ffc300);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 23, 68, 0.5);
}

/* Badge styles with festive colors */
.badge-jackpot {
  background: linear-gradient(135deg, #ff1744, #ef4444);
  box-shadow: 0 0 15px rgba(255, 23, 68, 0.6);
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

.badge-bonus {
  background: linear-gradient(135deg, #ffc300, #ffa500);
  box-shadow: 0 0 15px rgba(255, 195, 0, 0.6);
  color: #000;
}

.badge-popular {
  background: linear-gradient(135deg, #00bcd4, #06b6d4);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

.badge-new {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.6);
}

.badge-hot {
  background: linear-gradient(135deg, #ff1744, #ff5252);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== DECORATIVE PATTERNS & BORDERS ===== */
/* Festive border decoration */
.border-festive {
  border: 2px solid transparent;
  background-clip: padding-box;
  border-image: linear-gradient(90deg, #ff1744, #ffc300, #22c55e, #00bcd4, #2196f3) 1;
}

/* Festive dashed border */
.border-festive-dashed {
  border: 2px dashed;
  border-color: #ffc300;
  background: linear-gradient(135deg, rgba(255, 195, 0, 0.05), rgba(34, 197, 94, 0.05));
}

/* Decorative corner elements */
.corner-decoration {
  position: relative;
}

.corner-decoration::before {
  content: '✨';
  position: absolute;
  font-size: 1.5rem;
  animation: bounce-festive 2s ease-in-out infinite;
}

.corner-top-left::before {
  top: -10px;
  left: -10px;
}

.corner-top-right::before {
  top: -10px;
  right: -10px;
}

.corner-bottom-left::before {
  bottom: -10px;
  left: -10px;
}

.corner-bottom-right::before {
  bottom: -10px;
  right: -10px;
}

/* Festive divider */
.divider-festive {
  background: linear-gradient(90deg, 
    transparent 0%, 
    #ff1744 15%, 
    #ffc300 30%, 
    #22c55e 50%, 
    #00bcd4 70%, 
    #2196f3 85%, 
    transparent 100%
  );
  height: 3px;
  margin: 2rem 0;
  border-radius: 10px;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1a1a2e, #0f0f1e);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff1744, #ffc300, #22c55e);
  border-radius: 5px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffc300, #22c55e, #00bcd4);
  box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}

/* ===== BUTTON STYLES ===== */
/* Festive primary button */
.btn-festive {
  background: linear-gradient(135deg, #ff1744, #ffc300);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 23, 68, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-festive::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s ease-in-out infinite;
}

.btn-festive:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 23, 68, 0.6), 0 0 20px rgba(34, 197, 94, 0.3);
}

/* Festive secondary button */
.btn-festive-secondary {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(90deg, #ff1744, #ffc300, #22c55e) 1;
  color: #ffc300;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.btn-festive-secondary:hover {
  background: rgba(255, 195, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 195, 0, 0.4);
}

/* Shine animation for buttons */
@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
  border-radius: 4px;
}

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

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
button, a, input, select {
  transition: all 0.2s ease;
}

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

.quiz-option:hover {
  background-color: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}

.quiz-option.selected {
  background-color: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
}
