/* ==========================================================================
   Lolajackcasino Custom CSS
   Animations, Overrides, Prose Styling
   Animation types: Marquee + Parallax Tilt
   ========================================================================== */

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

body {
  background: linear-gradient(170deg, #FFF0F6 0%, #FFFFFF 40%, #FFF0F6 70%, #FFFFFF 100%);
  min-height: 100vh;
}

/* ---------- Prose / Review Readability ---------- */
.prose-casino {
  font-family: 'Inter', sans-serif;
  color: #1A0A12;
  line-height: 1.7;
  font-size: 1rem;
}

.prose-casino h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: #1A0A12;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.prose-casino h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #1A0A12;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

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

.prose-casino li {
  margin-bottom: 0.4rem;
}

.prose-casino a {
  color: #E5173F;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-casino a:hover {
  color: #C41235;
}

.prose-casino strong {
  font-weight: 600;
  color: #1A0A12;
}

.prose-casino blockquote {
  border-left: 4px solid #FF69B4;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #1A0A12;
  background: rgba(255, 105, 180, 0.06);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
}

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

.animate-marquee {
  animation: marquee 25s linear infinite;
}

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

/* ---------- Animation 2: Parallax Tilt on Cards ---------- */
@keyframes tilt-float {
  0%, 100% {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) translateY(0px);
  }
  25% {
    transform: perspective(800px) rotateY(2deg) rotateX(-1deg) translateY(-4px);
  }
  50% {
    transform: perspective(800px) rotateY(-1deg) rotateX(1deg) translateY(-8px);
  }
  75% {
    transform: perspective(800px) rotateY(1.5deg) rotateX(-0.5deg) translateY(-4px);
  }
}

.tilt-card {
  animation: tilt-float 6s ease-in-out infinite;
  animation-play-state: paused;
}

.tilt-card:hover {
  animation-play-state: running;
}

/* ---------- Pulsating CTA ---------- */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(229, 23, 63, 0.4), 0 4px 16px rgba(229, 23, 63, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 23, 63, 0.7), 0 4px 30px rgba(229, 23, 63, 0.4);
  }
}

.pulse-cta {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

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

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

/* ---------- Fade-in on Scroll ---------- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  animation: fade-in-up 0.7s ease-out forwards;
}

/* ---------- Withdrawal Countdown Fade ---------- */
#withdrawal-countdown {
  transition: opacity 0.4s ease-in-out;
}

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

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

/* ---------- Badge Styles ---------- */
.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.badge-jackpot {
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  color: #1A0A12;
}

.badge-bonus {
  background: linear-gradient(135deg, #FF69B4, #E5173F);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: #fff;
}

/* ---------- Card Hover Lift ---------- */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 10, 18, 0.15), 0 0 30px rgba(255, 105, 180, 0.15);
}

/* ---------- Hero SVG Pattern Background ---------- */
.hero-pattern {
  background-color: #1A0A12;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(229, 23, 63, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 40%);
  background-size: 100% 100%;
}

/* Suits pattern overlay using CSS repeating shapes */
.hero-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 6 L36 18 L30 30 L24 18Z' fill='%23FF69B4'/%3E%3Cpath d='M15 35 Q15 28 22.5 28 Q30 28 30 38 Q30 28 37.5 28 Q45 28 45 35 Q45 45 30 52 Q15 45 15 35Z' fill='%23E5173F'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

/* ---------- Slot Grid Item Overlay ---------- */
.slot-overlay {
  background: linear-gradient(to top, rgba(26, 10, 18, 0.85) 0%, transparent 60%);
}

/* ---------- Provider Cloud Buttons ---------- */
.provider-btn {
  background: linear-gradient(135deg, #2A1520, #1A0A12);
  border: 1px solid rgba(255, 105, 180, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.provider-btn:hover {
  border-color: rgba(255, 105, 180, 0.5);
  box-shadow: 0 4px 16px rgba(255, 105, 180, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Review Star Rating ---------- */
.star-filled {
  color: #FFD700;
}

.star-empty {
  color: #374151;
}

/* ---------- Tab Active State ---------- */
[data-tab-btn].active-tab {
  background: #E5173F;
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: #FFF0F6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF69B4, #E5173F);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #E5173F;
}

/* ---------- Selection Color ---------- */
::selection {
  background: rgba(255, 105, 180, 0.3);
  color: #1A0A12;
}

/* ---------- Responsive Utility ---------- */
@media (max-width: 640px) {
  .prose-casino h2 {
    font-size: 1.4rem;
  }
  .prose-casino h3 {
    font-size: 1.15rem;
  }
  .prose-casino {
    font-size: 0.95rem;
  }
}
