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

:root {
  --wintino-dark: #0a1628;
  --wintino-blue: #1e3a5f;
  --wintino-accent: #fbbf24;
  --wintino-gold: #f59e0b;
  --wintino-glow: rgba(251, 191, 36, 0.3);
}

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

/* Prose readability */
.prose-wintino {
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-wintino h2,
.prose-wintino h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 191, 36, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef3c7 50%,
    #fbbf24 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 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 4s ease-in-out infinite;
}

.float-slow {
  animation: float-slow 6s 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 effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
  }
}

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

/* Button hover states */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

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

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0a1628;
}

/* Gradient backgrounds */
.bg-gradient-wintino {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0f2744 100%);
}

.bg-gradient-card {
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.8), rgba(10, 22, 40, 0.9));
}

/* Glow border */
.glow-border {
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3),
              0 0 20px rgba(251, 191, 36, 0.2);
}

/* Badge styles */
.badge-jackpot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

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

/* Mobile menu animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-open {
  animation: slideDown 0.3s ease forwards;
}

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

.star-empty {
  color: #374151;
}

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

/* Selection color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #ffffff;
}

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

::-webkit-scrollbar-track {
  background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #2d4a6f;
}
