/* ============================================================
   KumoBet Casino – Custom CSS
   Prime Storm theme: deep emerald, gold accents, dark cloud vibe
============================================================ */

/* ── Base ── */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  word-break: break-word;
}

* {
  box-sizing: border-box;
}

/* ============================================================
   HERO
============================================================ */
.hero-bg {
  background-color: #0a0f0d;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(6, 9, 8, 0.55) 0%,
    rgba(6, 78, 59, 0.18) 50%,
    rgba(6, 9, 8, 0.92) 100%
  );
}

.hero-mist {
  background: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    rgba(16, 185, 129, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: mistPulse 6s ease-in-out infinite alternate;
}

@keyframes mistPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.04); }
}

/* ── Bonus Badge ── */
.bonus-badge {
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.75) 0%,
    rgba(120, 53, 15, 0.65) 100%
  );
  border: 2px solid rgba(251, 191, 36, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 40px rgba(245, 158, 11, 0.25),
    0 0 80px rgba(16, 185, 129, 0.10),
    inset 0 1px 0 rgba(251, 191, 36, 0.15);
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  from { box-shadow: 0 0 30px rgba(245, 158, 11, 0.20), 0 0 60px rgba(16, 185, 129, 0.08); }
  to   { box-shadow: 0 0 55px rgba(245, 158, 11, 0.40), 0 0 100px rgba(16, 185, 129, 0.18); }
}

/* ── Gold Text Gradient ── */
.text-gradient-gold {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA Buttons ── */
.cta-primary {
  box-shadow: 0 4px 30px rgba(245, 158, 11, 0.40);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cta-primary:hover {
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.60);
}

/* ============================================================
   MARQUEE / GAME STRIP
============================================================ */
.marquee-track-wrapper {
  overflow: hidden;
  position: relative;
}

.marquee-track-wrapper::before,
.marquee-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #060908, transparent);
}
.marquee-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #060908, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

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

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Game Cards ── */
.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.20);
}

/* ============================================================
   PROMO CARDS
============================================================ */
.promo-card {
  background: linear-gradient(
    135deg,
    rgba(21, 32, 24, 0.95) 0%,
    rgba(10, 15, 13, 0.95) 100%
  );
  border: 1px solid rgba(5, 150, 105, 0.25);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 20px rgba(0,0,0,0.30);
}
.promo-card:hover {
  border-color: rgba(16, 185, 129, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(16, 185, 129, 0.15);
}

/* ============================================================
   STEP CARDS
============================================================ */
.step-card {
  background: linear-gradient(
    135deg,
    rgba(21, 32, 24, 0.90) 0%,
    rgba(10, 15, 13, 0.90) 100%
  );
  border: 1px solid rgba(5, 150, 105, 0.20);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover {
  border-color: rgba(245, 158, 11, 0.40);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.12);
}

.step-badge {
  background: linear-gradient(135deg, #059669 0%, #d97706 100%);
  color: #0a0f0d;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

/* ============================================================
   REVIEW BLOCKS
============================================================ */
.review-block {
  background: linear-gradient(
    160deg,
    rgba(21, 32, 24, 0.95) 0%,
    rgba(10, 15, 13, 0.95) 100%
  );
  border: 1px solid rgba(5, 150, 105, 0.20);
  box-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

/* ── Provider Word Cloud ── */
.provider-cloud {
  gap: 0.5rem;
}

.provider-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: default;
}
.provider-tag:hover {
  background: rgba(5, 150, 105, 0.28);
  color: #ffffff;
}

.provider-tag--gold {
  background: rgba(120, 53, 15, 0.18);
  border-color: rgba(245, 158, 11, 0.30);
  color: #fbbf24;
  font-size: 0.9rem;
}
.provider-tag--gold:hover {
  background: rgba(120, 53, 15, 0.35);
  color: #fef3c7;
}

.provider-tag--sm {
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  color: #a7f3d0;
}

/* ============================================================
   FAQ ACCORDION
============================================================ */
.faq-item {
  background: rgba(21, 32, 24, 0.80);
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.40);
}

.faq-question {
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* ============================================================
   TABLE SCROLL WRAPPERS
============================================================ */
.prose-table-scroll,
.home-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.prose-casino .prose-table-scroll {
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table,
.home-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

.home-table-scroll table {
  min-width: 42rem;
}

.prose-table-scroll table {
  min-width: 18rem;
}

/* ============================================================
   PROSE STYLING (single pages)
============================================================ */
.prose-casino {
  color: #d1fae5;
  max-width: 72ch;
  line-height: 1.75;
  font-size: 1rem;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.25;
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; color: #34d399; }
.prose-casino h3 { font-size: 1.2rem; color: #fbbf24; }

.prose-casino p {
  margin-bottom: 1.25em;
  color: #a7f3d0;
}

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

.prose-casino a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.prose-casino a:hover {
  color: #fbbf24;
}

.prose-casino ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}
.prose-casino ul li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 0.5em;
  color: #a7f3d0;
}
.prose-casino ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-size: 0.75rem;
  top: 0.25em;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: #a7f3d0;
}
.prose-casino ol li {
  margin-bottom: 0.5em;
}

.prose-casino blockquote {
  border-left: 4px solid #059669;
  padding-left: 1em;
  color: #6ee7b7;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(5, 150, 105, 0.25);
  margin: 2em 0;
}

.prose-casino code {
  background: rgba(5, 150, 105, 0.15);
  color: #34d399;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino pre {
  background: rgba(6, 9, 8, 0.80);
  border: 1px solid rgba(5, 150, 105, 0.20);
  border-radius: 0.5rem;
  padding: 1.25em;
  overflow-x: auto;
  margin-bottom: 1.5em;
}
.prose-casino pre code {
  background: none;
  padding: 0;
  color: #a7f3d0;
}

/* Tables inside prose -->
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1.5em;
}
.prose-casino thead {
  background: rgba(6, 78, 59, 0.60);
}
.prose-casino th {
  text-align: left;
  padding: 0.65em 1em;
  color: #34d399;
  font-weight: 700;
}
.prose-casino td {
  padding: 0.65em 1em;
  border-top: 1px solid rgba(5, 150, 105, 0.15);
  color: #d1fae5;
}
.prose-casino tr:nth-child(even) td {
  background: rgba(21, 32, 24, 0.40);
}

/* ============================================================
   SCROLLBAR STYLING
============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #060908;
}
::-webkit-scrollbar-thumb {
  background: #064e3b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

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

/* ============================================================
   UTILITY
============================================================ */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (max-width: 640px) {
  .bonus-badge {
    padding: 1.25rem 1.5rem;
  }

  .provider-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }

  .prose-casino h1 { font-size: 1.6rem; }
  .prose-casino h2 { font-size: 1.25rem; }

  .home-table-scroll {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .home-table-scroll th,
  .home-table-scroll td {
    padding: 0.875rem 1rem;
    white-space: nowrap;
  }

  .prose-table-scroll th,
  .prose-table-scroll td {
    padding: 0.625rem 0.875rem;
    white-space: nowrap;
  }
}

/* ============================================================
   HEADER / NAV TRANSITION
============================================================ */
#site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================================
   GLOW DECORATION
============================================================ */
.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.30);
}
.glow-gold {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.30);
}
