/* Custom animations and prose styling for BlindLuck Casino */

:root {
  --royal-blue: #0a1628;
  --deep-blue: #162238;
  --accent-green: #00ff88;
  --gold: #ffd700;
  --text-light: #e8f0f7;
}

/* Keyframe Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countdown {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Floating animation for hero */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Pulse glow for CTAs */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Shimmer effect */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Marquee for providers */
.marquee-content {
  animation: marquee 30s linear infinite;
}

/* Tilt animation */
.tilt {
  animation: tilt 3s ease-in-out infinite;
}

/* Fade in up */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Royal pattern overlay */
.royal-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

/* Prose styling for readability */
.prose {
  color: var(--text-light);
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-green);
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

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

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

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

.prose a {
  color: var(--accent-green);
  text-decoration: underline;
  transition: color 0.3s;
}

.prose a:hover {
  color: var(--gold);
}

.prose strong {
  color: var(--gold);
  font-weight: 600;
}

/* Glass morphism effect */
.glass-effect {
  background: rgba(22, 34, 56, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-green), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

/* Mobile menu transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

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

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

::-webkit-scrollbar-track {
  background: var(--royal-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Wheel animation */
.wheel {
  transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel.spinning {
  transform: rotate(1800deg);
}

/* Countdown animation */
.countdown-text {
  animation: countdown 1s ease-in-out;
}
