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

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

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

/* =====================
   Rune Pattern Overlay
===================== */
.rune-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.08) 0,
    rgba(212, 175, 55, 0.08) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 30px 30px;
}

/* =====================
   Prose Casino
===================== */
.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
}

.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #D4AF37;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose-casino p {
  margin-bottom: 1em;
}

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

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

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

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

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

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

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

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

.prose-casino table th {
  background-color: #1A3A6E;
  color: #F0D060;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.prose-casino table td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid rgba(26, 58, 110, 0.5);
  color: #d1d5db;
}

.prose-casino table tr:hover td {
  background-color: rgba(26, 58, 110, 0.2);
}

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

/* =====================
   Provider Tags
===================== */
.provider-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background-color: rgba(26, 58, 110, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0.375rem;
  line-height: 1.4;
  transition: background-color 0.2s, border-color 0.2s;
}

.provider-tag:hover {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.6);
}

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

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
}

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

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

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

/* =====================
   Parallax hint
===================== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* =====================
   Scroll indicator pulse
===================== */
@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%       { transform: translateY(-10px) translateX(-50%); }
}

/* =====================
   FAQ icon transition
===================== */
#faq-container .fa-circle {
  transition: transform 0.25s ease;
}

/* =====================
   Gradient text utility
===================== */
.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F0D060 50%, #A07820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   Glow effect on gold elements
===================== */
.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

/* =====================
   Mobile-friendly tables
===================== */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

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

/* =====================
   Hero min-height
===================== */
.hero-section {
  min-height: 100svh;
}

/* =====================
   Responsive typography
===================== */
@media (max-width: 640px) {
  .font-display {
    word-break: break-word;
  }
}

/* =====================
   Focus visible
===================== */
:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
