/* ==============================================
   WoolBet Casino — Custom CSS & Animations
   Golden Fleece Theme
   ============================================== */

/* ---------- Google Font fallback ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- CSS Reset extras ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1408; }
::-webkit-scrollbar-thumb { background: #c49500; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #f9ce2a; }

/* ---------- Body base ---------- */
html { scroll-behavior: smooth; }
body {
  background-color: #0f0b06;
  color: #faf6ec;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Marquee animation ---------- */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-outer { overflow: hidden; }

/* ---------- Float animation ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ---------- Pulse gold (glow) ---------- */
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 15px rgba(232,184,0,0.35); }
  50%       { box-shadow: 0 0 40px rgba(232,184,0,0.85), 0 0 80px rgba(232,184,0,0.25); }
}
.animate-pulse-gold { animation: pulseGold 2.5s ease-in-out infinite; }

/* ---------- Parallax hero ---------- */
.hero-section {
  will-change: background-position;
}

/* ---------- Navbar active state ---------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e8b800, #f9ce2a);
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ---------- CTA button shine ---------- */
.cta-primary {
  position: relative;
  overflow: hidden;
}
.cta-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.cta-primary:hover::after { left: 125%; }

/* ---------- Game card hover ---------- */
.game-card {
  will-change: transform;
}
.game-card:hover .game-overlay { opacity: 1; }

/* ---------- Step card connector line ---------- */
@media (min-width: 768px) {
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -1.25rem;
    width: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, #c49500, transparent);
    z-index: 10;
  }
}

/* ---------- Promo card shadow ---------- */
.shadow-gold { box-shadow: 0 8px 32px rgba(232,184,0,0.2); }
.hover\:shadow-gold:hover { box-shadow: 0 8px 32px rgba(232,184,0,0.3); }

/* ---------- FAQ accordion ---------- */
.faq-body {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ---------- Prose styling for single pages ---------- */
.prose-woolbet {
  color: #faf6ec;
  max-width: 75ch;
}
.prose-woolbet h1,
.prose-woolbet h2,
.prose-woolbet h3,
.prose-woolbet h4 {
  font-family: Georgia, Cambria, serif;
  color: #f9ce2a;
  margin-top: 1.75em;
  margin-bottom: 0.75em;
  line-height: 1.25;
}
.prose-woolbet h1 { font-size: 2.25rem; }
.prose-woolbet h2 { font-size: 1.75rem; }
.prose-woolbet h3 { font-size: 1.35rem; }
.prose-woolbet h4 { font-size: 1.1rem; }
.prose-woolbet p  { margin-bottom: 1.25em; line-height: 1.75; color: #edddba; }
.prose-woolbet a  { color: #f9ce2a; text-decoration: underline; text-underline-offset: 3px; }
.prose-woolbet a:hover { color: #fce160; }
.prose-woolbet ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25em; }
.prose-woolbet ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25em; }
.prose-woolbet li { margin-bottom: 0.4em; color: #edddba; }
.prose-woolbet blockquote {
  border-left: 3px solid #c49500;
  padding-left: 1rem;
  color: #c2ae92;
  font-style: italic;
  margin: 1.5em 0;
}
.prose-woolbet strong { color: #fce160; }
.prose-woolbet code {
  background: #261e0e;
  border: 1px solid #6e5438;
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-size: 0.85em;
  color: #f9ce2a;
}
.prose-woolbet pre {
  background: #1a1408;
  border: 1px solid #6e5438;
  border-radius: 8px;
  padding: 1.25em;
  overflow-x: auto;
  margin-bottom: 1.25em;
}
.prose-woolbet table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.9em;
}
.prose-woolbet th {
  background: #261e0e;
  color: #f9ce2a;
  font-weight: 600;
  text-align: left;
  padding: 0.75em 1em;
  border-bottom: 2px solid #c49500;
}
.prose-woolbet td {
  padding: 0.6em 1em;
  border-bottom: 1px solid #38291a;
  color: #edddba;
  vertical-align: top;
}
.prose-woolbet tr:hover td { background: rgba(196,149,0,0.06); }

/* ---------- Overflow table wrapper ---------- */
.overflow-x-auto { -webkit-overflow-scrolling: touch; }

/* ---------- Responsive max container ---------- */
.max-w-site { max-width: 1440px; }

/* ---------- Gradient text ---------- */
.text-gradient-gold {
  background: linear-gradient(135deg, #f9ce2a, #e8b800, #c49500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section dividers ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,149,0,0.4), transparent);
  margin: 0;
}

/* ---------- Backdrop blur fallback ---------- */
@supports not (backdrop-filter: blur(12px)) {
  #main-header { background-color: #0f0b06 !important; }
}

/* ---------- Mobile menu transition ---------- */
#mobile-menu {
  transition: max-height 0.3s ease;
}

/* ---------- Lang dropdown ---------- */
#lang-dropdown-desktop {
  transform-origin: top right;
}

/* ---------- Utility: visually hidden ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
