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

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #050a14;
  color: #f1f5f9;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.max-w-container {
  max-width: 1440px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-bg {
  will-change: transform;
}

.data-stream-pattern {
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(0, 245, 255, 0.04) 40px,
      rgba(0, 245, 255, 0.04) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(139, 92, 246, 0.04) 40px,
      rgba(139, 92, 246, 0.04) 41px
    );
}

/* ============================================================
   PARALLAX
   ============================================================ */
@media (min-width: 1024px) {
  .hero-bg {
    background-attachment: fixed;
  }
}

/* ============================================================
   MARQUEE / TICKER ANIMATIONS
   ============================================================ */
@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

/* ============================================================
   GLOW & NEON
   ============================================================ */
.shadow-neon {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.shadow-violet {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.text-neon-cyan {
  color: #00f5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.cta-btn-secondary:hover {
  transform: translateY(-2px);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-green {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-cyan {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-yellow {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================================
   PROVIDER CLOUD
   ============================================================ */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.provider-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: default;
}

.provider-tag:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   GAME CARDS
   ============================================================ */
.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

/* ============================================================
   STEP CARDS
   ============================================================ */
.step-card {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  transition: border-color 0.2s ease;
}

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

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

.faq-answer {
  border-top: 1px solid rgba(26, 45, 74, 0.5);
}

.faq-answer p {
  color: #94a3b8;
}

/* ============================================================
   PROMO CARDS
   ============================================================ */
.promo-card {
  transition: transform 0.25s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
}

/* ============================================================
   REVIEW BLOCKS
   ============================================================ */
.review-block {
  transition: transform 0.25s ease;
}

.review-block:hover {
  transform: translateY(-3px);
}

/* ============================================================
   PROSE — Casino Content Styling
   ============================================================ */
.prose-casino {
  color: #cbd5e1;
  max-width: 100%;
  line-height: 1.75;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #f1f5f9;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 1.75em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; color: #00f5ff; }
.prose-casino h3 { font-size: 1.2rem; color: #8b5cf6; }
.prose-casino h4 { font-size: 1rem; color: #d946ef; }

.prose-casino p {
  margin-bottom: 1.1em;
  color: #cbd5e1;
}

.prose-casino a {
  color: #00f5ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 255, 0.4);
  transition: color 0.15s ease;
}

.prose-casino a:hover {
  color: #67e8f9;
}

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1em;
}

.prose-casino ul li {
  list-style-type: disc;
  color: #94a3b8;
  margin-bottom: 0.4em;
}

.prose-casino ol li {
  list-style-type: decimal;
  color: #94a3b8;
  margin-bottom: 0.4em;
}

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

.prose-casino em {
  color: #a5b4fc;
  font-style: italic;
}

.prose-casino blockquote {
  border-left: 4px solid #00f5ff;
  padding-left: 1rem;
  color: #94a3b8;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino code {
  background: rgba(0, 245, 255, 0.08);
  color: #00f5ff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose-casino pre {
  background: #0d1829;
  border: 1px solid #1a2d4a;
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.prose-casino pre code {
  background: none;
  color: #e2e8f0;
  padding: 0;
}

.prose-casino hr {
  border-color: #1a2d4a;
  margin: 2em 0;
}

/* ============================================================
   PROSE TABLE SCROLL (MANDATORY)
   ============================================================ */
.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;
}

/* Prose table base styles */
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5em 0;
}

.prose-casino thead tr {
  background: rgba(0, 245, 255, 0.06);
  border-bottom: 2px solid #1a2d4a;
}

.prose-casino thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #00f5ff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.prose-casino tbody tr {
  border-bottom: 1px solid #1a2d4a;
  transition: background 0.15s ease;
}

.prose-casino tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.prose-casino tbody td {
  padding: 0.75rem 1rem;
  color: #94a3b8;
  vertical-align: top;
}

/* Table wrapper for all tables in prose context */
.prose-casino .overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* ============================================================
   NAV ACTIVE STATE
   ============================================================ */
.nav-link.active,
.nav-link:focus-visible {
  color: #00f5ff;
  background: rgba(0, 245, 255, 0.06);
  outline: none;
}

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

::-webkit-scrollbar-track {
  background: #030710;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #00f5ff33;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes pulse-neon {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 245, 255, 0.3); }
  50%       { box-shadow: 0 0 30px rgba(0, 245, 255, 0.7); }
}

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

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

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-pulse-neon  { animation: pulse-neon 2s ease-in-out infinite; }
.animate-float       { animation: float 4s ease-in-out infinite; }
.animate-spin-slow   { animation: spin-slow 20s linear infinite; }
.animate-fade-in-up  { animation: fade-in-up 0.6s ease forwards; }

/* ============================================================
   BONUS BADGE ANIMATION
   ============================================================ */
.bonus-badge {
  animation: pulse-neon 2.5s ease-in-out infinite;
}

/* ============================================================
   BLOCKCHAIN PATTERN (decorative)
   ============================================================ */
.blockchain-dots {
  background-image: radial-gradient(circle, rgba(0,245,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 640px) {
  .prose-casino h1 { font-size: 1.6rem; }
  .prose-casino h2 { font-size: 1.25rem; }
  .prose-casino h3 { font-size: 1.05rem; }
}

/* ============================================================
   OVERFLOW TABLES — GLOBAL
   ============================================================ */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

table {
  border-collapse: collapse;
  min-width: 0;
}

/* Ensure tables inside content never break layout */
.prose-casino table,
.overflow-x-auto table {
  word-break: normal;
}
