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

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

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

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

@keyframes neon-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(0, 245, 255, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 40px rgba(0, 245, 255, 0.8), 0 0 60px rgba(180, 79, 255, 0.4); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes parallax-bg {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-30px); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

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

/* =============================================
   PARALLAX
   ============================================= */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* =============================================
   NEON EFFECTS
   ============================================= */
.neon-text-cyan {
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 20px rgba(0, 245, 255, 0.5);
}

.neon-text-violet {
  color: #b44fff;
  text-shadow: 0 0 10px rgba(180, 79, 255, 0.8), 0 0 20px rgba(180, 79, 255, 0.5);
}

.neon-border-cyan {
  border-color: #00f5ff;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3), inset 0 0 15px rgba(0, 245, 255, 0.05);
}

.neon-border-violet {
  border-color: #b44fff;
  box-shadow: 0 0 15px rgba(180, 79, 255, 0.3), inset 0 0 15px rgba(180, 79, 255, 0.05);
}

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

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-primary:hover::before {
  left: 100%;
}

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

.game-card:hover {
  box-shadow: 0 8px 40px rgba(0, 245, 255, 0.2);
}

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

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

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

/* =============================================
   PROVIDER TAGS
   ============================================= */
.provider-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: default;
  line-height: 1.8;
}

.provider-tag:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: rgba(0, 245, 255, 0.3);
  transform: scale(1.05);
}

/* =============================================
   TABLE SCROLLING
   ============================================= */
.overflow-x-auto {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.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 STYLING
   ============================================= */
.prose-casino {
  color: #c0c0d8;
  line-height: 1.8;
  font-size: 1rem;
  max-width: none;
}

.prose-casino h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #00f5ff, #b44fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose-casino h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 245, 255, 0.2);
  padding-bottom: 0.5rem;
}

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

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

.prose-casino a {
  color: #00f5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

.prose-casino ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #9999bb;
}

.prose-casino ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f5ff, #b44fff);
}

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

.prose-casino ol li {
  color: #9999bb;
  margin-bottom: 0.5rem;
}

.prose-casino blockquote {
  border-left: 4px solid #00f5ff;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #8888aa;
  font-style: italic;
  background: rgba(0, 245, 255, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1rem 1rem 1.5rem;
}

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

.prose-casino table th {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(0, 245, 255, 0.3);
}

.prose-casino table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9999bb;
}

.prose-casino table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

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

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

.prose-casino code {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
  padding: 0.2em 0.5em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

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

::-webkit-scrollbar-track {
  background: #0a0a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f5ff, #b44fff);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b44fff;
}

/* =============================================
   FOCUS / ACCESSIBILITY
   ============================================= */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #00f5ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
@media (max-width: 640px) {
  .prose-casino h1 {
    font-size: 1.75rem;
  }
  .prose-casino h2 {
    font-size: 1.4rem;
  }
  .prose-casino h3 {
    font-size: 1.1rem;
  }
}

/* =============================================
   STICKY HEADER SHADOW
   ============================================= */
header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =============================================
   NEON GRID BACKGROUND PATTERN
   ============================================= */
.neon-grid-bg {
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =============================================
   LIGHT TRAIL EFFECT
   ============================================= */
.light-trail {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, transparent, #00f5ff, transparent);
  animation: float 3s ease-in-out infinite;
  opacity: 0.4;
}

.light-trail:nth-child(2) {
  animation-delay: 1s;
  background: linear-gradient(180deg, transparent, #b44fff, transparent);
}

.light-trail:nth-child(3) {
  animation-delay: 2s;
  background: linear-gradient(180deg, transparent, #ff2d9b, transparent);
}
