/* =============================================================
   MegaFishWins – Custom CSS
   Neon Catch Theme: Electric Cyan + Violet on Dark Ocean
   ============================================================= */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #020b18;
  color: #f1f5f9;
}

/* ── Max-width container ── */
.max-w-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Neon Text ── */
.neon-text {
  text-shadow: 0 0 8px #00f5ff, 0 0 20px #00f5ff66;
}
.neon-text-violet {
  text-shadow: 0 0 8px #bf00ff, 0 0 20px #bf00ff66;
}

/* ── Button: Neon Cyan ── */
.btn-neon {
  display: inline-block;
  background: linear-gradient(135deg, #00f5ff 0%, #0891b2 100%);
  color: #020b18;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px #00f5ff55, 0 4px 15px rgba(0,0,0,0.4);
  letter-spacing: 0.05em;
  text-align: center;
}
.btn-neon:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  box-shadow: 0 0 30px #00f5ff88, 0 6px 20px rgba(0,0,0,0.5);
  transform: translateY(-2px);
  color: #020b18;
}

/* ── Button: Outline ── */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #22d3ee;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #22d3ee;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-outline:hover {
  background: #22d3ee22;
  box-shadow: 0 0 20px #22d3ee44;
  transform: translateY(-2px);
}

/* ── Button: Violet ── */
.btn-violet {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px #8b5cf655;
  text-align: center;
}
.btn-violet:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  box-shadow: 0 0 25px #8b5cf688;
  transform: translateY(-2px);
}

/* ── Hero ── */
.hero-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}
.hero-parallax .hero-bg {
  transform: scale(1.08);
}

/* ── Bonus Badge ── */
.bonus-badge {
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px #00f5ff44, 0 0 40px #00f5ff22; }
  50%       { box-shadow: 0 0 40px #00f5ff88, 0 0 80px #bf00ff33; }
}

/* ── Particles ── */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: floatUp 8s ease-in-out infinite;
  pointer-events: none;
}
.particle-1 { width: 6px; height: 6px; background: #00f5ff; left: 15%; bottom: 20%; animation-delay: 0s; }
.particle-2 { width: 4px; height: 4px; background: #bf00ff; left: 35%; bottom: 10%; animation-delay: 1.5s; }
.particle-3 { width: 8px; height: 8px; background: #22d3ee; left: 60%; bottom: 30%; animation-delay: 3s; }
.particle-4 { width: 5px; height: 5px; background: #a78bfa; left: 75%; bottom: 15%; animation-delay: 4.5s; }
.particle-5 { width: 6px; height: 6px; background: #00f5ff; left: 90%; bottom: 25%; animation-delay: 6s; }
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1); opacity: 0.4; }
  50%  { transform: translateY(-80px) scale(1.2); opacity: 0.7; }
  100% { transform: translateY(-160px) scale(0.8); opacity: 0; }
}

/* ── Game Cards ── */
.games-grid-wrap {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.games-grid {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-bottom: 0.25rem;
}

.games-grid .game-card {
  flex: 0 0 10.5rem;
  width: 10.5rem;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .games-grid-wrap {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 1rem;
    padding-bottom: 0;
  }

  .games-grid .game-card {
    flex: unset;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.game-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #0a2847;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.game-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #041224;
  transition: transform 0.4s ease;
}
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2,11,24,0.98) 0%, rgba(2,11,24,0.75) 55%, transparent 100%);
  padding: 0.75rem 0.5rem 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(0);
}
.game-card-title {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}
.game-card-btn {
  display: inline-block;
  background: linear-gradient(135deg, #00f5ff, #0891b2);
  color: #020b18;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.game-card-btn:hover {
  box-shadow: 0 0 12px #00f5ff88;
}

@media (min-width: 768px) and (hover: hover) {
  .game-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 25px #00f5ff44, 0 10px 30px rgba(0,0,0,0.6);
    border-color: #00f5ff66;
  }
  .game-card:hover .game-card-img {
    transform: scale(1.08);
  }
  .game-card-overlay {
    padding: 1rem 0.75rem 0.75rem;
    transform: translateY(40%);
    transition: transform 0.3s ease;
  }
  .game-card:hover .game-card-overlay {
    transform: translateY(0);
  }
  .game-card-title {
    font-size: 0.75rem;
  }
}

/* ── Step Cards ── */
.step-card {
  position: relative;
  background: #041224;
  border: 1px solid #0a2847;
  border-radius: 1.25rem;
  overflow: visible;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: 1rem;
}
.step-card:hover {
  border-color: #22d3ee66;
  box-shadow: 0 0 20px #22d3ee22;
}
.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f5ff, #0891b2);
  color: #020b18;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #00f5ff88;
  z-index: 10;
}

