/* Lolajack Casino - Custom CSS */
/* Animation Keyframes & Prose Styling */

:root {
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-card: #252542;
  --accent-gold: #ffd700;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --gradient-adventure: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #1e1e3f 0%, #2a1f4e 25%, #1a2a3e 50%, #1e2d4a 75%, #1a1a2e 100%);
}

* {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-darker);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Prose Styling for Readability */
.prose {
  max-width: 75ch;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.prose h2 {
  color: var(--text-primary);
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.prose h3 {
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

.prose a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

.marquee-track {
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                0 0 40px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5),
                0 0 60px rgba(255, 215, 0, 0.2);
  }
}

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

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

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

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

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

/* Tilt on Hover */
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(255, 215, 0, 0.1);
}

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

/* Button Styles */
.btn-primary {
  background: var(--gradient-gold);
  color: #1a1a2e;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #1a1a2e;
}

/* Card Styles */
.card {
  background: var(--bg-card);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card-glow {
  position: relative;
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), transparent, rgba(139, 92, 246, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.card-glow:hover::before {
  opacity: 1;
}

/* Slot Card */
.slot-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-card);
  transition: all 0.3s ease;
}

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

.slot-card img {
  transition: transform 0.5s ease;
}

.slot-card:hover img {
  transform: scale(1.05);
}

.slot-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-rtp { background: #10b981; color: white; }
.badge-jackpot { background: #ffd700; color: #1a1a2e; }
.badge-bonus { background: #8b5cf6; color: white; }
.badge-popular { background: #ec4899; color: white; }

/* Hero Pattern */
.hero-pattern {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    linear-gradient(135deg, #1e1e3f 0%, #2a1f4e 25%, #1a2a3e 50%, #1e2d4a 75%, #1a1a2e 100%);
}

/* Adventure SVG Pattern */
.adventure-bg {
  background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Sticky Header */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

/* Feature Card */
.feature-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(37, 37, 66, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

/* Provider Button */
.provider-btn {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.provider-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Review Card */
.review-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #2a1f4e 0%, #1a2a3e 50%, #1e3a5f 100%);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffd700' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Winner Overlay */
.winner-overlay {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(42, 31, 78, 0.9) 100%);
  backdrop-filter: blur(8px);
}

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

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
    line-height: 1.75;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .marquee-track {
    animation: none;
  }
}

/* Focus States */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(255, 215, 0, 0.3);
  color: white;
}
