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

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

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

/* =========================================
   CSS VARIABLES / DESIGN TOKENS
   ========================================= */
:root {
  --ocean-950: #010d14;
  --ocean-900: #021520;
  --ocean-800: #042233;
  --ocean-700: #063347;
  --ocean-600: #0a4a65;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --card-bg: rgba(4, 34, 51, 0.85);
  --card-border: rgba(10, 74, 101, 0.5);
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: rgba(1, 13, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 74, 101, 0.4);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.logo-text {
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--gold-400);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu {
  background: rgba(1, 13, 20, 0.98);
  border-top: 1px solid rgba(10, 74, 101, 0.4);
  backdrop-filter: blur(12px);
}

.mobile-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(10, 74, 101, 0.4);
  color: #fff;
}

.burger-btn {
  background: rgba(10, 74, 101, 0.6);
  border: 1px solid rgba(10, 74, 101, 0.8);
  cursor: pointer;
}

.burger-bar {
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-btn {
  color: #94a3b8;
  background: rgba(10, 74, 101, 0.3);
  border: 1px solid rgba(10, 74, 101, 0.5);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(10, 74, 101, 0.6);
}

.lang-dropdown {
  background: #021520;
  border: 1px solid rgba(10, 74, 101, 0.6);
  border-radius: 12px;
  z-index: 9999;
  min-width: 160px;
}

.lang-option {
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(10, 74, 101, 0.5);
  color: #fff;
}

/* =========================================
   CTA BUTTONS
   ========================================= */
.cta-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ocean-950);
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.55);
  color: var(--ocean-950);
}

.cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(10, 74, 101, 0.9);
  text-decoration: none;
  transition: all 0.2s;
}

.cta-secondary:hover {
  background: rgba(10, 74, 101, 0.4);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

.cta-promo {
  background: rgba(10, 74, 101, 0.5);
  color: var(--gold-400);
  border: 1px solid rgba(10, 74, 101, 0.8);
  text-decoration: none;
  transition: all 0.2s;
}

.cta-promo:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ocean-950);
  border-color: transparent;
}

.cta-game {
  background: var(--gold-400);
  color: var(--ocean-950);
  text-decoration: none;
  font-weight: 700;
}

/* =========================================
   HERO
   ========================================= */
.hero-section {
  position: relative;
}

.wave-overlay {
  background: radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 50%, rgba(10, 74, 101, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
  animation: waveShift 8s ease-in-out infinite alternate;
}

@keyframes waveShift {
  0% { opacity: 0.6; transform: translateY(0px); }
  100% { opacity: 1; transform: translateY(-10px); }
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(4, 34, 51, 0.92) 0%, rgba(6, 51, 71, 0.95) 100%);
  border: 2px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

/* =========================================
   STEP CARDS
   ========================================= */
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-badge {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ocean-950);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
  font-size: 1.1rem;
}

/* =========================================
   PROMO CARDS
   ========================================= */
.promo-card {
  background: linear-gradient(160deg, rgba(4, 34, 51, 0.9) 0%, rgba(6, 51, 71, 0.8) 100%);
  border: 1px solid rgba(10, 74, 101, 0.5);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

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

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

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

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

.game-card {
  background: rgba(4, 34, 51, 0.9);
  border: 1px solid rgba(10, 74, 101, 0.4);
  transition: border-color 0.3s;
  cursor: pointer;
}

.game-card:hover {
  border-color: var(--gold-400);
}

.game-card:hover .game-overlay {
  opacity: 1 !important;
  background: rgba(1, 13, 20, 0.6);
}

.game-img-wrap img {
  transition: transform 0.4s;
}

.game-card:hover .game-img-wrap img {
  transform: scale(1.05);
}

/* =========================================
   REVIEW CARDS
   ========================================= */
.review-card {
  background: linear-gradient(160deg, rgba(4, 34, 51, 0.95) 0%, rgba(6, 51, 71, 0.85) 100%);
  border: 1px solid rgba(10, 74, 101, 0.5);
}

/* =========================================
   PROVIDER CLOUD
   ========================================= */
.provider-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(10, 74, 101, 0.4);
  border: 1px solid rgba(10, 74, 101, 0.7);
  color: #cbd5e1;
  transition: all 0.2s;
  cursor: default;
}

.provider-tag:hover {
  background: rgba(10, 74, 101, 0.7);
  color: #fff;
  border-color: var(--emerald-400);
  transform: scale(1.05);
}

/* =========================================
   PAYMENT TABLE
   ========================================= */
