/* ============================================================
   MAVERICK GAMING — style.css
   Dark premium casino aesthetic | Cinzel + Inter
   ============================================================ */

/* ---- RESET & BASE ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0a0f;
  --panel:       #1a1a2e;
  --panel-lift:  #20203a;
  --gold:        #C9A84C;
  --gold-bright: #FFD700;
  --red:         #8B0000;
  --red-subtle:  rgba(139,0,0,.18);
  --text:        #F0F0F0;
  --muted:       #999;
  --border:      #2a2a3e;
  --border-gold: rgba(201,168,76,.3);
  --green-wa:    #25D366;
  --green-wa-h:  #1ebe5d;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow-gold: 0 0 28px rgba(201,168,76,.18);
  --shadow-card: 0 4px 24px rgba(0,0,0,.45);
  --transition:  .22s ease;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(0.95rem, 0.35vw + 0.85rem, 1rem);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- ACCESSIBILITY UTILITIES ----------------------------- */
/* Skip-to-content link (visible on focus for keyboard users) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: #0a0a0f;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.15s ease;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Visually hidden but readable by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Spacing utility */
.mt-8 { margin-top: 8px; }

/* ---- TYPOGRAPHY HELPERS ---------------------------------- */
.gold-text { color: var(--gold); }

/* ---- CONTAINER ------------------------------------------- */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* ---- BUTTONS --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72rem 1.35rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(0.86rem, 0.3vw + 0.82rem, 0.95rem);
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0f;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(255,215,0,.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.8rem 1.3rem; font-size: 0.95rem; border-radius: 10px; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; border-radius: 7px; }

/* ---- SECTION BASE ---------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.section-dark {
  background: var(--panel);
}

/* ---- SECTION HEADER -------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 40px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: clamp(0.9rem, 0.25vw + 0.85rem, 1rem);
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition),
              backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  min-height: clamp(60px, 8vw, 70px);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }

.nav-marquee-bar {
  width: 100%;
  background: 
    linear-gradient(180deg, 
      rgba(201,168,76,0.11) 0%, 
      rgba(139,0,0,0.09) 100%),
    linear-gradient(90deg,
      hsla(30,50%,35%,0.24) 0%,
      hsla(0,100%,30%,0.14) 25%,
      hsla(30,50%,35%,0.14) 75%,
      hsla(0,100%,30%,0.20) 100%);
  background-blend-mode: screen;
  border-top: 1px solid rgba(255,215,0,0.30);
  border-bottom: 1px solid rgba(139,0,0,0.20);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.3), inset 0 -2px 10px rgba(255,215,0,0.08);
  position: relative;
  z-index: 2;
  margin-top: clamp(60px, 8vw, 70px);
  padding: 0.65rem 0;
}
.nav-marquee {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: flex;
  align-items: center;
}
.nav-marquee-track {
  display: flex;
  width: max-content;
  animation: navMarquee 18s linear infinite;
}
.nav-marquee-item {
  white-space: nowrap;
  padding-right: 3rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(90deg, 
    var(--gold-bright) 0%, 
    hsl(45, 100%, 65%) 50%, 
    var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .02em;
  text-shadow: 0 0 10px rgba(255,215,0,0.15);
}
@keyframes navMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  background: rgba(10,10,15,.97);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 4px;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}

/* Ambient grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow from the logo side */
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: clamp(280px, 55vw, 680px);
  height: clamp(280px, 55vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,15,.95) 40%, rgba(26,26,46,.7) 100%);
  z-index: 0;
}

/* Inner layout */
.hero > .hero-content,
.hero > .hero-logo-wrap {
  position: relative;
  z-index: 1;
}

.hero-bg-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-lasers,
.reel-stage,
.reel-mask,
.win-line {
  position: absolute;
  inset: 0;
}

.hero-lasers {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

/* Two-column layout via wrapping flex on body */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  grid-template-rows: auto;
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mobile-wheel {
  display: none;
}

.roulette-wrap {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roulette-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.25))
          drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  animation: wheelSpin 7s linear infinite;
  will-change: transform;
}

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.roulette-ball-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ballOrbit 2.5s linear infinite reverse;
  will-change: transform;
  pointer-events: none;
}

