/* ==========================================
   შემო — shemo.ge
   Premium scroll-driven website
   ========================================== */

@font-face {
  font-family: 'BPG Nino';
  src: url('../assets/fonts/bpg_nino_mtavruli_bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg-dark: #0A1628;
  --bg-darker: #060F1D;
  --bg-navy: #111D35;
  --bg-slate: #1B2A4A;
  --gold: #D4A847;
  --gold-light: #E8C87A;
  --gold-dim: #9A7A33;
  --text-light: #F0EDE8;
  --text-muted: #8A9BBF;
  --text-dim: #5A6A8A;
  --red-card: #BC1E24;
  --felt-1: #235C5C;
  --felt-2: #1A4848;
  --felt-3: #143A3A;
  --font-display: 'BPG Nino', 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-darker);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Spinning card ring */
.loader-cards {
  position: relative;
  width: 120px; height: 120px;
  animation: loader-orbit 3s linear infinite;
}
@keyframes loader-orbit {
  to { transform: rotate(360deg); }
}
.loader-card {
  position: absolute;
  width: 28px; height: 40px;
  border-radius: 4px;
  border: 1.5px solid rgba(212,168,71,0.4);
  box-shadow: 0 0 12px rgba(212,168,71,0.15);
}
.loader-card::after {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid rgba(212,168,71,0.2);
  border-radius: 2px;
}
.lc-1 { top: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #BC1E24, #8B1A1A); }
.lc-2 { top: 50%; right: 0; transform: translateY(-50%); background: linear-gradient(135deg, var(--bg-navy), var(--bg-slate)); }
.lc-3 { bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #BC1E24, #8B1A1A); }
.lc-4 { top: 50%; left: 0; transform: translateY(-50%); background: linear-gradient(135deg, var(--bg-navy), var(--bg-slate)); }

/* Counter-rotate individual cards */
.lc-1 { animation: loader-card-spin 3s linear infinite; }
.lc-2 { animation: loader-card-spin 3s linear infinite 0.75s; }
.lc-3 { animation: loader-card-spin 3s linear infinite 1.5s; }
.lc-4 { animation: loader-card-spin 3s linear infinite 2.25s; }
@keyframes loader-card-spin {
  to { transform: translateX(-50%) rotate(-360deg); }
}
.lc-2, .lc-4 {
  animation-name: loader-card-spin-y;
}
@keyframes loader-card-spin-y {
  to { transform: translateY(-50%) rotate(-360deg); }
}

.loader-brand {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  display: flex;
  gap: 4px;
}
.lb-letter {
  display: inline-block;
  opacity: 0;
  animation: lb-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.lb-letter:nth-child(1) { animation-delay: 0.2s; }
.lb-letter:nth-child(2) { animation-delay: 0.35s; }
.lb-letter:nth-child(3) { animation-delay: 0.5s; }
.lb-letter:nth-child(4) { animation-delay: 0.65s; }
@keyframes lb-pop {
  0% { opacity: 0; transform: scale(0) rotate(20deg); }
  60% { opacity: 1; transform: scale(1.3) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.loader-bar-track {
  width: 200px; height: 3px;
  background: var(--bg-slate);
  border-radius: 2px;
  overflow: hidden;
}
#loader-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  background-size: 200% 100%;
  border-radius: 2px;
  transition: width 0.2s ease;
  animation: loader-bar-shimmer 1.5s ease-in-out infinite;
}
@keyframes loader-bar-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
#loader-percent {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 4vw, 60px);
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0) 100%);
  pointer-events: none;
}
.site-header nav {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
  pointer-events: auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav-links a { transition: color 0.3s ease; }
.nav-links a:hover { color: var(--text-light); }
.nav-cta {
  background: var(--gold);
  color: var(--bg-dark) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease !important;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: var(--bg-darker);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: 100px 40px 40px;
  gap: 24px;
  font-size: 1.2rem;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { right: 0; }
.mobile-menu a { color: var(--text-muted); transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero-standalone {
  position: relative;
  width: 100%; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg-darker);
  overflow: hidden;
  z-index: 2;
}
.hero-cards-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-card {
  position: absolute;
  width: clamp(80px, 12vw, 180px);
  opacity: 0.08;
  filter: brightness(1.5);
}
.hc-1 { top: 8%; left: 5%; transform: rotate(-15deg); }
.hc-2 { top: 15%; right: 8%; transform: rotate(20deg); }
.hc-3 { bottom: 20%; left: 10%; transform: rotate(10deg); }
.hc-4 { bottom: 12%; right: 5%; transform: rotate(-25deg); }
.hc-5 { top: 40%; left: -2%; transform: rotate(30deg); }
.hc-6 { top: 50%; right: -2%; transform: rotate(-10deg); }
.hc-7 { top: 5%; left: 45%; transform: rotate(5deg); }
.hc-8 { bottom: 5%; left: 40%; transform: rotate(-20deg); }
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
}
.hero-content .section-label {
  display: block;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-weight: 500;
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 16rem);
  color: var(--gold);
  line-height: 0.9;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.hero-heading .word {
  display: inline-block;
  will-change: transform, opacity;
  position: relative;
  text-shadow: 0 0 0 transparent;
  transition: text-shadow 0.3s ease;
}
/* Glow pulse after collision */
.hero-heading .word.clash-glow {
  text-shadow: 0 0 40px rgba(212,168,71,0.8), 0 0 80px rgba(212,168,71,0.4);
}
/* Sparks canvas */
.hero-sparks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 300;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: float-down 2s ease-in-out infinite;
}
@keyframes float-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Canvas Wrap (Card Animations) ---------- */
.canvas-wrap {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}
.floating-cards {
  position: absolute; inset: 0;
  overflow: hidden;
}
.float-card {
  position: absolute;
  width: clamp(100px, 14vw, 200px);
  opacity: 0.12;
  filter: brightness(1.3) saturate(0.8);
  will-change: transform;
  transition: none;
}
.fc-1  { top: 5%;  left: 8%;  }
.fc-2  { top: 12%; right: 10%; }
.fc-3  { bottom: 25%; left: 5%; }
.fc-4  { bottom: 10%; right: 8%; }
.fc-5  { top: 35%; left: 25%; }
.fc-6  { top: 55%; right: 20%; }
.fc-7  { top: 70%; left: 15%; }
.fc-8  { top: 20%; left: 55%; }
.fc-9  { bottom: 35%; right: 30%; }
.fc-10 { top: 45%; right: 5%; }

/* ---------- Dark Overlay ---------- */
#dark-overlay {
  position: fixed; inset: 0;
  background: var(--bg-darker);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  overflow: hidden;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 14rem);
  color: var(--gold);
  opacity: 0.06;
  white-space: nowrap;
  will-change: transform;
  width: max-content;
}
.marquee-2 { top: 60%; }
.marquee-2 .marquee-text {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(3rem, 6vw, 7rem);
  color: var(--text-muted);
  opacity: 0.04;
}

