/* Wintino Casino - Custom Styles */
/* Animations: Shimmer + Float */

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #ff3b3b 25%,
    #fff 50%,
    #ff3b3b 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

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

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

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

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

/* Pulse Glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.5),
                0 0 20px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8),
                0 0 40px rgba(239, 68, 68, 0.5);
  }
}

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

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Prose Readability */
.prose-custom {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

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

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

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

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

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

.prose-custom a {
  color: #ef4444;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-custom a:hover {
  color: #f87171;
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Gradient Border Effect */
.gradient-border {
  position: relative;
  background: #1a1a1a;
  border-radius: 1rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.125rem;
  background: linear-gradient(135deg, #ef4444, #991b1b, #ef4444);
  z-index: -1;
}

/* Tab Active State */
.tab-active {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
}

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

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

.badge-jackpot {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
}

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

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

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

/* Win/Loss Colors for Bets Table */
.bet-win {
  color: #22c55e;
}

.bet-loss {
  color: #ef4444;
}

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

.quiz-option:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

.quiz-option.selected {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

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

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

.star-empty {
  color: #374151;
}
