/* BetsFans Poker — landing page.
   Same palette as the player app (betsfans-poker.app): black, deep green,
   brushed gold and a sparing Tiffany accent. */

:root {
  --bg: #050807;
  --bg-2: #0a110e;
  --card: #0c1310;
  --line: rgba(212, 172, 86, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f3ec;
  --muted: #9aa39f;
  --gold: #d4ac56;
  --gold-bright: #f0cf72;
  --gold-deep: #9c7329;
  --tiffany: #3fcfbe;
  --wa: #25d366;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, Heebo, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Inter Tight", Inter, Heebo, sans-serif; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 em, h1 em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--gold-bright); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.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; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tiffany); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.gold { color: var(--gold-bright); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic.inline { display: inline-block; vertical-align: -0.2em; width: 1.1em; height: 1.1em; color: var(--gold); }
.ic.big { width: 40px; height: 40px; color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tiffany); margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tiffany); box-shadow: 0 0 12px var(--tiffany); }
.gold-eyebrow { color: var(--gold-bright); }
.lead { color: #c9cec9; font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 40em; margin-top: 18px; }
.micro { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.micro a { color: var(--tiffany); }
.fine { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.bot-tag {
  display: inline-block; font: 700 0.68em/1 Inter, Heebo, sans-serif; letter-spacing: 0.08em;
  color: #bff8ef; background: rgba(63, 207, 190, 0.14); border: 1px solid rgba(63, 207, 190, 0.55);
  padding: 0.3em 0.5em; border-radius: 5px; vertical-align: 0.15em;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 700 1rem/1 Inter, Heebo, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 44px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-xl { --h: 62px; padding: 0 32px; font-size: 1.12rem; }
.btn .ic-end { transition: transform 0.25s var(--ease); }
.btn:hover .ic-end { transform: translateX(4px); }
.btn-gold {
  color: #140f04;
  background: linear-gradient(135deg, #f8df91 0%, #d4ac56 48%, #b4872f 100%);
  box-shadow: 0 10px 30px -10px rgba(212, 172, 86, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  animation: sheen 4.5s ease-in-out infinite;
}
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(240, 207, 114, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 172, 86, 0.08); }
.btn-wa { color: #04150a; background: var(--wa); box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.75); }
.btn-wa:hover { background: #3ee07b; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-row.center { justify-content: center; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stores + .btn { margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px 8px 14px;
  border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.55);
  font: 600 1.08rem/1.1 Inter, Heebo, sans-serif; color: var(--text); cursor: default; position: relative;
}
.store .ic { width: 26px; height: 26px; }
.store small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 2px; }
.store::after {
  content: attr(data-soon); position: absolute; top: -9px; inset-inline-end: -8px; font: 700 0.62rem/1 Inter, Heebo, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: #140f04; background: var(--gold); padding: 4px 6px; border-radius: 5px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
/* Without JavaScript nothing toggles .scrolled, so the bar keeps its backdrop from the start. */
html:not(.js) .site-header,
.site-header.scrolled { background: rgba(5, 8, 7, 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-soft); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; gap: 26px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; color: #c9cec9; font-size: 0.93rem; font-weight: 500; padding: 10px 0; transition: color 0.2s; }
.main-nav a:hover { color: var(--gold-bright); }
.header-cta { display: flex; gap: 8px; margin-inline-start: auto; }
@media (min-width: 1040px) { .main-nav { display: flex; } .header-cta { margin-inline-start: 8px; } }

/* Language menu */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.88rem; color: #dcdcd5;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { width: 18px; height: 18px; color: var(--gold); }
.lang[open] summary, .lang summary:hover { border-color: var(--gold); }
.lang ul {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60; min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: #0b110e; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px #000;
}
.lang a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; text-decoration: none; color: #dcdcd5; font-weight: 500; }
.lang a:hover { background: rgba(212, 172, 86, 0.1); color: var(--gold-bright); }
.lang a[aria-current] { color: var(--gold-bright); }
.lang a[aria-current]::after { content: "✓"; margin-inline-start: auto; color: var(--tiffany); }
.lang-footer a { color: #c9cec9; text-decoration: none; display: inline-block; padding: 10px 4px; }
.lang-footer a[aria-current] { color: var(--gold-bright); }
@media (max-width: 430px) {
  .header-row { gap: 10px; }
  .header-cta { gap: 6px; }
  .brand img { height: 32px; }
  .header-cta .btn-sm { padding: 0 11px; font-size: 0.86rem; }
  .lang summary { padding: 0 9px; }
  .lang summary .ic { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 175vh; height: 175svh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-galaxy {
  position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; object-position: 60% 40%;
  transform: scale(calc(1 + var(--p, 0) * 0.35)) translateY(calc(var(--p, 0) * -4%));
  filter: brightness(calc(0.62 - var(--p, 0) * 0.25)) saturate(1.05);
  will-change: transform;
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 45%, transparent 0%, rgba(5, 8, 7, 0.35) 55%, rgba(5, 8, 7, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 8, 7, 0.92) 0%, rgba(5, 8, 7, 0.55) 42%, rgba(5, 8, 7, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-grid {
  position: relative; z-index: 2; display: grid; gap: 12px; align-items: center;
  padding-top: calc(var(--header-h) + 12px); padding-bottom: 40px;
}
.hero-copy { transform: translateY(calc(var(--p, 0) * -90px)); opacity: calc(1 - var(--p, 0) * 1.6); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); font-weight: 800; }
.hero h1 .h1-a { display: block; }
.hero h1 .h1-b { display: block; margin-top: 8px; font-size: 0.86em; line-height: 1.04; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; justify-self: center; }
.hero-crew {
  width: min(560px, 44vw); height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(63, 207, 190, 0.12));
  transform: translateY(calc(var(--p, 0) * -140px)) scale(calc(1 + var(--p, 0) * 0.12));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -14px; } }
.hero-ship {
  position: absolute; z-index: 3; left: 0; top: 0; width: clamp(150px, 20vw, 300px); height: auto; pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(63, 207, 190, 0.45)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
  transform: translate3d(var(--sx, -30vw), var(--sy, 70vh), 0) rotate(var(--sr, -14deg)) scale(var(--ss, 0.7)) scaleX(var(--sf, 1));
  will-change: transform;
}
.ship-flame { transform-origin: 64px 50px; animation: flame 0.14s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scaleX(0.82); opacity: 0.85; } to { transform: scaleX(1.12); opacity: 1; } }
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: calc(1 - var(--p, 0) * 4);
}
.scroll-cue i { width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
  .hero-copy { max-width: 640px; }
}
@media (max-width: 899px) {
  .hero-vignette { background: linear-gradient(180deg, rgba(5, 8, 7, 0.75) 0%, rgba(5, 8, 7, 0.55) 45%, rgba(5, 8, 7, 0.95) 100%); }
  .hero-art { order: -1; margin-bottom: -8px; }
  .hero-crew { width: min(300px, 64vw); }
  /* Phones: the copy is taller than the screen, so the hero scrolls normally
     (the ship still crosses it) instead of pinning and fading out. */
  .hero { height: auto; }
  .hero-pin { position: relative; min-height: 100vh; min-height: 100svh; height: auto; align-items: flex-start; }
  .hero-copy { transform: none; opacity: 1; }
  .scroll-cue { display: none; }
}
@media (max-width: 899px) and (max-height: 760px) { .hero-crew { width: min(210px, 50vw); } }
/* Phone held sideways: no room for the artwork beside the copy. */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 560px) {
  .hero-art { display: none; }
  .hero h1 { font-size: clamp(2rem, 5.4vw, 3rem); }
  .hero-pin { align-items: flex-start; }
  .stores { display: none; }
  .hero .stores { display: none; }
}

/* ---------- Marquee strip ---------- */
.strip { position: relative; z-index: 2; border-block: 1px solid var(--line); background: linear-gradient(90deg, #070b09, #0d1511, #070b09); overflow: hidden; }
/* A plain horizontal scroller until main.js doubles the row and starts the loop (.looping). */
.marquee { overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee::-webkit-scrollbar, .bots-marquee::-webkit-scrollbar { display: none; }
.marquee.looping { overflow: hidden; }
.marquee-track { display: flex; gap: 46px; width: max-content; margin: 0; padding: 18px 24px; list-style: none; }
/* Spacing as a trailing margin, not `gap`: the doubled row must be exactly two equal halves for -50% to loop without a jump. */
.marquee-track.looping { gap: 0; padding-inline: 0; animation: marquee 38s linear infinite; }
.marquee-track.looping > li { margin-right: 46px; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; color: #d8d3c4; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.marquee-track .ic { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Voyage (scroll-driven map) ---------- */
/* Static by default (no JavaScript, or reduced motion): heading, the whole map, then every
   station as a card. `.motion` (set in <head>) turns it into the pinned, camera-follow scene. */
.voyage { position: relative; background: #000; padding-bottom: clamp(60px, 9vw, 110px); }
.voyage-pin { position: relative; display: flex; flex-direction: column; }
.voyage-stage { position: relative; width: 100%; aspect-ratio: 1672 / 941; overflow: hidden; }
.voyage-svg { display: none; }
.js .voyage-svg { display: block; }
.voyage-shade, .voyage-card { display: none; }
.voyage-list ol { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .voyage-list ol { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.voyage-list li { padding: 18px 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8, 11, 10, 0.85); color: #c9cec9; font-size: 0.93rem; }
.voyage-list > h3 { font-size: 1.15rem; color: var(--gold-bright); }
.voyage-list h4 { font: 700 1.3rem/1.15 "Inter Tight", Heebo, sans-serif; margin: 6px 0 0; color: var(--text); }
.voyage-list .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.voyage-list .saloon { color: var(--tiffany); font-style: italic; margin: 2px 0 8px; }
@media (max-width: 759px) { .voyage .stations { display: none; } }
.motion .voyage { height: 520vh; height: 520svh; padding-bottom: 0; }
.motion .voyage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: block; }
.motion .voyage-stage { position: absolute; left: 0; top: 0; aspect-ratio: auto; overflow: visible; transform-origin: 0 0; will-change: transform; }
.motion .voyage-shade, .motion .voyage-card { display: block; }
.motion .voyage .stations { display: block; }
.motion .voyage-list { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.voyage-stage > img { width: 100%; height: 100%; object-fit: cover; }
.voyage-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-bg { fill: none; stroke: rgba(240, 207, 114, 0.22); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.route { fill: none; stroke: var(--gold-bright); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(240, 207, 114, 0.8)); }
[data-voyage-ship] { filter: drop-shadow(0 0 16px rgba(63, 207, 190, 0.6)); }
.stations { list-style: none; margin: 0; padding: 0; }
.stations li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); }
.stations li::before {
  content: ""; display: block; width: 18px; height: 18px; margin: 0 auto; border-radius: 50%;
  border: 2px solid rgba(240, 207, 114, 0.6); background: rgba(0, 0, 0, 0.6); transition: all 0.4s var(--ease);
}
.stations li span {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 700 0.8rem/1 Inter, Heebo, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.6); padding: 6px 9px; border-radius: 6px; transition: color 0.4s;
}
.stations li.on::before { background: var(--gold-bright); border-color: #fff; box-shadow: 0 0 0 8px rgba(240, 207, 114, 0.2), 0 0 26px var(--gold-bright); }
.stations li.on span { color: var(--gold-bright); }
.voyage-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 28%, transparent 62%, rgba(0, 0, 0, 0.85) 100%); }
.voyage-ui { order: -1; position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; pointer-events: none; }
.motion .voyage-ui { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--header-h) + 8px); padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.voyage-head h2 { font-size: clamp(1.7rem, 4.4vw, 3.2rem); max-width: 16em; text-shadow: 0 4px 24px #000; }
.voyage-head .eyebrow { margin-bottom: 10px; }
.voyage-card {
  pointer-events: auto; width: min(420px, 100%); padding: 22px 22px 18px; border-radius: var(--radius);
  background: rgba(8, 11, 10, 0.78); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.voyage-card .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.voyage-card h3 { font-size: 1.6rem; margin-top: 6px; }
.voyage-card .saloon { color: var(--tiffany); font-style: italic; margin: 2px 0 10px; }
.voyage-card p:not(.kicker):not(.saloon) { color: #c9cec9; font-size: 0.95rem; }
.voyage-card.swap h3, .voyage-card.swap p { animation: swapIn 0.5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } }
.xpbar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); margin-top: 16px; overflow: hidden; }
.xpbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); box-shadow: 0 0 12px var(--gold); }
.v-dots { display: flex; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.v-dots li { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); transition: background 0.3s; }
.v-dots li.on { background: var(--tiffany); }
@media (max-width: 899px) { .stations li span { font-size: 0.68rem; } }

/* ---------- Generic sections ---------- */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #dcdcd5; }
.ticks .ic { color: var(--tiffany); margin-top: 3px; }

.shot { margin: 0; position: relative; border-radius: var(--radius); }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.02); width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.shot.glow::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(212, 172, 86, 0.35), transparent); filter: blur(30px); z-index: -1; }
.shot.tilt img { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform 0.8s var(--ease); }
.shot.tilt:hover img { transform: perspective(1400px) rotateY(0) rotateX(0); }
[data-parallax] { will-change: transform; }

/* Reveal on scroll — only hides content once JS is known to be running. */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Join ---------- */
.join { background: radial-gradient(ellipse at 20% 0%, rgba(30, 80, 60, 0.25), transparent 60%), var(--bg); }
.join-grid { display: grid; gap: 40px; }
.join-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); transition: border-color 0.4s, background 0.4s; }
.step .num { font: 700 0.82rem/1 "Inter Tight", Heebo, sans-serif; letter-spacing: 0.18em; color: var(--gold); }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 10px 0 10px; }
.step p { color: #c9cec9; }
.step .btn { margin-top: 22px; }
.step-img { margin-top: 20px; border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }
.step[data-step="0"] .step-img { max-width: 260px; margin-inline: auto; }
.join-visual { display: none; }
@media (min-width: 960px) {
  .join-grid { grid-template-columns: 1.15fr 0.85fr; gap: 70px; }
  .join-visual { display: block; position: sticky; top: calc(var(--header-h) + 40px); height: calc(100vh - var(--header-h) - 80px); }
  .frame { position: relative; height: 100%; border-radius: 22px; border: 1px solid var(--line); background: #070b09; overflow: hidden; box-shadow: 0 50px 100px -40px #000, 0 0 60px -20px rgba(212, 172, 86, 0.3); }
  .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
  .frame img.on { opacity: 1; transform: none; }
  .join-steps { gap: 0; padding-block: 10vh 20vh; }
  .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-color: transparent; background: none; opacity: 0.35; transition: opacity 0.5s; }
  .step.on { opacity: 1; }
  .step-img { display: none; }
  .step .btn { align-self: flex-start; }
}

/* ---------- Gallery (pinned horizontal) ---------- */
/* A swipeable row by default (no JavaScript, or reduced motion); `.motion` pins it and
   main.js slides the track sideways as the page scrolls. */
.gallery { position: relative; background: linear-gradient(180deg, var(--bg), #060a08); padding-block: clamp(80px, 12vw, 150px); }
.gallery-pin { display: flex; flex-direction: column; gap: clamp(20px, 4vh, 40px); }
.gallery-track { display: flex; gap: clamp(16px, 3vw, 36px); padding: 0 var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.card-shot { margin: 0; width: min(78vw, 560px); flex: none; scroll-snap-align: start; }
.motion .gallery { height: 340vh; height: 340svh; padding-block: 0; }
.motion .gallery-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; justify-content: center; padding-top: var(--header-h); }
.motion .gallery-track { width: max-content; overflow: visible; padding-bottom: 0; will-change: transform; }
.card-shot img { width: 100%; height: auto; aspect-ratio: 16 / 12; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px #000; }
.card-shot figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.card-shot b { font-family: "Inter Tight", Heebo, sans-serif; font-size: 1.15rem; }
.card-shot span { color: var(--muted); font-size: 0.92rem; }
@media (max-height: 700px) { .card-shot { width: min(70vw, 420px); } .card-shot img { aspect-ratio: 16 / 10; } }

/* ---------- VIP ---------- */
.vip { overflow: hidden; border-block: 1px solid var(--line); }
.vip-bg { position: absolute; inset: 0; z-index: -1; }
.vip-bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.28; filter: saturate(0.9); }
.vip-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(5, 8, 7, 0.7) 60%, rgba(5, 8, 7, 0.85)); }
.vip h2 em { color: var(--gold-bright); }
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.45); }
.feature .ic { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.93rem; margin-top: 2px; }