.payment-table {
  background: rgba(4, 34, 51, 0.85);
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}

.payment-table thead tr {
  background: rgba(6, 51, 71, 0.8);
  border-bottom: 2px solid rgba(10, 74, 101, 0.6);
}

.payment-row {
  border-bottom: 1px solid rgba(10, 74, 101, 0.3);
  transition: background 0.2s;
}

.payment-row:hover {
  background: rgba(10, 74, 101, 0.2);
}

.payment-row td {
  color: #cbd5e1;
}

.payment-method-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* =========================================
   RESPONSIVE TABLES (HOME)
   ========================================= */
.prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

@media (min-width: 768px) {
  .responsive-table.bonus-table {
    min-width: 28rem;
  }

  .responsive-table.payment-table {
    min-width: 40rem;
  }
}

@media (max-width: 767px) {
  .prose-table-scroll {
    overflow-x: visible;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody tr {
    display: block;
    margin-bottom: 0.875rem;
    background: rgba(4, 34, 51, 0.85);
    border: 1px solid rgba(10, 74, 101, 0.45);
    border-radius: 0.875rem;
    overflow: hidden;
  }

  .responsive-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .responsive-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(10, 74, 101, 0.25);
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.45;
  }

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

  .responsive-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 38%;
    max-width: 38%;
    padding-right: 0.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--gold-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .responsive-table tbody td > * {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
  }

  .responsive-table.payment-table tbody tr {
    background: rgba(4, 34, 51, 0.92);
  }

  .responsive-table.payment-table tbody td {
    color: #e2e8f0;
  }

  .payment-method-cell {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* =========================================
   FAQ
   ========================================= */
.faq-item {
  background: rgba(4, 34, 51, 0.85);
  border: 1px solid rgba(10, 74, 101, 0.4);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(251, 191, 36, 0.35);
}

.faq-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-btn:hover {
  background: rgba(10, 74, 101, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: linear-gradient(180deg, #021520 0%, #010d14 100%);
  border-top: 1px solid rgba(10, 74, 101, 0.4);
}

.footer-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--gold-400);
}

.resp-block {
  background: rgba(4, 34, 51, 0.7);
  border: 1px solid rgba(10, 74, 101, 0.4);
}

.age-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 74, 101, 0.6), transparent);
}

/* =========================================
   PROSE CASINO
   ========================================= */
.prose-casino {
  color: #cbd5e1;
  line-height: 1.75;
  max-width: 100%;
}

.prose-casino h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 0;
}

.prose-casino h2 {
  color: var(--gold-400);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(10, 74, 101, 0.5);
  padding-bottom: 0.4rem;
}

.prose-casino h3 {
  color: var(--emerald-400);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.prose-casino a {
  color: var(--gold-400);
  text-decoration: underline;
  text-decoration-style: dotted;
  transition: color 0.2s;
}

.prose-casino a:hover {
  color: var(--gold-300);
}

.prose-casino ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

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

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

.prose-casino blockquote {
  border-left: 4px solid var(--gold-400);
  padding-left: 1rem;
  color: #64748b;
  font-style: italic;
  margin: 1.5rem 0;
}

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

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

.prose-casino table th {
  background: rgba(6, 51, 71, 0.8);
  color: var(--gold-400);
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid rgba(10, 74, 101, 0.6);
}

.prose-casino table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(10, 74, 101, 0.3);
}

.prose-casino table tr:hover {
  background: rgba(10, 74, 101, 0.15);
}

.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 (dark mode compatibility)
   ========================================= */
.prose-invert {
  --tw-prose-body: #94a3b8;
  --tw-prose-headings: #fff;
  --tw-prose-links: #fbbf24;
  --tw-prose-bold: #e2e8f0;
  --tw-prose-counters: #64748b;
  --tw-prose-bullets: #64748b;
  --tw-prose-quotes: #64748b;
  --tw-prose-code: #34d399;
  --tw-prose-pre-code: #34d399;
  --tw-prose-pre-bg: rgba(4,34,51,0.9);
  --tw-prose-th-borders: rgba(10,74,101,0.6);
  --tw-prose-td-borders: rgba(10,74,101,0.3);
}

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

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

  .step-card,
  .promo-card,
  .review-card {
    padding: 1.5rem 1rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--ocean-950);
}

::-webkit-scrollbar-thumb {
  background: var(--ocean-600);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

/* =========================================
   GLOW EFFECTS
   ========================================= */
.glow-emerald {
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
}

.glow-gold {
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