/* ---------- Scroll Container ---------- */
#scroll-container {
  position: relative;
  width: 100%;
  height: 600vh;
  z-index: 5;
}

/* ---------- Scroll Sections ---------- */
.scroll-section {
  position: absolute;
  left: 0; right: 0;
  display: flex; align-items: center;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
  pointer-events: none;
}
.scroll-section.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Section labels & text */
.section-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-light);
}
.section-body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
}
.section-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* ---------- Split Layout (text + visual) ---------- */
.section-split {
  padding: 0 5vw !important;
  justify-content: space-between !important;
  gap: 40px;
}
.section-split .section-inner {
  flex: 0 0 38%;
  max-width: 38% !important;
}
.section-visual {
  flex: 0 0 48%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Order control */
.section-split.align-left .section-inner { order: 1; }
.section-split.align-left .section-visual { order: 2; }
.section-split.align-right .section-inner { order: 2; }
.section-split.align-right .section-visual { order: 1; }

/* Side-aligned (non-split fallback) */
.align-left:not(.section-split) {
  padding-left: 5vw;
  padding-right: 55vw;
  justify-content: flex-start;
}
.align-right:not(.section-split) {
  padding-left: 55vw;
  padding-right: 5vw;
  justify-content: flex-end;
}

/* ============================================
   PHONE MOCKUP — Game Screen
   ============================================ */
.phone-mockup {
  width: clamp(240px, 22vw, 320px);
  aspect-ratio: 9/18;
  border-radius: 32px;
  border: 3px solid rgba(212,168,71,0.3);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,168,71,0.1),
    0 24px 64px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 40px 12px 12px;
  position: relative;
}