/* ---------- Friends & bots ---------- */
.duo { display: grid; gap: 22px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { position: relative; padding: 32px 28px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(165deg, #0f1814, #070b09); overflow: hidden; }
.panel h3 { font-size: 1.5rem; margin: 18px 0 10px; }
.panel p { color: #c9cec9; }
.panel .btn { margin-top: 24px; }
.panel-bots { padding-top: 0; }
.crew-sm { width: 76%; max-width: 340px; height: auto; margin: -6px auto 0; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)); }
/* The bot row is a real scroller: swipe or drag either way, or use the arrows. main.js
   drifts it along slowly (pausing while you touch, hover or focus it) and wraps it seamlessly. */
/* Arrows sit in a centred pair under the row, so they never cover a card. */
.bots-carousel { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.bots-carousel > .bots-marquee { flex: 0 0 100%; order: -1; }
.bots-nav { display: none; }
.js .bots-nav {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: var(--gold-bright); cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.js .bots-nav:hover { border-color: var(--gold); background: rgba(212, 172, 86, 0.1); }
.bots-nav .ic { width: 20px; height: 20px; }
.bots-prev .ic { transform: scaleX(-1); }
.bots-marquee { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bots-track { display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 8px var(--gutter) 18px; }
/* Doubled for the wrap-around: equal halves, so spacing is a trailing margin rather than `gap`. */
.bots-track.looping { gap: 0; padding-inline: 0; }
.bots-track.looping > li { margin-right: 18px; }
.bots-track li { position: relative; width: 170px; flex: none; padding: 14px 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #101a16, #070b09); text-align: center; }
.bots-track img { width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 22px rgba(63, 207, 190, 0.25); }
.bots-track b { display: block; font-family: "Inter Tight", Heebo, sans-serif; font-size: 1.02rem; }
.bots-track span { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.bots-track i { position: absolute; top: 12px; inset-inline-end: 12px; font: 700 0.62rem/1 Inter, Heebo, sans-serif; font-style: normal; letter-spacing: 0.08em; color: #bff8ef; background: rgba(63, 207, 190, 0.16); border: 1px solid rgba(63, 207, 190, 0.6); padding: 4px 6px; border-radius: 5px; }

/* ---------- Chips ---------- */
.chips-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 70px);
  border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% -10%, rgba(212, 172, 86, 0.28), transparent 60%), linear-gradient(180deg, #0f1713, #060a08);
}
.chips-card h2 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); }
.count { background: linear-gradient(180deg, #fff3c7, var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.chip-perks { display: grid; gap: 14px; margin: 36px auto 34px; max-width: 900px; }
@media (min-width: 760px) { .chip-perks { grid-template-columns: repeat(3, 1fr); } }
.chip-perks div { padding: 20px 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(0, 0, 0, 0.35); }
.chip-perks b { display: block; font: 800 1.7rem/1.1 "Inter Tight", Heebo, sans-serif; color: var(--gold-bright); }
.chip-perks span { color: #c9cec9; font-size: 0.93rem; }
.chips-card .fine { margin-top: 18px; }
.chip-stack { position: absolute; inset-inline-end: clamp(-30px, 2vw, 40px); top: 30px; width: 110px; height: 140px; opacity: 0.85; pointer-events: none; }
.chip-stack i { position: absolute; left: 0; width: 100px; height: 28px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #f8df91, #b4872f 70%); border: 3px dashed rgba(5, 8, 7, 0.55); box-shadow: 0 6px 0 #6e5020, 0 10px 20px rgba(0, 0, 0, 0.5); animation: chipDrop 3.6s var(--ease) infinite; }
.chip-stack i:nth-child(1) { bottom: 0; animation-delay: 0s; }
.chip-stack i:nth-child(2) { bottom: 14px; animation-delay: 0.12s; }
.chip-stack i:nth-child(3) { bottom: 28px; animation-delay: 0.24s; background: radial-gradient(ellipse at 50% 40%, #a9f3ea, #2a9e91 70%); box-shadow: 0 6px 0 #145a52, 0 10px 20px rgba(0, 0, 0, 0.5); }
.chip-stack i:nth-child(4) { bottom: 42px; animation-delay: 0.36s; }
.chip-stack i:nth-child(5) { bottom: 56px; animation-delay: 0.48s; }
@keyframes chipDrop { 0% { transform: translateY(-80px); opacity: 0; } 18% { transform: none; opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 1023px) { .chip-stack { display: none; } }

/* ---------- Invite ---------- */
.invite { padding-block: clamp(60px, 9vw, 110px); background: linear-gradient(90deg, rgba(37, 211, 102, 0.07), transparent 50%), var(--bg-2); border-block: 1px solid var(--line-soft); }
.invite-row { display: grid; gap: 24px; align-items: center; }
.invite-row .btn-row { margin-top: 0; }
@media (min-width: 900px) { .invite-row { grid-template-columns: 1.3fr 1fr; } .invite-row .btn-row { justify-content: flex-end; } }
@media (max-width: 520px) { .invite-row .btn { width: 100%; } }

/* ---------- Apps ---------- */
.phone { margin: 0 auto; width: min(300px, 72vw); padding: 12px; border-radius: 44px; background: linear-gradient(145deg, #2a2f2c, #050807); border: 1px solid var(--line); box-shadow: 0 50px 90px -30px #000, 0 0 60px -20px rgba(212, 172, 86, 0.35); }
.phone img { border-radius: 34px; width: 100%; height: auto; }
@media (max-width: 899px) { .apps .split > .phone { order: 2; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s; }
.faq-list details[open] { border-color: var(--line); background: rgba(212, 172, 86, 0.04); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.6rem/1 Inter, Heebo, sans-serif; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 20px; color: #c9cec9; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 200px); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5, 8, 7, 0.4), var(--bg) 75%); }
.final h2 { font-size: clamp(2.3rem, 6.6vw, 4.8rem); }
.final .lead { margin-inline: auto; }
.final-ship { position: absolute; top: 18%; left: 0; width: clamp(110px, 14vw, 200px); transform: translateX(var(--fx, -30vw)) rotate(-6deg); filter: drop-shadow(0 0 18px rgba(63, 207, 190, 0.5)); pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-top: 60px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); background: #030504; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.footer-grid img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-grid h3 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-grid nav { display: flex; flex-direction: column; }
.footer-grid nav a { color: #c9cec9; text-decoration: none; padding: 11px 0; font-size: 0.93rem; word-break: break-word; }
.footer-grid nav a:hover { color: var(--gold-bright); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.85rem; }
.age { border: 1.5px solid var(--muted); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }

/* ---------- Dock: sticky bar on phones, floating WhatsApp on desktop ---------- */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 8, 7, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft);
  transform: translateY(110%); transition: transform 0.4s var(--ease);
}
.dock.show { transform: none; }
.dock .btn-gold { flex: 1; }
.dock-wa { padding: 0 18px; }
@media (min-width: 860px) {
  .dock { inset-inline-start: auto; inset-inline-end: 24px; bottom: 24px; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dock .btn-gold { display: none; }
  .dock-wa { width: 62px; height: 62px; border-radius: 50%; padding: 0; }
  .dock-wa .ic { width: 30px; height: 30px; }
  .dock-wa span { display: none; }
}

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--gold); color: #140f04; font-weight: 700; padding: 12px 18px; border-radius: 10px; box-shadow: 0 20px 40px -10px #000; animation: swapIn 0.3s var(--ease); }

/* ---------- Right-to-left (Hebrew) ---------- */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em { font-family: "Inter Tight", Heebo, sans-serif; font-style: normal; font-weight: 500; letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .voyage-card .kicker, [dir="rtl"] .voyage-list .kicker, [dir="rtl"] .stations li span, [dir="rtl"] .footer-grid h3, [dir="rtl"] .scroll-cue { letter-spacing: 0.03em; }
[dir="rtl"] .btn .ic-end { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ic-end { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hero-vignette {
  background:
    radial-gradient(ellipse at 30% 45%, transparent 0%, rgba(5, 8, 7, 0.35) 55%, rgba(5, 8, 7, 0.9) 100%),
    linear-gradient(270deg, rgba(5, 8, 7, 0.92) 0%, rgba(5, 8, 7, 0.55) 42%, rgba(5, 8, 7, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
[dir="rtl"] .hero-galaxy { object-position: 40% 40%; }
[dir="rtl"] .vip-bg::after { background: linear-gradient(270deg, var(--bg) 10%, rgba(5, 8, 7, 0.7) 60%, rgba(5, 8, 7, 0.85)); }
[dir="rtl"] .invite { background: linear-gradient(270deg, rgba(37, 211, 102, 0.07), transparent 50%), var(--bg-2); }
[dir="rtl"] .shot.tilt img { transform: perspective(1400px) rotateY(8deg) rotateX(3deg); }
[dir="rtl"] .shot.tilt:hover img { transform: perspective(1400px) rotateY(0) rotateX(0); }
[dir="rtl"] .final-ship { left: auto; right: 0; transform: translateX(calc(var(--fx, -30vw) * -1)) rotate(6deg) scaleX(-1); }
/* Scrolling rows run left-to-right in every language; their contents stay RTL. */
[dir="rtl"] .marquee-track, [dir="rtl"] .bots-carousel, [dir="rtl"] .bots-marquee, [dir="rtl"] .bots-track, [dir="rtl"] .gallery-pin { direction: ltr; }
[dir="rtl"] .marquee-track > li, [dir="rtl"] .bots-track > li, [dir="rtl"] .card-shot, [dir="rtl"] .gallery-head { direction: rtl; }
[dir="rtl"] .hero-galaxy { left: -6%; right: auto; }
@media (max-width: 899px) {
  [dir="rtl"] .hero-vignette { background: linear-gradient(180deg, rgba(5, 8, 7, 0.75) 0%, rgba(5, 8, 7, 0.55) 45%, rgba(5, 8, 7, 0.95) 100%); }
}

/* ---------- Short screens (a phone held sideways) ---------- */
@media (max-height: 500px) {
  .voyage-head h2 { font-size: 1.4rem; }
  .voyage-head .eyebrow { display: none; }
  .voyage-card { padding: 12px 16px; width: min(340px, 100%); }
  .voyage-card h3 { font-size: 1.15rem; margin-top: 2px; }
  .voyage-card .saloon { margin-bottom: 0; font-size: 0.85rem; }
  .voyage-card [data-v-desc], .voyage-card .v-dots { display: none; }
  .voyage-card .xpbar { margin-top: 8px; }
  .voyage-ui { padding-bottom: 76px; }
  .motion .gallery-pin { gap: 12px; padding-top: calc(var(--header-h) - 8px); padding-bottom: 66px; }
  .gallery-head h2 { font-size: 1.4rem; }
  .gallery-head .eyebrow { display: none; }
  .card-shot { width: 300px; }
  .card-shot img { aspect-ratio: 16 / 9; }
  .card-shot figcaption { margin-top: 6px; }
  .card-shot span { display: none; }
  .join-visual { display: none; }
}

/* ---------- Reduced motion: keep everything, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; min-height: 100svh; }
  .hero-ship, .final-ship { display: none; }
}
