/* ================================================
   WoolBet Casino — Custom CSS & Animations
   Neon Fleece Theme: Electric Cyan + Violet
   on Dark Futuristic Backdrop
================================================ */

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

html { scroll-behavior: smooth; }

body {
  background-color: #0a0a14;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- CSS Custom Properties ---- */
:root {
  --cyan: #00f5ff;
  --violet: #8b5cf6;
  --dark-violet: #5b21b6;
  --bg: #0a0a14;
  --surface: #12121f;
  --card: #1a1a2e;
  --border: #2a2a45;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --glow-cyan: 0 0 20px rgba(0,245,255,0.4);
  --glow-violet: 0 0 20px rgba(139,92,246,0.4);
}

/* ---- Gradient Text ---- */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0,245,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(0,245,255,0.7), 0 0 80px rgba(139,92,246,0.4); }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

/* Parallax effect via JS-ready class */
.hero-bg[data-parallax] {
  transform: translateZ(0);
  will-change: transform;
}

/* Particle overlay */
.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,245,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,0.08) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.hero-particles::after {
  background-image:
    radial-gradient(circle at 60% 20%, rgba(0,245,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(139,92,246,0.06) 0%, transparent 40%);
  animation-delay: -4s;
  animation-duration: 10s;
}

/* ---- Bonus Badge Box ---- */
.bonus-badge-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.bonus-badge-inner {
  background: linear-gradient(135deg, rgba(0,245,255,0.1) 0%, rgba(139,92,246,0.1) 100%);
  border: 2px solid rgba(0,245,255,0.4);
  border-radius: 20px;
  padding: 28px 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 3s ease-in-out infinite;
}

.bonus-badge-inner::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6, #00f5ff);
  background-size: 300% 300%;
  border-radius: 20px;
  z-index: -1;
  animation: shimmer 4s linear infinite;
}

/* ---- Trust Badges ---- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: var(--glow-cyan);
}

/* ---- Section Common Styles ---- */
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,245,255,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(0,245,255,0.3);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- CTA Buttons ---- */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 100%);
  color: #0a0a14;
  font-weight: 800;
  font-size: 15px;
  border-radius: 12px;
  padding: 14px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn-primary:hover::before { opacity: 1; }

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,245,255,0.5);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cyan);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  padding: 14px 28px;
  border: 2px solid var(--cyan);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.cta-btn-secondary:hover {
  background: rgba(0,245,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,245,255,0.3);
}

/* ---- Navigation ---- */
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: white;
  background: rgba(0,245,255,0.08);
}

.mobile-nav-link {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: white;
  background: rgba(0,245,255,0.08);
}

/* Burger bars */
.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#burger-btn.menu-open .burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#burger-btn.menu-open .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#burger-btn.menu-open .burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Footer Links ---- */
.footer-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---- Step Cards ---- */
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;
}

.step-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,245,255,0.15);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  color: #0a0a14;
  font-weight: 900;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  background: rgba(0,245,255,0.15);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

/* ---- Review Cards ---- */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  border-color: rgba(0,245,255,0.3);
  box-shadow: 0 20px 60px rgba(0,245,255,0.1);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,245,255,0.06), rgba(139,92,246,0.06));
  border-bottom: 1px solid var(--border);
}

.review-card-body {
  padding: 24px;
  flex: 1;
}

/* ---- Stat Pills ---- */
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
}

/* ---- Provider Cloud ---- */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-tag {
  background: rgba(0,245,255,0.06);
  border: 1px solid rgba(0,245,255,0.2);
  color: var(--text);
  border-radius: 50px;
  transition: all 0.2s ease;
  font-weight: 600;
  cursor: default;
}

.provider-tag:hover {
  background: rgba(0,245,255,0.12);
  border-color: var(--cyan);
  color: white;
  box-shadow: var(--glow-cyan);
}

.provider-tag-sm { padding: 5px 12px; font-size: 11px; }
.provider-tag-md { padding: 6px 14px; font-size: 12px; }
.provider-tag-lg { padding: 7px 16px; font-size: 13px; }

/* ---- Promo Cards ---- */
.promo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-card:hover::before { opacity: 1; }

.promo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,245,255,0.3);
  box-shadow: 0 20px 60px rgba(0,245,255,0.1);
}

.promo-card-featured {
  border-color: rgba(139,92,246,0.5);
  background: linear-gradient(135deg, var(--card), rgba(139,92,246,0.08));
}

.promo-card-featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.promo-card-icon {
  width: 80px;
  height: 80px;
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.promo-card:hover .promo-card-icon {
  background: rgba(0,245,255,0.15);
  box-shadow: var(--glow-cyan);
}

.promo-badge {
  display: inline-block;
  background: rgba(0,245,255,0.15);
  border: 1px solid rgba(0,245,255,0.4);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.promo-badge-violet {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.4);
  color: #a78bfa;
}

/* ---- Games Marquee ---- */
.games-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.games-marquee-wrapper:active { cursor: grabbing; }

.games-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 10px 0;
}

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

.game-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: rgba(0,245,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,245,255,0.15);
}

.game-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(0,245,255,0.05), rgba(139,92,246,0.05));
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-body {
  padding: 12px;
}

/* ---- Payment Table ---- */
.payment-row {
  border-bottom: 1px solid rgba(42,42,69,0.6);
  transition: background 0.2s ease;
}

.payment-row:last-child { border-bottom: none; }

.payment-row:hover {
  background: rgba(0,245,255,0.03);
}

.pay-time-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(42,42,69,0.8);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--muted);
}

.pay-time-fast {
  background: rgba(0,245,255,0.1);
  border-color: rgba(0,245,255,0.3);
  color: var(--cyan);
}

/* ---- FAQ ---- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.faq-open {
  border-color: rgba(0,245,255,0.3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-trigger:hover {
  background: rgba(0,245,255,0.03);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- Prose Styling ---- */
.prose-woolbet h1,
.prose-woolbet h2,
.prose-woolbet h3,
.prose-woolbet h4,
.prose-woolbet h5 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose-woolbet h1 { font-size: 2.25rem; }
.prose-woolbet h2 { font-size: 1.75rem; color: var(--cyan); }
.prose-woolbet h3 { font-size: 1.35rem; }

.prose-woolbet p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25em;
  font-size: 1rem;
}

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

.prose-woolbet a:hover { color: white; }

.prose-woolbet ul,
.prose-woolbet ol {
  color: var(--muted);
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose-woolbet li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.prose-woolbet strong { color: var(--text); }

.prose-woolbet table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}

.prose-woolbet th {
  background: rgba(0,245,255,0.08);
  color: var(--cyan);
  font-weight: 600;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.prose-woolbet td {
  padding: 10px 16px;
  color: var(--muted);
  border-bottom: 1px solid rgba(42,42,69,0.5);
}

.prose-woolbet tr:hover td {
  background: rgba(0,245,255,0.02);
}

.prose-woolbet blockquote {
  border-left: 3px solid var(--cyan);
  padding-left: 1.25em;
  margin: 1.5em 0;
  color: var(--muted);
  font-style: italic;
}

.prose-woolbet hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.prose-woolbet code {
  background: rgba(0,245,255,0.1);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,245,255,0.4); }

/* ---- Utility ---- */
.overflow-x-auto { overflow-x: auto; }

/* ---- Responsive Helpers ---- */
@media (max-width: 640px) {
  .section-title { font-size: 1.6rem; }
  .bonus-badge-inner { padding: 20px 16px; }
  .games-marquee-track { gap: 12px; }
  .game-card { width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .games-marquee-track,
  .hero-particles::before,
  .hero-particles::after {
    animation: none;
  }
}