/* CuppaWins 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,
    #ffd700 0%,
    #fff8dc 25%,
    #ffd700 50%,
    #fff8dc 75%,
    #ffd700 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-delay-1 {
  animation: float 3s ease-in-out 0.5s infinite;
}

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

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

/* Pulse Glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.7);
  }
}

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

/* Prose Readability */
.prose {
  color: #e5e7eb;
  line-height: 1.75;
}

.prose h2 {
  color: #ffd700;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #fbbf24;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

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

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

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

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

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
}

/* 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, #f59e0b 0%, #d97706 100%);
}

/* Glow Border */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ffd700, #fbbf24, #ffd700);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
}

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

.star-empty {
  color: #4b5563;
}

/* Mobile Menu Animation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

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

/* Floating Sidebar Nav */
.sidebar-nav {
  backdrop-filter: blur(8px);
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 6px;
}

.sidebar-link.active {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.sidebar-link.active .sidebar-label {
  opacity: 1;
}

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

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