/* Custom animations and styling */

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

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6), 0 0 60px rgba(34, 197, 94, 0.3), 0 0 80px rgba(34, 197, 94, 0.1);
  }
}

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

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

@keyframes parallax-bg {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Parallax effect */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
  animation: parallax-bg 60s ease-in-out infinite alternate;
}

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

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

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

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

/* Gradient backgrounds */
.gradient-blue-luxury {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #0c4a6e 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, #1e40af 0%, #0891b2 50%, #059669 100%);
}

.gradient-card {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(8, 145, 178, 0.8) 100%);
}

/* CSS Pattern backgrounds */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.pattern-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Prose styling for readability */
.prose {
  color: #e5e7eb;
  line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25em;
  line-height: 1.2;
}
.prose h2 {
  font-size: 1.875em;
  line-height: 1.3;
}
.prose h3 {
  font-size: 1.5em;
  line-height: 1.4;
}

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

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

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

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

.prose a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.3s;
}

.prose a:hover {
  color: #16a34a;
}

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

::-webkit-scrollbar-track {
  background: #1e3a8a;
}

::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

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

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

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #052e16;
}

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

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

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

/* Sticky elements */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 22, 40, 0.95);
}

.sticky-cta-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(30, 64, 175, 0.95);
}

/* Table styles */
.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.custom-table th {
  background: rgba(30, 64, 175, 0.8);
  color: #ffffff;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.custom-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-table tr:hover {
  background: rgba(34, 197, 94, 0.1);
}

/* Win/Loss colors */
.win-amount {
  color: #22c55e;
  font-weight: 600;
}

.loss-amount {
  color: #ef4444;
  font-weight: 600;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .prose h1 {
    font-size: 1.875em;
  }
  .prose h2 {
    font-size: 1.5em;
  }
  .prose h3 {
    font-size: 1.25em;
  }
}