.roulette-ball {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ccc 60%, #888 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.8), 0 0 6px rgba(255,255,255,0.4);
}

@keyframes ballOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.roulette-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  color: #FFD700;
  font-size: 0.75rem;
  text-shadow: 0 0 6px rgba(255,215,0,0.9);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  max-width: min(100%, 34rem);
  justify-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: clamp(0.72rem, 0.25vw + 0.68rem, 0.82rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  width: fit-content;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -.01em;
}
.hero-title .gold-text {
  -webkit-text-stroke: 1px rgba(201,168,76,.4);
  text-shadow: 0 0 40px rgba(201,168,76,.25);
}

.hero-sub {
  font-size: clamp(0.9rem, 0.25vw + 0.85rem, 1rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-actions .btn {
  max-width: 100%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.hero-trust span { display: flex; align-items: center; gap: 5px; }

/* Games background layer — reserved for future SVG */
.games-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}
.section.section-dark .container { position: relative; z-index: 1; }

/* Compact starter steps */
.compact-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compact-steps .step-card { padding: 18px 16px; border-radius: 12px; }
.compact-steps .step-card h3 { font-size: 0.95rem; margin-top: 6px; }

/* SMS float (replaces WhatsApp float) */
.sms-float {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #0a0a0f;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(201,168,76,.25);
  font-weight: 600;
  font-size: 0.82rem;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sms-float:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,168,76,.35); }

/* Welcome popup */
.welcome-popup {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1200;
  background: rgba(0,0,0,0.45);
}
.welcome-popup-inner {
  background: var(--panel); border-radius: 14px; padding: 22px; max-width: 420px; width: calc(100% - 40px); text-align: center; box-shadow: var(--shadow-card);
}
.welcome-popup .welcome-close { position: absolute; right: 18px; top: 18px; background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.welcome-actions { display:flex; gap:12px; justify-content:center; margin-top:14px; }

/* Hero roulette wheel */
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo { display: none; } /* logo only in navbar */
.roulette-wrap {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.roulette-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}
.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.25))
          drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  animation: wheelSpin 7s linear infinite;
  will-change: transform;
}
@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.roulette-ball-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ballOrbit 2.5s linear infinite reverse;
  will-change: transform;
  pointer-events: none;
}
.roulette-ball {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ccc 60%, #888 100%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.8), 0 0 6px rgba(255,255,255,0.4);
}
@keyframes ballOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.roulette-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  color: #FFD700;
  font-size: 0.75rem;
  text-shadow: 0 0 6px rgba(255,215,0,0.9);
  z-index: 2;
  pointer-events: none;
}


/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.step-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  transform: translateY(-4px);
}
.step-card:hover::before { opacity: 1; }

.step-icon {
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  line-height: 1;
}
.step-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 900;
  color: rgba(201,168,76,.12);
  line-height: 1;
  margin-top: -4px;
}
.step-card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  font-weight: 700;
  color: var(--text);
}
.step-card p {
  font-size: clamp(0.85rem, 0.25vw + 0.8rem, 0.95rem);
  color: var(--muted);
  line-height: 1.65;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   GAMES
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.game-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}
.game-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  transform: translateY(-4px);
}
.game-card-more {
  border-style: dashed;
}
.game-card-more:hover { border-style: solid; }