/* Game table felt background */
.game-table-joker,
.game-table-bura {
  background: radial-gradient(ellipse at 50% 40%, var(--felt-1), var(--felt-2), var(--felt-3));
}

/* Game table header */
.gt-header, .gt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
}
.gt-player-name {
  font-size: 0.65rem;
  color: #B8A88A;
  font-weight: 500;
}
.gt-self {
  color: var(--gold);
}
.gt-score {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  background: rgba(17,29,53,0.6);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(212,168,71,0.3);
}
.bura-score { color: #1ABC9C; border-color: rgba(26,188,156,0.3); }

/* Card backs */
.gt-card-back {
  width: 32px; height: 46px;
  background: linear-gradient(135deg, var(--bg-navy), var(--bg-slate));
  border-radius: 4px;
  border: 1px solid rgba(212,168,71,0.25);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
}
.gt-card-back::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(212,168,71,0.15);
  border-radius: 2px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 3px,
    rgba(212,168,71,0.05) 3px,
    rgba(212,168,71,0.05) 4px
  );
}

/* Opponent hand */
.gt-opponent-hand {
  display: flex;
  justify-content: center;
  gap: -4px;
  padding: 8px 0;
}
.gt-opponent-hand .gt-card-back {
  margin-left: -8px;
}
.gt-opponent-hand .gt-card-back:first-child {
  margin-left: 0;
}

