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

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

/* ===== PROSE CASINO STYLES ===== */
.prose-casino {
  color: #C8D8E8;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.75;
}

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

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; border-bottom: 1px solid rgba(0,200,224,0.2); padding-bottom: 0.4em; }
.prose-casino h3 { font-size: 1.25rem; color: #00C8E0; }

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

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

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

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

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

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
  color: #A8B8C8;
}

.prose-casino li {
  margin-bottom: 0.4em;
}

.prose-casino ul li::marker { color: #00C8E0; }
.prose-casino ol li::marker { color: #00C8E0; font-weight: 700; }

.prose-casino blockquote {
  border-left: 4px solid #00C8E0;
  padding-left: 1.25em;
  margin: 1.5em 0;
  color: #C8D8E8;
  font-style: italic;
  background: rgba(0,200,224,0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1em 1.25em;
}

.prose-casino code {
  background: rgba(0,200,224,0.1);
  color: #00C8E0;
  padding: 0.15em 0.4em;
  border-radius: 0.25em;
  font-size: 0.875em;
}

.prose-casino pre {
  background: #1A2332;
  border: 1px solid rgba(0,200,224,0.2);
  border-radius: 0.75em;
  padding: 1.25em;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.prose-casino pre code {
  background: transparent;
  color: #E8F4F8;
  padding: 0;
}

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

.prose-casino thead th {
  background: rgba(0,200,224,0.1);
  color: #00C8E0;
  font-weight: 700;
  text-align: left;
  padding: 0.75em 1em;
  border-bottom: 2px solid rgba(0,200,224,0.3);
}

.prose-casino tbody td {
  padding: 0.65em 1em;
  border-bottom: 1px solid rgba(0,200,224,0.1);
  color: #A8B8C8;
}

.prose-casino tbody tr:hover td {
  background: rgba(0,200,224,0.04);
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(0,200,224,0.2);
  margin: 2em 0;
}

.prose-casino img {
  border-radius: 0.75em;
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  display: block;
}

/* Prose 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 {
  transform: scale(1.05);
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-section {
  min-height: 100vh;
  position: relative;
}

.bonus-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 224, 0); }
  50% { transform: scale(1.02); box-shadow: 0 0 30px 10px rgba(0, 200, 224, 0.1); }
}

/* ===== SCROLL DOT ANIMATION ===== */
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

/* ===== MARQUEE ANIMATION ===== */
.marquee-wrapper {
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

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

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

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

/* ===== PARALLAX ===== */
.parallax-hero {
  will-change: transform;
  transition: transform 0.05s linear;
}

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

.game-card img {
  will-change: transform;
}

/* ===== REVIEW BLOCKS ===== */
.review-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 200, 224, 0.1);
}

/* ===== PROVIDER WORD CLOUD ===== */
.provider-tag {
  display: inline-block;
  padding: 0.25em 0.6em;
  border-radius: 0.4em;
  transition: all 0.2s ease;
  cursor: default;
  background: rgba(0, 200, 224, 0.05);
  border: 1px solid rgba(0, 200, 224, 0.1);
}

.provider-tag:hover {
  background: rgba(0, 200, 224, 0.1);
  border-color: rgba(0, 200, 224, 0.3);
  transform: scale(1.05);
}

/* ===== FAQ ===== */
.faq-answer {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-trigger[aria-expanded="true"] .fas.fa-circle::before {
  content: "\f057";
}

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

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

.cta-primary:hover::after {
  opacity: 1;
}

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

/* ===== PROMO CARDS ===== */
.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ===== STEP CARDS ===== */
.step-card {
  transition: transform 0.3s ease;
}

/* ===== GLOW EFFECTS ===== */
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.glow-primary {
  animation: glowPulse 3s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
  background: #1A2332;
}

::-webkit-scrollbar-thumb {
  background: #00C8E0;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #33D6EA;
}

/* ===== FOCUS STYLES ===== */
*:focus-visible {
  outline: 2px solid #00C8E0;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(0, 200, 224, 0.3);
  color: #E8F4F8;
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 1023px) {
  #mobile-menu a {
    transition: all 0.15s ease;
  }
}

/* ===== FROST PATTERN OVERLAY ===== */
.frost-overlay {
  background: linear-gradient(135deg, rgba(0,200,224,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== PAYMENT TABLE ===== */
.payments-section table {
  border-collapse: separate;
  border-spacing: 0;
}

.payments-section thead tr th:first-child { border-top-left-radius: 0.75rem; }
.payments-section thead tr th:last-child { border-top-right-radius: 0.75rem; }

/* ===== ANIMATION DELAYS ===== */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ===== FADE IN ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .bonus-badge {
    padding: 1rem;
  }

  .promo-card {
    margin-bottom: 0;
  }
}

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