html {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  word-break: break-word;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #071a10;
  color: #f0e8d0;
  overflow-x: hidden;
}

/* ===========================
   PROSE STYLING
=========================== */
.prose-casino {
  color: #f0e8d0;
  max-width: 65ch;
  line-height: 1.75;
}

.prose-casino h1 {
  color: #c9a84c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.prose-casino h2 {
  color: #c9a84c;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}

.prose-casino h3 {
  color: #e8c96a;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  color: #a89870;
}

.prose-casino a {
  color: #c9a84c;
  text-decoration: underline;
}

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

.prose-casino ul, .prose-casino ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #a89870;
}

.prose-casino ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.prose-casino ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
}

.prose-casino strong {
  color: #f0e8d0;
  font-weight: 600;
}

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

.prose-casino code {
  background-color: #0f3520;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #e8c96a;
}

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

.prose-casino table th {
  background-color: #0f3520;
  color: #c9a84c;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #156b42;
}

.prose-casino table td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #156b42;
  color: #a89870;
}

.prose-casino table tr:hover td {
  background-color: #164530;
}

/* 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 PARALLAX
=========================== */
.hero-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

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

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

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3), 0 0 40px rgba(201, 168, 76, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.6), 0 0 60px rgba(201, 168, 76, 0.3);
  }
}

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

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.25);
}

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

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

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

.cta-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 150%; }
}

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

.marquee-content {
  display: inline-block;
  animation: marquee-scroll 25s linear infinite;
}

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

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

/* ===========================
   SPARKLES
=========================== */
.sparkles-container::before,
.sparkles-container::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e8c96a;
  animation: float-sparkle 4s ease-in-out infinite;
}

.sparkles-container::before {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.sparkles-container::after {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

@keyframes float-sparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  50% { opacity: 1; transform: translateY(-20px) scale(1.5); }
}

/* ===========================
   PROVIDER TAGS CLOUD
=========================== */
.provider-tag {
  display: inline-block;
  font-size: 0.7rem;
}

.provider-tag:nth-child(3n) { font-size: 0.8rem; }
.provider-tag:nth-child(5n) { font-size: 0.65rem; }
.provider-tag:nth-child(7n) { font-size: 0.9rem; }

/* ===========================
   HEADER SHADOW
=========================== */
#main-header {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

::-webkit-scrollbar-track {
  background: #071a10;
}

::-webkit-scrollbar-thumb {
  background: #156b42;
  border-radius: 4px;
}

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

/* ===========================
   TABLE OVERFLOW (global)
=========================== */
.overflow-x-auto table {
  min-width: 500px;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
=========================== */
@media (max-width: 640px) {
  .bonus-badge {
    padding: 1.25rem;
  }
}
