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

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

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

/* ========== NEON GLOW EFFECTS ========== */
.bonus-badge-glow {
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.3), 0 0 60px rgba(168, 85, 247, 0.2), inset 0 0 30px rgba(0, 245, 255, 0.05);
}

.cta-primary {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta-primary:hover {
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ========== HERO BACKGROUND ========== */
.hero-bg {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes pulse-slow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

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

@keyframes neon-pulse {
  0%, 100% { text-shadow: 0 0 5px rgba(0, 245, 255, 0.8), 0 0 15px rgba(0, 245, 255, 0.5); }
  50% { text-shadow: 0 0 10px rgba(0, 245, 255, 1), 0 0 30px rgba(0, 245, 255, 0.8), 0 0 50px rgba(168, 85, 247, 0.5); }
}

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

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

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

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

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

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

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

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px 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);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

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

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 245, 255, 0.15);
}

/* ========== NEON BORDER GLOW ========== */
.neon-border-cyan {
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.3), 0 0 15px rgba(0, 245, 255, 0.1);
}

.neon-border-violet {
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.3), 0 0 15px rgba(168, 85, 247, 0.1);
}

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

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

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

/* ========== TABLE SCROLL ========== */
.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: #d1d5db;
  max-width: 100%;
  line-height: 1.8;
}

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

.prose-casino h2 {
  color: #00f5ff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  padding-bottom: 0.5rem;
}

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

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

.prose-casino a {
  color: #00f5ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 255, 0.3);
}

.prose-casino a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

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

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

.prose-casino ul li::marker {
  color: #00f5ff;
}

.prose-casino ol li::marker {
  color: #a855f7;
}

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

.prose-casino em {
  color: #fbbf24;
}

.prose-casino blockquote {
  border-left: 3px solid #a855f7;
  padding-left: 1rem;
  color: #6b7280;
  font-style: italic;
  margin: 1.5rem 0;
}

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

.prose-casino th {
  background: rgba(168, 85, 247, 0.15);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.prose-casino td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  color: #9ca3af;
}

.prose-casino tr:hover td {
  background: rgba(15, 15, 46, 0.5);
}

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

.prose-casino hr {
  border-color: rgba(168, 85, 247, 0.2);
  margin: 2rem 0;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.5);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 245, 255, 0.7);
}

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

/* ========== PARALLAX HELPER ========== */
.parallax-layer {
  will-change: transform;
}

/* ========== SVG PATTERN BACKGROUND ========== */
.pattern-grid {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3Cpath d='M0 0h1v40H0zM39 0h1v40h-1zM0 0h40v1H0zM0 39h40v1H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