/* Table center */
.gt-table-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* Trump area */
.gt-trump-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gt-trump-card {
  width: 36px;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gt-trump-label {
  font-size: 0.55rem;
  color: rgba(212,168,71,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Played cards */
.gt-played-cards {
  position: relative;
  width: 60px; height: 60px;
}
.gt-played {
  width: 38px;
  position: absolute;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}
.gt-played:first-child {
  top: 0; left: 0;
}
.gt-played-top {
  top: 10px; left: 14px;
  transform: rotate(8deg);
}

/* Bura specific */
.bura-played { width: 50px; height: 50px; }
.bura-played .gt-played { width: 36px; }
.bura-var-btn {
  position: absolute;
  right: 12px; bottom: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.05em;
}

/* Table slots (Joker) */
.gt-table-slots {
  display: flex;
  gap: 8px;
}
.gt-slot {
  position: relative;
  width: 36px; height: 50px;
}
.gt-slot-card {
  width: 36px;
  position: absolute;
  top: 0; left: 0;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 2;
}
.gt-slot-under {
  position: absolute !important;
  top: 4px; left: 2px;
  width: 32px !important; height: 44px !important;
  z-index: 1;
}

/* Player hand */
.gt-player-hand {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  gap: 0;
}
.gt-hand-card {
  width: 38px;
  margin-left: -10px;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}
.gt-hand-card:first-child { margin-left: 0; }
.phone-mockup:hover .gt-hand-card:nth-child(3) {
  transform: translateY(-8px);
}

/* ============================================
   SLOT MACHINE MOCKUP
   ============================================ */
.slot-machine-mockup {
  width: clamp(260px, 24vw, 340px);
  perspective: 800px;
}
.slot-frame {
  background: linear-gradient(145deg, #1a1a2e, #111128);
  border-radius: 20px;
  border: 2px solid rgba(212,168,71,0.3);
  padding: 20px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 40px rgba(212,168,71,0.05),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.slot-header-bar {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  padding: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212,168,71,0.2);
  letter-spacing: 0.1em;
}
.slot-reels {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}
.slot-reel {
  width: 80px; height: 80px;
  background: rgba(10,22,40,0.8);
  border-radius: 10px;
  border: 1px solid rgba(212,168,71,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slot-symbol {
  width: 60px; height: 60px;
  object-fit: contain;
}
.slot-wild {
  filter: drop-shadow(0 0 8px rgba(212,168,71,0.5));
}
.slot-win-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 4px 0 16px;
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.slot-characters-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 0;
}
.slot-char-small {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(212,168,71,0.2);
  background: rgba(10,22,40,0.5);
  padding: 2px;
}
.slot-btn {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 12px;
  border-radius: 12px;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 16px rgba(212,168,71,0.3);
  cursor: pointer;
}

/* ============================================
   FEATURES VISUAL (icon grid)
   ============================================ */
.features-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 280px;
}
.fv-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(17,29,53,0.6);
  border-radius: 12px;
  border: 1px solid rgba(212,168,71,0.1);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.fv-item:hover {
  border-color: rgba(212,168,71,0.3);
  transform: translateX(4px);
}
.fv-item svg {
  flex-shrink: 0;
  width: 32px; height: 32px;
}
.fv-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Stats Section ---------- */
.section-stats {
  justify-content: center;
  padding: 0 5vw;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  line-height: 1;
}
.stat-suffix {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold-dim);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* ---------- Feature List ---------- */
.feature-list {
  display: flex; flex-direction: column; gap: 16px;
}
.feature-list li {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- CTA Section ---------- */
.section-cta {
  justify-content: center;
  text-align: center;
  padding: 0 5vw;
}
.section-inner-center {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-heading { text-align: center; }
.cta-buttons {
  display: flex; gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,71,0.3);
}
.cta-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.cta-secondary:hover {
  background: rgba(212,168,71,0.1);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 48px clamp(20px, 5vw, 60px) 24px;
  background: var(--bg-darker);
  border-top: 1px solid rgba(212,168,71,0.1);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}
.footer-center {
  text-align: center;
}
.footer-built {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-built a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s;
}
.footer-built a:hover { color: var(--gold-light); }
.footer-links {
  display: flex; gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-muted); }
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(90,106,138,0.15);
  text-align: center;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .section-split {
    flex-direction: column !important;
    align-items: center;
    gap: 32px;
  }
  .section-split .section-inner {
    flex: 0 0 auto;
    max-width: 100% !important;
    order: 1 !important;
    text-align: center;
  }
  .section-visual {
    flex: 0 0 auto;
    order: 2 !important;
  }
  .phone-mockup { width: 240px; }
  .slot-machine-mockup { width: 260px; }
  .features-visual { max-width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Loader — smaller on mobile */
  .loader-brand { font-size: 2.8rem; }
  .loader-cards { width: 80px; height: 80px; }
  .loader-card { width: 22px; height: 32px; }

  /* Taller container so sections don't overlap */
  #scroll-container { height: 750vh; }

  .scroll-section {
    backdrop-filter: blur(4px);
    padding: 40px 20px !important;
  }
  .scroll-section::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(6,15,29,0.85);
    z-index: -1;
    border-radius: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .section-stats,
  .section-cta {
    padding: 0 24px;
  }

  .hero-heading {
    font-size: clamp(5rem, 22vw, 10rem);
  }

  .marquee-text { font-size: clamp(4rem, 10vw, 8rem); }
  .marquee-2 .marquee-text { font-size: clamp(2rem, 5vw, 4rem); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-button { width: 100%; justify-content: center; }
  .phone-mockup { width: 200px; }
  .slot-machine-mockup { width: 220px; }
  .slot-reel { width: 60px; height: 60px; }
  .slot-symbol { width: 44px; height: 44px; }
  .slot-char-small { width: 32px; height: 32px; }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
