/* ===================================================
   LolaJack Casino - Custom CSS
   Animations: Marquee + Parallax
   =================================================== */

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #1a0f07;
  color: #fef3dc;
}

/* --- Prose Styling for Review Content --- */
.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e8d5b7;
  max-width: 72ch;
}

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: #ffd700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.prose h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #f5c842;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose ul li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: #fef3dc;
  font-weight: 700;
}

.prose a {
  color: #e8a824;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #ffd700;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose table th,
.prose table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(200, 134, 10, 0.2);
}

.prose table th {
  color: #ffd700;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

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

.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #1a0f07, transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #1a0f07, transparent);
}

/* --- PARALLAX --- */
.parallax-hero {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- PULSATING GLOW --- */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 107, 53, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.55), 0 0 60px rgba(255, 107, 53, 0.3);
  }
}

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

/* --- CTA Button Shine --- */
@keyframes btnShine {
  0% { left: -80%; }
  100% { left: 120%; }
}

.cta-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}

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

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

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

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

/* --- FADE IN UP (on load) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

.fade-in-up-d1 { animation-delay: 0.1s; }
.fade-in-up-d2 { animation-delay: 0.2s; }
.fade-in-up-d3 { animation-delay: 0.35s; }
.fade-in-up-d4 { animation-delay: 0.5s; }

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

.shimmer-text {
  background: linear-gradient(90deg, #ffd700, #ff6b35, #ffd700, #e8a824, #ffd700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* --- CARD HOVER --- */
.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2), 0 4px 15px rgba(0,0,0,0.4);
}

.game-card img {
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.08);
}

/* --- BADGE STYLES --- */
.badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-rtp    { background: rgba(29, 185, 84, 0.2); color: #1db954; border: 1px solid rgba(29, 185, 84, 0.3); }
.badge-jackpot { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-bonus  { background: rgba(255, 107, 53, 0.2); color: #ff6b35; border: 1px solid rgba(255, 107, 53, 0.3); }
.badge-popular { background: rgba(200, 134, 10, 0.2); color: #e8a824; border: 1px solid rgba(200, 134, 10, 0.3); }

/* --- MOBILE NAV --- */
#nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

#nav-menu.nav-open {
  max-height: 400px;
  opacity: 1;
}

@media (min-width: 768px) {
  #nav-menu {
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}

/* --- PAYMENT TAB STYLES --- */
[data-tab] {
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-tab].tab-active {
  background-color: rgba(200, 134, 10, 0.25);
  color: #ffd700;
  border-color: #c8860a;
}

/* --- TRUSTPILOT STARS --- */
.star-filled {
  color: #00b67a;
}

.star-half {
  color: #00b67a;
  opacity: 0.6;
}

/* --- SVG PATTERN BACKGROUNDS --- */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(200, 134, 10, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(200, 134, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 134, 10, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.pattern-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(200, 134, 10, 0.03) 20px,
    rgba(200, 134, 10, 0.03) 21px
  );
}

/* --- HERO GRADIENT BACKGROUND --- */
.hero-gradient {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 134, 10, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(74, 44, 26, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, #2d1a0e 0%, #1a0f07 50%, #3d2517 100%);
}

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

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

::-webkit-scrollbar-thumb {
  background: #4a2c1a;
  border-radius: 4px;
}

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

/* --- RATING STARS --- */
.rating-star {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}

/* --- RESPONSIVE HELPERS --- */
@media (max-width: 639px) {
  .prose {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .prose h2 {
    font-size: 1.4rem;
  }

  .prose h3 {
    font-size: 1.15rem;
  }
}

/* --- SECTION DIVIDER --- */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 134, 10, 0.3), transparent);
  margin: 3rem 0;
}

/* --- ACCORDION / EXPANDABLE --- */
.accordion-item {
  border: 1px solid rgba(200, 134, 10, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 20px rgba(200, 134, 10, 0.08);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(45, 26, 14, 0.5);
  cursor: pointer;
  border: none;
  text-align: left;
  color: #fef3dc;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.accordion-trigger:hover {
  background: rgba(45, 26, 14, 0.7);
}

.accordion-trigger .chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #c8860a;
}

.accordion-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(26, 15, 7, 0.4);
}

.accordion-body.open {
  max-height: 800px;
  padding: 1rem 1.25rem;
}

.accordion-body .inner {
  color: #e8d5b7;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- STEP INDICATOR --- */
.step-item {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2rem;
}

.step-item::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8860a, #ffd700);
  color: #1a0f07;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.step-item::after {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(200, 134, 10, 0.3), transparent);
}

.step-item:last-child::after {
  display: none;
}

.step-item:last-child {
  padding-bottom: 0;
}

/* --- SCORE / PROGRESS BAR --- */
.score-bar {
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(74, 44, 26, 0.5);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #c8860a, #ffd700);
  transition: width 0.6s ease;
}

/* --- CONTACT OPTION CARD --- */
.contact-card {
  background: rgba(45, 26, 14, 0.45);
  border: 1px solid rgba(200, 134, 10, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 134, 10, 0.1);
}

/* --- LEADERBOARD TABLE --- */
.leaderboard-row {
  transition: background 0.15s ease;
}

.leaderboard-row:hover {
  background: rgba(200, 134, 10, 0.05);
}

/* --- SCHEDULE WIDGET --- */
.schedule-card {
  background: rgba(45, 26, 14, 0.45);
  border: 1px solid rgba(200, 134, 10, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.schedule-card:hover {
  transform: translateY(-2px);
}

.schedule-card .status-live {
  background: rgba(212, 66, 10, 0.15);
  color: #ff6b35;
  border: 1px solid rgba(212, 66, 10, 0.3);
}

.schedule-card .status-upcoming {
  background: rgba(200, 134, 10, 0.15);
  color: #e8a824;
  border: 1px solid rgba(200, 134, 10, 0.3);
}

/* --- REVIEW CARD --- */
.review-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* --- PROVIDER BUTTON --- */
.provider-btn {
  transition: all 0.2s ease;
  border: 1px solid rgba(200, 134, 10, 0.15);
}

.provider-btn:hover {
  background-color: rgba(200, 134, 10, 0.15);
  border-color: rgba(200, 134, 10, 0.4);
  transform: translateY(-1px);
}

/* --- FEATURE CARD --- */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200, 134, 10, 0.15);
}

/* --- PROMO CARD --- */
.promo-card {
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
