/* 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, 215, 0, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef08a 25%,
    #fbbf24 50%,
    #fef08a 75%,
    #fbbf24 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);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

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

.float-slow {
  animation: float-slow 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;
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.7), 0 0 60px rgba(251, 191, 36, 0.3);
  }
}

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

/* Subtle Scale on Hover */
@keyframes subtle-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

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

.prose-readable h2 {
  color: #fbbf24;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

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

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

.prose-readable a:hover {
  color: #fef08a;
}

/* Card Glow Effect */
.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 191, 36, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.card-glow:hover::before {
  left: 100%;
}

/* Tab Active State */
.tab-active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
  font-weight: 600;
}

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

::-webkit-scrollbar-track {
  background: #1f2937;
  border-radius: 4px;
}

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

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

/* Badge Styles */
.badge-jackpot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 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, #3b82f6 0%, #2563eb 100%);
}

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

.star-empty {
  color: #374151;
}

/* Quiz Styling */
.quiz-option {
  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;
}

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

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

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

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

/* Table Responsive */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #fef08a 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass Effect */
.glass {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
