/* Alawin Casino - Custom CSS */
/* Animation Keyframes & Overrides */

:root {
  --primary-dark: #0a0e27;
  --primary-blue: #1a1f4e;
  --accent-gold: #ffd700;
  --accent-purple: #9b59b6;
  --accent-cyan: #00d4ff;
  --genie-gradient: linear-gradient(135deg, #1a1f4e 0%, #2d1b69 50%, #0a0e27 100%);
  --magic-glow: 0 0 30px rgba(155, 89, 182, 0.5);
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--genie-gradient);
  background-attachment: fixed;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}

/* Prose Styling for Readability */
.prose {
  max-width: 75ch;
  color: #d0d0d0;
  line-height: 1.75;
}

.prose h2 {
  color: var(--accent-gold);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

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

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

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

.prose strong {
  color: #fff;
  font-weight: 600;
}

/* Magic Lamp Glow Animation */
@keyframes magicGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(155, 89, 182, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
  }
}

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

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

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

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

/* Tilt Animation on Hover */
@keyframes tiltIn {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  }
}

/* Star Twinkle */
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Spin Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Gradient Text Animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Custom Utility Classes */
.magic-glow {
  animation: magicGlow 3s ease-in-out infinite;
}

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

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

.shimmer-text {
  background: linear-gradient(90deg, var(--accent-gold) 0%, #fff 50%, 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;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-cyan), var(--accent-purple));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

.tilt-hover {
  transition: transform 0.3s ease;
}

.tilt-hover:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* Marquee Container */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

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

/* Glass Effect */
.glass-effect {
  background: rgba(26, 31, 78, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--magic-glow);
}

/* Slot Card Styles */
.slot-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(26, 31, 78, 0.8), rgba(10, 14, 39, 0.9));
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.slot-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--gold-glow);
  transform: scale(1.03);
}

.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.slot-card:hover::before {
  left: 100%;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #1a1f4e;
}

.badge-purple {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
}

.badge-cyan {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #0a0e27;
}

.badge-green {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

/* CTA Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffaa00 100%);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow), 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Provider Button */
.provider-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(145deg, rgba(45, 27, 105, 0.6), rgba(26, 31, 78, 0.8));
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 0.75rem;
  color: #d0d0d0;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.provider-btn:hover {
  background: linear-gradient(145deg, rgba(155, 89, 182, 0.4), rgba(45, 27, 105, 0.6));
  border-color: var(--accent-purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3);
}

/* Review Card */
.review-card {
  background: linear-gradient(145deg, rgba(26, 31, 78, 0.7), rgba(10, 14, 39, 0.8));
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Star Rating */
.star-rating {
  display: inline-flex;
  gap: 0.125rem;
}

.star-rating svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent-gold);
}

/* SVG Pattern Background */
.pattern-bg {
  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='%239b59b6' fill-opacity='0.08'%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");
}

.lamp-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.05'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm40 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Decorative Elements */
.magic-star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: twinkle 2s ease-in-out infinite;
}

/* Header Styles */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(155, 89, 182, 0.2);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 39, 0.98);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.5) 0%, rgba(26, 31, 78, 0.8) 50%, rgba(10, 14, 39, 0.9) 100%);
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
  animation: spin 30s linear infinite;
}

/* Feature Grid */
.feature-card {
  background: linear-gradient(145deg, rgba(26, 31, 78, 0.6), rgba(10, 14, 39, 0.8));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

/* Spotlight Section */
.spotlight-card {
  background: linear-gradient(145deg, rgba(45, 27, 105, 0.4), rgba(26, 31, 78, 0.6));
  border: 1px solid rgba(155, 89, 182, 0.3);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 14, 39, 0.9) 100%);
  pointer-events: none;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.3) 0%, rgba(0, 212, 255, 0.2) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 2rem;
  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 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffd700' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Footer Styles */
.footer {
  background: linear-gradient(to top, rgba(5, 7, 20, 1) 0%, rgba(10, 14, 39, 0.95) 100%);
  border-top: 1px solid rgba(155, 89, 182, 0.2);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.2rem;
  }
  
  .hero-section {
    border-radius: 1.25rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .slot-card {
    border-radius: 0.75rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent-purple), var(--primary-blue));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
}

/* Selection Styling */
::selection {
  background: rgba(155, 89, 182, 0.4);
  color: #fff;
}
