/* ============================================================
   UniversalSlots Casino – Custom CSS
   Theme: Stahl Galaxy – Graphite + Electric Blue
   ============================================================ */

/* Base resets */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #0d1117;
  color: #f1f5f9;
}

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

/* ============================================================
   TYPOGRAPHY / PROSE
   ============================================================ */
.prose-casino {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  word-break: break-word;
}

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

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; color: #38bdf8; }
.prose-casino h3 { font-size: 1.25rem; }

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

.prose-casino a {
  color: #38bdf8;
  text-decoration: underline;
  transition: color 0.2s;
}

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

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
  color: #94a3b8;
}

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

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

.prose-casino blockquote {
  border-left: 4px solid #38bdf8;
  padding-left: 1em;
  color: #64748b;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino hr {
  border-color: #1e3a5f;
  margin: 2em 0;
}

/* Prose Table Scroll – MANDATORY */
.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-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.prose-casino thead tr {
  background-color: #1e3a5f;
}

.prose-casino th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #38bdf8;
  font-weight: 700;
  border: 1px solid #1e3a5f;
}

.prose-casino td {
  padding: 0.65rem 1rem;
  border: 1px solid #1e2d3d;
  color: #94a3b8;
}

.prose-casino tbody tr:nth-child(even) {
  background-color: rgba(30, 58, 95, 0.2);
}

/* ============================================================
   COLOUR VARIABLES
   ============================================================ */
:root {
  --col-bg:        #0d1117;
  --col-surface:   #111827;
  --col-surface2:  #1a202c;
  --col-border:    #1e3a5f;
  --col-electric:  #38bdf8;
  --col-electric2: #0ea5e9;
  --col-gold:      #f59e0b;
  --col-text:      #e2e8f0;
  --col-muted:     #64748b;
  --col-stahl:     #243b53;
  --glow-blue:     0 0 20px rgba(56,189,248,0.35);
  --glow-gold:     0 0 20px rgba(245,158,11,0.35);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56,189,248,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--col-electric);
  transition: width 0.25s ease;
}

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

.burger-btn-style {
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
}

.mobile-menu-panel {
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(56,189,248,0.15);
  border-bottom: 1px solid rgba(56,189,248,0.1);
  padding-bottom: 0.5rem;
}

.mobile-nav-link:hover {
  background: rgba(56,189,248,0.08);
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.cta-primary-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  box-shadow: var(--glow-blue);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}

.cta-primary-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px rgba(56,189,248,0.55);
  color: #ffffff;
}

.cta-secondary-btn {
  background: transparent;
  color: var(--col-electric);
  border: 2px solid var(--col-electric);
  display: inline-block;
  text-align: center;
}

.cta-secondary-btn:hover {
  background: rgba(56,189,248,0.1);
  transform: translateY(-2px);
  color: #ffffff;
  border-color: #ffffff;
}

.cta-game-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0d1117;
  font-weight: 700;
}

.cta-game-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: var(--glow-gold);
  color: #0d1117;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background-color: var(--col-bg);
}

.hero-bg {
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-section:hover .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(13, 17, 23, 0.80) 0%,
    rgba(13, 17, 23, 0.65) 40%,
    rgba(13, 17, 23, 0.90) 100%
  );
}

