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

:root {
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-card: #252540;
  --accent-gold: #d4af37;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glow-gold: rgba(212, 175, 55, 0.4);
  --glow-purple: rgba(139, 92, 246, 0.3);
}

* {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Prose Styling for Readability */
.prose {
  line-height: 1.75;
  color: var(--text-secondary);
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.5rem;
}

.prose h3 {
  font-size: 1.375rem;
  color: var(--accent-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 li::marker {
  color: var(--accent-gold);
}

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

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

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

/* Parallax Scrolling Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-element {
  transform: translateZ(0);
  will-change: transform;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px var(--glow-gold), 0 0 40px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 30px var(--glow-gold), 0 0 60px rgba(212, 175, 55, 0.4);
  }
}

@keyframes pulseGlowPurple {
  0%, 100% {
    box-shadow: 0 0 15px var(--glow-purple), 0 0 30px rgba(139, 92, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 25px var(--glow-purple), 0 0 50px rgba(139, 92, 246, 0.3);
  }
}

.pulse-gold {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.pulse-purple {
  animation: pulseGlowPurple 3s ease-in-out infinite;
}

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

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

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

.shimmer-text {
  background: linear-gradient(90deg, var(--accent-gold) 0%, #fff5cc 25%, var(--accent-gold) 50%, #fff5cc 75%, var(--accent-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Slide In Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out forwards;
}

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Button Hover Effects */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
  color: #1a1a2e;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: 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: var(--bg-dark);
}

/* Card Styling */
.card-dark {
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.card-dark:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

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

.slot-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.slot-card img {
  aspect-ratio: 9/16;
  object-fit: cover;
  width: 100%;
}

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

.badge-rtp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

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

.badge-popular {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* Provider Button */
.provider-btn {
  background: linear-gradient(145deg, #2d2d4a 0%, #1f1f35 100%);
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.provider-btn:hover {
  color: var(--accent-gold);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Feature Card */
.feature-card {
  background: linear-gradient(145deg, rgba(37, 37, 64, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* 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 {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Hero Gradient Background */
.hero-gradient {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(37, 37, 64, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
}

/* CSS Pattern Background */
.pattern-bg {
  background-color: var(--bg-card);
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 30px 30px;
}

/* Live Game Overlay */
.live-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

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

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

/* Responsive Grid Adjustments */
@media (max-width: 640px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Age Restriction Badge */
.age-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-gold);
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