/* ── Promo Cards ── */
.promo-card {
  background: #041224;
  border: 1px solid #0a2847;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  border-color: #8b5cf666;
  box-shadow: 0 0 20px #8b5cf622;
}
.promo-card-featured {
  border-color: #22d3ee55;
  background: linear-gradient(135deg, #041224 0%, #071d36 100%);
  box-shadow: 0 0 15px #22d3ee22;
}
.promo-icon {
  margin-bottom: 1rem;
}

/* ── Review Blocks ── */
.review-block {
  background: #041224;
  border: 1px solid #0a2847;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: border-color 0.3s ease;
}
.review-block:hover {
  border-color: #22d3ee44;
}

/* ── Provider Word Cloud ── */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.provider-tag {
  background: #071d36;
  border: 1px solid #0a2847;
  border-radius: 9999px;
  color: #94a3b8;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: default;
  white-space: nowrap;
}
.provider-tag:hover {
  background: #0a2847;
  border-color: #22d3ee66;
  color: #22d3ee;
}
.provider-tag.provider-sm  { font-size: 0.7rem;  padding: 0.25rem 0.7rem; }
.provider-tag.provider-md  { font-size: 0.85rem; padding: 0.3rem 0.9rem; }
.provider-tag.provider-lg  { font-size: 1rem;    padding: 0.4rem 1.1rem; color: #e2e8f0; }

/* ── FAQ ── */
.faq-item {
  background: #041224;
  border: 1px solid #0a2847;
  border-radius: 0.875rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover {
  border-color: #22d3ee44;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: #22d3ee;
}
.faq-question.active {
  color: #22d3ee;
}
.faq-icon {
  font-size: 0.5rem;
  color: #22d3ee;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-question.active .faq-icon {
  transform: rotate(90deg);
}
.faq-answer {
  padding: 0 1.25rem 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Prose Styling ── */
.prose-casino {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  word-break: break-word;
}
.prose-casino h1 { color: #22d3ee; font-size: 2rem; font-weight: 900; margin: 1.5rem 0 1rem; }
.prose-casino h2 { color: #a78bfa; font-size: 1.5rem; font-weight: 800; margin: 1.5rem 0 0.75rem; }
.prose-casino h3 { color: #22d3ee; font-size: 1.2rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
.prose-casino p  { margin: 0.75rem 0; }
.prose-casino a  { color: #22d3ee; text-decoration: underline; transition: color 0.2s; }
.prose-casino a:hover { color: #00f5ff; }
.prose-casino ul, .prose-casino ol { padding-left: 1.5rem; margin: 0.75rem 0; }
.prose-casino li { margin: 0.4rem 0; }
.prose-casino strong { color: #f1f5f9; font-weight: 700; }
.prose-casino em    { color: #a78bfa; }
.prose-casino blockquote {
  border-left: 3px solid #22d3ee;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  background: #041224;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #94a3b8;
}
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.prose-casino th {
  background: #071d36;
  color: #22d3ee;
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid #0a2847;
}
.prose-casino td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #0a2847;
  color: #94a3b8;
}
.prose-casino tr:nth-child(even) td { background: #041224; }
.prose-casino tr:nth-child(odd) td  { background: #020b18; }

/* ── Table Scroll Wrapper ── */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}
.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #020b18; }
::-webkit-scrollbar-thumb { background: #0a2847; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #22d3ee55; }

/* ── Responsive Tables (general) ── */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* ── Header responsive nav ── */
.header-desktop-only {
  display: none;
}
.header-mobile-only {
  display: flex;
}
@media (min-width: 1024px) {
  .header-desktop-only {
    display: flex;
  }
  .header-mobile-only {
    display: none !important;
  }
  #mobile-menu {
    display: none !important;
  }
}

/* ── Utilities ── */