.bonus-badge-box {
  background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(17,24,39,0.95) 100%);
  border: 1.5px solid rgba(56,189,248,0.5);
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.stars-overlay {
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(56,189,248,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 15%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(56,189,248,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(245,158,11,0.4) 0%, transparent 100%);
  animation: starsPulse 6s ease-in-out infinite alternate;
}

@keyframes starsPulse {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ============================================================
   FEATURE STRIP / MARQUEE
   ============================================================ */
.feature-strip-section {
  background: linear-gradient(180deg, #0d1117 0%, #111827 50%, #0d1117 100%);
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

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

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

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

.game-card {
  background: linear-gradient(160deg, #1a202c 0%, #111827 100%);
  border: 1px solid rgba(56,189,248,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--glow-blue);
  border-color: rgba(56,189,248,0.5);
}

/* ============================================================
   REVIEW SECTION
   ============================================================ */
.review-section {
  background-color: var(--col-bg);
}

.review-card {
  background: linear-gradient(160deg, #111827 0%, #0d1117 100%);
  border: 1px solid rgba(56,189,248,0.15);
  transition: border-color 0.3s;
}

.review-card:hover {
  border-color: rgba(56,189,248,0.4);
}

/* Provider Word Cloud */
.provider-cloud {
  gap: 0.5rem;
}

.provider-tag {
  display: inline-block;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.25);
  color: #94a3b8;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.provider-tag:hover {
  background: rgba(56,189,248,0.2);
  color: #38bdf8;
  box-shadow: var(--glow-blue);
}

.provider-tag--large {
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  color: #e2e8f0;
  background: rgba(56,189,248,0.13);
  border-color: rgba(56,189,248,0.4);
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps-section {
  background: linear-gradient(180deg, #0d1117 0%, #111827 50%, #0d1117 100%);
}

.step-card {
  background: linear-gradient(160deg, #1a202c 0%, #111827 100%);
  border: 1px solid rgba(56,189,248,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-blue);
}

.step-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-blue);
  border: 2px solid rgba(255,255,255,0.2);
}

/* ============================================================
   PAYMENTS SECTION
   ============================================================ */
.payments-section {
  background-color: var(--col-bg);
}

.payments-table-head {
  background: linear-gradient(90deg, #1e3a5f 0%, #243b53 100%);
}

.payments-table-row {
  background: rgba(17,24,39,0.6);
  transition: background 0.2s;
}

.payments-table-row:hover {
  background: rgba(56,189,248,0.06);
}

.payments-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.payments-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  word-break: normal;
}

.payments-table th,
.payments-table td {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .payments-table {
    width: 100%;
  }

  .payments-table th,
  .payments-table td {
    white-space: normal;
  }
}

/* ============================================================
   PROMOTIONS SECTION
   ============================================================ */
.promos-section {
  background: linear-gradient(180deg, #0d1117 0%, #111827 50%, #0d1117 100%);
}

.promo-card {
  background: linear-gradient(160deg, #1a202c 0%, #111827 100%);
  border: 1px solid rgba(56,189,248,0.15);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-blue);
  border-color: rgba(56,189,248,0.45);
}

.promo-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background-color: var(--col-bg);
}

.faq-item {
  background: linear-gradient(160deg, #111827 0%, #0d1117 100%);
  border: 1px solid rgba(56,189,248,0.15);
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(56,189,248,0.35);
}

.faq-question {
  background: transparent;
  cursor: pointer;
  border: none;
  outline: none;
}

.faq-question:hover {
  background: rgba(56,189,248,0.04);
}

.faq-answer {
  border-top: 1px solid rgba(56,189,248,0.1);
  padding-top: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: linear-gradient(180deg, #0d1117 0%, #090d13 100%);
  border-top: 1px solid rgba(56,189,248,0.12);
}

.responsible-block {
  background: rgba(30,58,95,0.3);
  border: 1px solid rgba(56,189,248,0.2);
}

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

.age-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 6px;
  padding: 2px 6px;
  flex-shrink: 0;
}

/* ============================================================
   TABLE OVERFLOW WRAPPER
   ============================================================ */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

table:not(.payments-table) {
  word-break: break-word;
  min-width: 400px;
}

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

::-webkit-scrollbar-track {
  background: #111827;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* ============================================================
   PARALLAX UTILITY
   ============================================================ */
@media (min-width: 1024px) {
  .parallax-slow {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(56,189,248,0.3); }
  50%       { box-shadow: 0 0 32px rgba(56,189,248,0.7); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease both;
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease both;
}

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

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 640px) {
  .hero-section {
    min-height: 100svh;
  }

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

  .step-card {
    margin-top: 1.5rem;
  }

  .provider-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ============================================================
   UTILITY: ensure container never breaks viewport
   ============================================================ */
.max-w-site {
  max-width: 1440px;
}