.game-icon {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  line-height: 1;
}
.game-card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 0.35vw + 0.8rem, 1rem);
  font-weight: 700;
  color: var(--text);
}
.game-card p {
  font-size: clamp(0.85rem, 0.2vw + 0.8rem, 0.95rem);
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

/* ============================================================
   PAYMENTS
   ============================================================ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: 840px;
  margin-inline: auto;
}

.payment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.payment-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}

.payment-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.payment-icon { font-size: 1.8rem; }
.payment-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.1rem);
  font-weight: 700;
  color: var(--text);
}

.payment-desc {
  font-size: clamp(0.9rem, 0.25vw + 0.85rem, 1rem);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: pstep;
}
.payment-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.86rem, 0.2vw + 0.82rem, 0.95rem);
  color: var(--text);
  counter-increment: pstep;
}
.payment-steps li::before {
  content: counter(pstep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border-gold);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(139,0,0,.1);
  border: 1px solid rgba(139,0,0,.3);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.25rem);
  margin-top: clamp(1rem, 3vw, 2rem);
  max-width: 840px;
  margin-inline: auto;
}
.payment-note span { font-size: 1.2rem; flex-shrink: 0; padding-top: 2px; }
.payment-note p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 0.3vw + 0.85rem, 1rem);
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }

.faq-arrow {
  font-size: 0.7rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.faq-answer.open {
  grid-template-rows: 1fr;
}
/* Inner div needed for the grid-row trick to animate */
.faq-answer > div {
  overflow: hidden;
  padding: 0 24px;
}
.faq-answer.open > div {
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: clamp(0.9rem, 0.25vw + 0.85rem, 1rem);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-box {
  max-width: 520px;
  margin-inline: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  text-align: center;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-icon { font-size: 2.5rem; }
.contact-item h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.05rem);
  font-weight: 700;
  color: var(--text);
}
.contact-item p {
  font-size: clamp(0.9rem, 0.25vw + 0.85rem, 1rem);
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-reassurance {
  text-align: center;
  margin-top: 24px;
}
.contact-reassurance p {
  font-size: 0.84rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #06060a;
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
  position: relative;
  overflow: hidden;
}
.footer-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  max-width: none;
  height: 160%;
  object-fit: cover;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  filter: grayscale(100%) blur(18px);
}
.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}
.footer-copy { color: #555; }

/* float label (used by messenger/sms floats) */
.whatsapp-label { white-space: nowrap; }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-wrap {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Toggle pill button */
.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #0a0a0f;
  border: none;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
  transition: background var(--transition), box-shadow var(--transition),
              transform var(--transition);
}
.chatbot-toggle:hover {
  background: var(--gold-bright);
  box-shadow: 0 6px 28px rgba(255,215,0,.45);
  transform: translateY(-2px);
}
.chatbot-toggle-icon { font-size: 1.1rem; }
.chatbot-toggle-label { white-space: nowrap; }

/* Chat box */
.chatbot-box {
  display: none;
  flex-direction: column;
  width: min(340px, calc(100vw - 24px));
  height: min(440px, calc(100vh - 120px));
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0,0,0,.5);
}
.chatbot-box.open { display: flex; }

/* Chat header */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar { font-size: 1.5rem; }
.chatbot-header strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.chatbot-status {
  font-size: 0.72rem;
  color: #4caf82;
  letter-spacing: .04em;
}
.chatbot-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.chatbot-close:hover { color: var(--text); background: var(--border); }

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.87rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bot-msg {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.user-msg {
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}


/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-items: center;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 80%, 100% { opacity: .25; transform: scale(.8); }
  40%           { opacity: 1;   transform: scale(1); }
}

/* Input row */
.chatbot-input-wrap {
  display: flex;
  gap: 8px;
  padding: 12px 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chatbot-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.chatbot-input:focus { border-color: var(--gold); }
.chatbot-input::placeholder { color: #555; }

.chatbot-send {
  background: var(--gold);
  border: none;
  border-radius: 8px;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #0a0a0f;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.chatbot-send:hover { background: var(--gold-bright); transform: scale(1.06); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-marquee {
    padding-block: 0.8rem;
  }
  .nav-marquee-item {
    font-size: 0.8rem;
    padding-right: 2.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 0;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }
  .hero-content { align-items: center; max-width: 100%; justify-self: stretch; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-logo-wrap { justify-content: center; order: 1; }
  .hero-content { order: 0; }
  .roulette-wrap {
    width: clamp(120px, 35vw, 180px);
    height: clamp(120px, 35vw, 180px);
  }
  .hero::after { display: none; }

  .steps-grid { max-width: 680px; margin-inline: auto; }
  .payment-grid { max-width: 680px; margin-inline: auto; }
  .payment-note { max-width: 480px; }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 76px;
    padding-bottom: 0;
  }
  .section { padding-block: 2.5rem; }
  .section-header { margin-bottom: 2rem; }

  .hero-mobile-wheel {
    display: block;
    margin: 0.5rem auto 0.35rem;
  }
  .hero-logo-wrap {
    display: none;
  }
  .hero-sub {
    margin-top: 0.15rem;
  }

  #contact.section {
    padding-top: 1.1rem;
    margin-top: -0.35rem;
  }
  #contact .section-header {
    margin-bottom: 1.5rem;
  }
  #contact .contact-box {
    margin-top: -0.35rem;
  }

  .games-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  .sms-float { bottom: 20px; left: 16px; }
  .chatbot-wrap { bottom: 20px; right: 16px; }
  .chatbot-box { width: calc(100vw - 32px); }

  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ---- FOCUS VISIBLE (accessibility) ----------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- REDUCED MOTION ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .roulette-wheel, .roulette-ball-track, .roulette-glow { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
/* ============================================================
   SHARE & REFER SECTION
   ============================================================ */
.share-box {
  max-width: 600px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.share-input-group {
  display: flex;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 10px;
}

.share-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  padding-inline: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.share-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .share-input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .share-input {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding-block: 0.8rem;
    text-align: center;
  }
}
/* ========== MESSENGER FLOATING BUTTON ========== */
.messenger-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, #0084ff, #a334fa);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,132,255,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .nav-marquee {
    padding-block: 0.8rem;
  }
}
.messenger-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,132,255,0.55);
}

