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

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

/* =========================================
   PROSE CASINO STYLES
   ========================================= */
.prose-casino {
  color: #d1d5db;
  max-width: none;
  line-height: 1.8;
}

.prose-casino h1 {
  color: #D4AF37;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.prose-casino h2 {
  color: #D4AF37;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 82, 186, 0.3);
  padding-bottom: 0.5rem;
}

.prose-casino h3 {
  color: #E5E4E2;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-casino h4 {
  color: #E5E4E2;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose-casino a {
  color: #D4AF37;
  text-decoration: underline;
  transition: color 0.2s;
}

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

.prose-casino ul {
  list-style: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.prose-casino li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.prose-casino blockquote {
  border-left: 4px solid #D4AF37;
  padding-left: 1rem;
  color: #9ca3af;
  font-style: italic;
  margin: 1.5rem 0;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.prose-casino thead tr {
  background-color: rgba(15, 82, 186, 0.3);
}

.prose-casino th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: #D4AF37;
  font-weight: 600;
  border: 1px solid rgba(15, 82, 186, 0.3);
}

.prose-casino td {
  padding: 0.75rem 1rem;
  color: #d1d5db;
  border: 1px solid rgba(15, 82, 186, 0.2);
}

.prose-casino tbody tr:hover {
  background-color: rgba(15, 82, 186, 0.1);
}

.prose-casino code {
  background: rgba(15, 82, 186, 0.2);
  color: #D4AF37;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino pre {
  background: #060B14;
  border: 1px solid rgba(15, 82, 186, 0.3);
  border-radius: 0.5rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

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

/* 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;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-bg {
  background-color: #0A0F1E;
}

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

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), 0 0 40px rgba(212, 175, 55, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(212, 175, 55, 0.2); }
}

/* =========================================
   CTA BUTTONS
   ========================================= */
.cta-primary {
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -60%; }
  100% { left: 120%; }
}

/* =========================================
   PARTICLES
   ========================================= */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.15;
}

.particle-1 {
  width: 8px; height: 8px;
  background: #D4AF37;
  left: 10%; top: 20%;
  animation-duration: 12s;
}

.particle-2 {
  width: 5px; height: 5px;
  background: #0F52BA;
  left: 80%; top: 40%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.particle-3 {
  width: 10px; height: 10px;
  background: #E5E4E2;
  left: 50%; top: 70%;
  animation-duration: 15s;
  animation-delay: -8s;
}

.particle-4 {
  width: 6px; height: 6px;
  background: #D4AF37;
  left: 25%; top: 85%;
  animation-duration: 20s;
  animation-delay: -3s;
}

.particle-5 {
  width: 4px; height: 4px;
  background: #0F52BA;
  left: 65%; top: 15%;
  animation-duration: 14s;
  animation-delay: -10s;
}

@keyframes floatParticle {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.15; }
  25% { transform: translateY(-30px) translateX(15px) rotate(90deg); opacity: 0.3; }
  50% { transform: translateY(-60px) translateX(-10px) rotate(180deg); opacity: 0.15; }
  75% { transform: translateY(-30px) translateX(20px) rotate(270deg); opacity: 0.25; }
  100% { transform: translateY(0px) translateX(0px) rotate(360deg); opacity: 0.15; }
}

/* =========================================
   MARQUEE ANIMATION
   ========================================= */
.marquee-track {
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

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

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

/* =========================================
   REVIEW TABS
   ========================================= */
.review-tab {
  background: rgba(15, 82, 186, 0.15);
  border: 1px solid rgba(15, 82, 186, 0.3);
  color: #9ca3af;
}

.review-tab:hover {
  background: rgba(15, 82, 186, 0.3);
  color: #e5e7eb;
}

.review-tab.active-tab {
  background: linear-gradient(135deg, #0F52BA, #1E3A5F);
  border-color: #D4AF37;
  color: #D4AF37;
  box-shadow: 0 4px 15px rgba(15, 82, 186, 0.3);
}

/* =========================================
   PROVIDER CLOUD
   ========================================= */
.provider-tag {
  background: rgba(15, 82, 186, 0.15);
  border: 1px solid rgba(15, 82, 186, 0.3);
  color: #d1d5db;
  transition: all 0.25s ease;
}

.provider-tag:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
  color: #D4AF37;
  transform: translateY(-2px);
}

/* Randomize some provider tag sizes for word-cloud feel */
.provider-tag:nth-child(3n) { font-size: 0.95rem; }
.provider-tag:nth-child(3n+1) { font-size: 0.82rem; }
.provider-tag:nth-child(2n) { font-size: 1.05rem; }

/* =========================================
   GAME CARDS
   ========================================= */
.game-card {
  cursor: pointer;
}

/* =========================================
   PROMO CARDS
   ========================================= */
.promo-card {
  position: relative;
}

/* =========================================
   STEP CARDS
   ========================================= */
.step-card {
  position: relative;
}

/* =========================================
   FAQ ITEMS
   ========================================= */
.faq-item {
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(15, 82, 186, 0.15);
}

/* =========================================
   PARALLAX EFFECT (CSS-based)
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
  .parallax-layer {
    will-change: transform;
  }
}

/* =========================================
   SCROLLBAR STYLES
   ========================================= */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #060B14;
}

::-webkit-scrollbar-thumb {
  background: #1E3A5F;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0F52BA;
}

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

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

@media (max-width: 640px) {
  .prose-casino h1 { font-size: 1.6rem; }
  .prose-casino h2 { font-size: 1.3rem; }
  .prose-casino table { font-size: 0.8rem; }
}

/* =========================================
   GLOW EFFECTS
   ========================================= */
.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.glow-sapphire {
  box-shadow: 0 0 20px rgba(15, 82, 186, 0.3);
}

/* =========================================
   GRADIENT TEXT
   ========================================= */
.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   TRANSITION UTILITIES
   ========================================= */
* {
  box-sizing: border-box;
}
