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

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

body {
  overflow-x: hidden;
  background-color: #0a0d1a;
  color: #e2e8f0;
}

/* ─── SCROLLABLE TABLES ─────────────────────────────────── */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.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: #cbd5e1;
  line-height: 1.75;
  font-size: 1rem;
  max-width: none;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #f0d080;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.6em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; }
.prose-casino h3 { font-size: 1.2rem; }
.prose-casino h4 { font-size: 1rem; }

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

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

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

.prose-casino ul,
.prose-casino ol {
  margin: 0.75em 0 1em 1.25em;
  padding: 0;
}

.prose-casino li {
  margin-bottom: 0.4em;
  color: #cbd5e1;
}

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

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

.prose-casino code {
  background: #1a2744;
  color: #f0d080;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino pre {
  background: #111827;
  border: 1px solid #1a5fa8;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}

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

.prose-casino th {
  background: rgba(15,52,96,0.7);
  color: #c9a84c;
  font-weight: 700;
  text-align: left;
  padding: 0.6em 0.9em;
  border-bottom: 1px solid rgba(30,80,150,0.4);
}

.prose-casino td {
  padding: 0.55em 0.9em;
  border-bottom: 1px solid rgba(30,80,150,0.2);
  color: #cbd5e1;
}

.prose-casino tr:nth-child(even) td {
  background: rgba(26,39,68,0.4);
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(30,80,150,0.3);
  margin: 2em 0;
}

/* ─── HERO ──────────────────────────────────────────────── */
.world-map-overlay {
  background-image: radial-gradient(ellipse at center, rgba(79,195,247,0.05) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cellipse cx='300' cy='150' rx='280' ry='130' stroke='%234fc3f7' stroke-width='0.5' fill='none' opacity='0.15'/%3E%3Cellipse cx='300' cy='150' rx='200' ry='130' stroke='%234fc3f7' stroke-width='0.5' fill='none' opacity='0.1'/%3E%3Cline x1='20' y1='150' x2='580' y2='150' stroke='%234fc3f7' stroke-width='0.3' opacity='0.15'/%3E%3Cline x1='300' y1='20' x2='300' y2='280' stroke='%234fc3f7' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(201,168,76,0.3) 0%, rgba(15,52,96,0.8) 100%);
  box-shadow: 0 0 40px rgba(201,168,76,0.2), 0 0 80px rgba(15,52,96,0.4);
  animation: bonusPulse 3s ease-in-out infinite;
}

@keyframes bonusPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(201,168,76,0.2), 0 0 80px rgba(15,52,96,0.4); }
  50% { box-shadow: 0 0 60px rgba(201,168,76,0.4), 0 0 100px rgba(15,52,96,0.6); }
}

/* ─── PAYMENTS TABLE ────────────────────────────────────── */
.payments-table th,
.payments-table td {
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 767px) {
  .payments-table thead {
    display: none;
  }

  .payments-table,
  .payments-table tbody,
  .payments-table tr,
  .payments-table td {
    display: block;
    width: 100%;
  }

  .payments-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .payments-table tr {
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 52, 96, 0.45);
    overflow: hidden;
  }

  .payments-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(15, 52, 96, 0.25);
    text-align: right;
  }

  .payments-table td:last-child {
    border-bottom: none;
  }

  .payments-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #c9a84c;
    text-align: left;
    flex-shrink: 0;
    max-width: 45%;
  }

  .payments-table td.payment-method {
    justify-content: flex-start;
    font-size: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(15, 52, 96, 0.4);
  }

  .payments-table td.payment-method::before {
    display: none;
  }
}

@media (min-width: 768px) {
  .payments-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .payments-table {
    min-width: 640px;
  }
}

/* ─── PAYMENT ICONS ─────────────────────────────────────── */
.payment-icon-card {
  width: 64px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(26,39,68,0.6);
  border: 1px solid rgba(15,52,96,0.4);
  transition: all 0.2s ease;
}

.payment-icon-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-2px);
}

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

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ─── REVIEW BLOCKS ─────────────────────────────────────── */
.review-block {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-block:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.4);
}

/* ─── PROVIDER WORD CLOUD ───────────────────────────────── */
.provider-cloud {
  line-height: 1.6;
}

.provider-tag {
  display: inline-block;
  color: rgba(226,232,240,0.7);
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: default;
  padding: 0.1em 0.2em;
}

.provider-tag:nth-child(odd) { color: rgba(201,168,76,0.8); }
.provider-tag:nth-child(3n) { color: rgba(79,195,247,0.7); }
.provider-tag:nth-child(5n) { color: rgba(226,232,240,0.9); }

.provider-tag:hover {
  color: #f0d080;
  transform: scale(1.1);
}

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

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.step-badge {
  position: relative;
  z-index: 1;
}

/* ─── GAMES MARQUEE ─────────────────────────────────────── */
.games-marquee-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.games-marquee {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

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

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

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-item {
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(201,168,76,0.3);
}

.faq-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.faq-answer {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── NAV LINK ACTIVE ───────────────────────────────────── */
.nav-link.active,
.nav-link:focus {
  color: #f0d080;
  background: rgba(15,52,96,0.5);
}

/* ─── STICKY HEADER SCROLL ──────────────────────────────── */
#site-header {
  will-change: transform;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─── PARALLAX HERO ─────────────────────────────────────── */
@media (min-width: 768px) {
  #hero .parallax-bg {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* ─── UTILITY ───────────────────────────────────────────── */
.text-shadow-gold {
  text-shadow: 0 0 20px rgba(201,168,76,0.5);
}

.shimmer {
  background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.08) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 640px) {
  .games-marquee {
    animation-duration: 20s;
  }

  .bonus-badge {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
}

/* ─── LANG DROPDOWN ─────────────────────────────────────── */
.lang-dropdown {
  z-index: 9999;
}

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

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

::-webkit-scrollbar-thumb {
  background: #1a5fa8;
  border-radius: 2px;
}

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