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

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

body {
  background-color: #0d1a13;
  color: #f3f4f6;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ============================================================
   COLOR VARIABLES
============================================================ */
:root {
  --gold: #D4AF37;
  --gold-light: #F5D86B;
  --gold-dark: #A67C00;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --forge-dark: #0d1a13;
  --forge-mid: #132418;
  --forge-light: #1e3a28;
}

/* ============================================================
   BUTTON STYLES
============================================================ */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37, #F5D86B, #A67C00);
  color: #0d1a13;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  background-size: 200% 200%;
  background-position: left center;
}

.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 0 30px rgba(212,175,55,0.6);
  transform: translateY(-1px);
}

.btn-gold-sm {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37, #F5D86B);
  color: #0d1a13;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gold-sm:hover {
  background: linear-gradient(135deg, #F5D86B, #D4AF37);
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #D4AF37;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid #D4AF37;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
  transform: translateY(-1px);
}

.btn-outline {
  display: block;
  background: transparent;
  color: #34d399;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid #34d399;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(52, 211, 153, 0.1);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0d1a13 0%, #132418 50%, #1e3a28 100%);
}

.forge-pattern {
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(212,175,55,0.03) 0px,
      rgba(212,175,55,0.03) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(52,211,153,0.03) 0px,
      rgba(52,211,153,0.03) 1px,
      transparent 1px,
      transparent 40px
    );
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(13,26,19,0.95), rgba(30,58,40,0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 50px rgba(212,175,55,0.7), 0 0 80px rgba(212,175,55,0.3); }
}

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ============================================================
   STEP CARDS
============================================================ */
.step-card {
  background: linear-gradient(135deg, rgba(13,26,19,0.8), rgba(30,58,40,0.6));
  border: 1px solid rgba(212,175,55,0.2);
  position: relative;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
  pointer-events: none;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #D4AF37, #F5D86B);
  color: #0d1a13;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(212,175,55,0.5);
}

/* ============================================================
   PROMO CARDS
============================================================ */
.promo-card {
  background: linear-gradient(135deg, rgba(13,26,19,0.9), rgba(19,36,24,0.9));
  border: 1px solid rgba(52,211,153,0.2);
  transition: all 0.3s ease;
}

.promo-card:hover {
  border-color: rgba(52,211,153,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(52,211,153,0.1);
}

.promo-card-featured {
  border-color: rgba(212,175,55,0.4);
  background: linear-gradient(135deg, rgba(19,36,24,0.95), rgba(30,58,40,0.95));
  box-shadow: 0 0 30px rgba(212,175,55,0.15);
}

.promo-card-featured:hover {
  border-color: rgba(212,175,55,0.7);
  box-shadow: 0 12px 40px rgba(212,175,55,0.2);
}

/* ============================================================
   GAME CARDS
============================================================ */
.game-card {
  background: #132418;
  border: 1px solid rgba(212,175,55,0.15);
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 8px 30px rgba(212,175,55,0.2);
  transform: translateY(-3px);
}

/* ============================================================
   REVIEW BLOCKS
============================================================ */
.review-block {
  background: linear-gradient(135deg, rgba(13,26,19,0.9), rgba(19,36,24,0.9));
  border: 1px solid rgba(52,211,153,0.15);
  transition: all 0.3s ease;
}

.review-block:hover {
  border-color: rgba(52,211,153,0.35);
  box-shadow: 0 8px 30px rgba(52,211,153,0.08);
}

/* ============================================================
   WORD CLOUD (PROVIDERS)
============================================================ */
.provider-tag {
  color: var(--emerald-400);
  font-weight: 600;
  transition: color 0.2s ease;
  cursor: default;
  line-height: 1.4;
}

.provider-tag:hover {
  color: var(--gold);
}

/* ============================================================
   FAQ
============================================================ */
.faq-item {
  background: linear-gradient(135deg, rgba(13,26,19,0.9), rgba(19,36,24,0.9));
}

.faq-item:hover {
  border-color: rgba(212,175,55,0.3);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* ============================================================
   PARALLAX
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .parallax-hero {
    background-attachment: fixed;
  }
}

/* ============================================================
   MARQUEE ANIMATION
============================================================ */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

/* ============================================================
   PROSE CASINO STYLES
============================================================ */
.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
  max-width: none;
}

.prose-casino h1 {
  color: #D4AF37;
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose-casino h2 {
  color: #D4AF37;
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding-bottom: 0.4rem;
}

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

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

.prose-casino a {
  color: #34d399;
  text-decoration: underline;
  transition: color 0.2s ease;
}

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

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

.prose-casino ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.4rem;
  color: #9ca3af;
}

.prose-casino ul li::before {
  content: '►';
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-size: 0.6rem;
  top: 0.35rem;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #9ca3af;
}

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

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

.prose-casino em {
  color: #34d399;
}

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

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

.prose-casino thead tr {
  border-bottom: 2px solid rgba(212,175,55,0.4);
}

.prose-casino thead th {
  color: #D4AF37;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.prose-casino tbody tr {
  border-bottom: 1px solid rgba(30,58,40,0.8);
}

.prose-casino tbody tr:hover {
  background: rgba(30,58,40,0.5);
}

.prose-casino tbody td {
  padding: 0.5rem 0.75rem;
  color: #9ca3af;
}

.prose-casino hr {
  border-color: rgba(212,175,55,0.15);
  margin: 2rem 0;
}

.prose-casino code {
  background: rgba(30,58,40,0.6);
  color: #34d399;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}

.prose-casino pre {
  background: rgba(13,26,19,0.9);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.prose-casino pre code {
  background: none;
  padding: 0;
}

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

/* ============================================================
   INVERT PROSE (for inner page)
============================================================ */
.prose-invert {
  color: #d1d5db;
}

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

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

  .bonus-badge {
    padding: 1.25rem 1rem;
  }
}

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

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

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

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

/* ============================================================
   OVERFLOW TABLE WRAPPER (global)
============================================================ */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  min-width: 100%;
  border-collapse: collapse;
}