/* ========== FACEBOOK BUTTON ========== */
.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-facebook:hover {
  background: #145dbf;
  transform: translateY(-2px);
}

/* ========== CONTACT ICON FB ========== */
.contact-icon-fb {
  background: #1877f2;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========== FOOTER SOCIAL ICONS ========== */
.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.85;
}
.footer-social-btn:hover {
  transform: translateY(-3px);
  opacity: 1;
}
.footer-social-wa  { background: #25d366; }
.footer-social-msg { background: linear-gradient(135deg, #0084ff, #a334fa); }
.footer-social-fb  { background: #1877f2; }

@media (max-width: 600px) {
  .messenger-float {
    bottom: 160px;
    right: 16px;
  }
}

/* ========== GAME CARD DUAL BUTTONS ========== */
.game-card-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}
.game-card-btns .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   RESPONSIVENESS FIXES
   ============================================================ */

/* --- Contact box: stack items with divider on mobile --- */
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

/* --- Share socials: stack on small screens --- */
@media (max-width: 520px) {
  .share-socials {
    flex-direction: column;
    align-items: stretch;
  }
  .share-socials .btn {
    justify-content: center;
    text-align: center;
  }
}

/* --- Games grid: 2 cols on tablet, 1 on small mobile --- */
@media (max-width: 600px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Floating buttons: shrink labels on very small screens --- */
@media (max-width: 400px) {
  .sms-float,
  .messenger-float {
    padding: 0.65rem 0.85rem 0.65rem 0.75rem;
    font-size: 0.78rem;
  }
  .whatsapp-label,
  .chatbot-toggle-label {
    display: none;
  }
  .chatbot-toggle {
    padding: 0.75rem 0.9rem;
    border-radius: 50%;
  }
  .messenger-float {
    bottom: 140px;
  }
}

/* --- Messenger float: keep clear of chatbot on mobile --- */
@media (max-width: 600px) {
  .messenger-float {
    bottom: 88px;
    right: 16px;
  }
  .chatbot-wrap {
    bottom: 20px;
    right: 16px;
  }
}

/* --- Hero: tighten padding on mid tablets --- */
@media (max-width: 768px) and (min-width: 601px) {
  .hero {
    padding-top: 80px;
    gap: 28px;
  }
}

/* --- Footer top: wrap social icons cleanly --- */
@media (max-width: 480px) {
  .footer-top {
    gap: 16px;
  }
  .footer-links {
    gap: 2px;
  }
  .footer-links a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* --- Payment cards: reduce padding on mobile --- */
@media (max-width: 480px) {
  .payment-card {
    padding: 1.1rem 1rem;
  }
  .faq-question {
    font-size: 0.88rem;
    padding: 1rem 1rem;
  }
  .contact-box {
    padding: 1.1rem 1rem;
  }
}

/* --- Hero trust badges: single column on tiny screens --- */
@media (max-width: 360px) {
  .hero-trust {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
