/* =====================================================================
   FlokSea design system: playful, bright, premium
   ===================================================================== */
:root {
  --blue: #2f5bff;
  --blue-deep: #1a2fa8;
  --blue-ink: #0f1a5c;
  --ink: #14237a;           /* base text colour: deep brand blue (like Bloom's green) */
  --ink-2: #3f4f99;
  --muted: #7a86bd;
  --line: #e4e8f7;
  --bg: #f7f9ff;
  --white: #ffffff;
  --sky: #e2edff;
  --sky-2: #c9dcff;
  --lilac: #eee6ff;
  --mint: #d9f7e8;
  --butter: #fff3c2;
  --peach: #ffe2d4;
  --pink: #ff7ab6;
  --yellow: #ffd23f;
  --green: #1fbf7f;
  --orange: #ff8a47;
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 2px 0 rgba(17,22,51,.04), 0 10px 30px rgba(47,91,255,.08);
  --shadow-lg: 0 20px 60px rgba(47,91,255,.18);
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 .45em; font-weight: 800; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--white); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.section-title { font-size: clamp(34px, 5.2vw, 64px); }
.section-sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--ink-2); max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .36em; background: var(--yellow); border-radius: 8px; z-index: -1; transform: rotate(-1.5deg); }
.hl.pink::after { background: var(--pink); opacity: .55; }
.hl.mint::after { background: #9ff0c9; }

/* ---------- Announcement marquee ---------- */
.marquee { background: var(--blue-ink); color: #fff; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14px; }
.marquee .track { display: inline-flex; gap: 42px; padding: 9px 0; animation: marquee 38s linear infinite; }
.marquee span::before { content: "✦"; color: var(--yellow); margin-right: 42px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 1200; background: rgba(247,249,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(17,22,51,.05); }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 12px rgba(47,91,255,.25); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .mark { transform: rotate(-12deg) scale(1.08); }
nav.main { display: flex; gap: 6px; margin-left: auto; align-items: center; }
nav.main a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
nav.main a:hover { background: var(--sky); text-decoration: none; }
nav.main a.active { background: var(--sky); color: var(--blue); }
nav.main a.btn, nav.main a.btn:hover { color: #fff; padding: 10px 18px; background: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: var(--white); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; cursor: pointer; background: var(--blue); color: #fff; font-family: var(--font); box-shadow: 0 4px 0 var(--blue-deep); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 0 var(--blue-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-deep); }
.btn.yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #d9a800; }
.btn.yellow:hover { box-shadow: 0 6px 0 #d9a800; }
.btn.white { background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--sky-2); }
.btn.pink { background: var(--pink); box-shadow: 0 4px 0 #d94f90; }
.btn.green { background: var(--green); box-shadow: 0 4px 0 #13905e; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--sky-2); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.big { padding: 18px 30px; font-size: 18px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.linkish { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0; font-family: inherit; font-weight: 600; }
.linkish:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 70px; overflow: hidden; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; z-index: -1; }
.hero .b1 { width: 520px; height: 520px; background: var(--sky-2); top: -160px; right: -120px; }
.hero .b2 { width: 380px; height: 380px; background: var(--lilac); bottom: -140px; left: -120px; }
.hero .b3 { width: 260px; height: 260px; background: #c9f3ef; top: 40%; left: 40%; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 82px); margin-top: 18px; }
.hero .lead { font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 540px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.trust { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); font-weight: 600; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars .avatar { margin-left: -10px; border: 3px solid var(--bg); }
.avatars .avatar:first-child { margin-left: 0; }

/* ---------- Explainer "video" ---------- */
.player { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; transform: rotate(1.2deg); transition: transform .4s; }
.player:hover { transform: rotate(0deg) scale(1.01); }
.player .screen { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #dcebff 0%, #f1f6ff 70%); aspect-ratio: 16 / 10; }
.player svg.stage { display: block; width: 100%; height: 100%; }
.player .caption { position: absolute; left: 16px; right: 16px; bottom: 58px; text-align: center; pointer-events: none; }
.player .caption span { display: inline-block; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.7vw, 19px); padding: 8px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgba(17,22,51,.25); transform: translateY(8px); opacity: 0; transition: all .35s cubic-bezier(.34,1.56,.64,1); }
.player .caption span.show { transform: translateY(0); opacity: 1; }
.player .controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 12px 6px 6px; }
.player .pp { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.player .bar { flex: 1; height: 6px; background: var(--sky); border-radius: 99px; position: relative; overflow: hidden; cursor: pointer; }
.player .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--blue), var(--pink)); border-radius: 99px; }
.player .chapters { display: flex; gap: 4px; }
.player .chapters button { border: 0; background: var(--sky); color: var(--blue); font-weight: 800; font-size: 11px; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-family: var(--font); }
.player .chapters button.on { background: var(--blue); color: #fff; }
.player .snd { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--butter); cursor: pointer; font-size: 15px; display: grid; place-items: center; flex-shrink: 0; }
.player .big-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,26,92,.18); border: 0; cursor: pointer; transition: opacity .3s; }
.player .big-play span { width: 86px; height: 86px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 30px; color: var(--blue); box-shadow: 0 10px 40px rgba(17,22,51,.3); animation: pulse 2s infinite; }
.player .big-play.hide { opacity: 0; pointer-events: none; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.sticker { position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 800; text-align: center; line-height: 1; display: grid; place-items: center; border-radius: 50%; }
.sticker.free { width: 104px; height: 104px; background: var(--yellow); top: -26px; left: -30px; transform: rotate(-14deg); font-size: 17px; box-shadow: 0 8px 20px rgba(217,168,0,.35); animation: spin-wobble 6s ease-in-out infinite; }
.sticker.free b { display: block; font-size: 30px; }
@keyframes spin-wobble { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(-4deg) scale(1.04); } }

/* Stage animation classes */
.stage .scene { opacity: 0; transition: opacity .45s; }
.stage .scene.on { opacity: 1; }
.stage .pop { transform-box: fill-box; transform-origin: center bottom; transform: scale(0); }
.stage .on .pop { animation: pop .55s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes pop { to { transform: scale(1); } }
.stage .bounce { transform-box: fill-box; transform-origin: center bottom; }
.stage .on .bounce { animation: bounce 1.2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0) scaleY(1); } 45% { transform: translateY(-10px) scaleY(1.03); } 55% { transform: translateY(-10px) scaleY(1.03); } }
.stage .on .jump { animation: jump .7s ease-in-out infinite alternate; }
@keyframes jump { from { transform: translateY(0); } to { transform: translateY(-26px); } }
.stage .blink { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.stage .walk { transform: translateX(-340px); }
.stage .on .walk { animation: walk 2.2s cubic-bezier(.3,.7,.4,1) forwards; }
@keyframes walk { to { transform: translateX(0); } }
.stage .fadein { opacity: 0; }
.stage .on .fadein { animation: fadein .5s ease forwards; }
@keyframes fadein { to { opacity: 1; } }
.stage .strike { stroke-dasharray: 220; stroke-dashoffset: 220; }
.stage .on .strike { animation: strike .5s ease forwards; }
@keyframes strike { to { stroke-dashoffset: 0; } }
.stage .sweat { opacity: 0; }
.stage .on .sweat { animation: sweat 1s ease-in infinite; }
@keyframes sweat { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.stage .d1 { animation-delay: .2s !important; } .stage .d2 { animation-delay: .6s !important; } .stage .d3 { animation-delay: 1s !important; }
.stage .d4 { animation-delay: 1.4s !important; } .stage .d5 { animation-delay: 1.8s !important; } .stage .d6 { animation-delay: 2.2s !important; }
.stage .d7 { animation-delay: 2.6s !important; } .stage .d8 { animation-delay: 3s !important; } .stage .d9 { animation-delay: 3.4s !important; }
.stage .ring { transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
.stage .ring.r2 { animation-delay: 1s; }
@keyframes ring { from { transform: scale(.6); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
.stage .drift { animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(-220px); } to { transform: translateX(900px); } }
.stage.paused, .stage.paused * { animation-play-state: paused !important; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(-40px) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -10px; }
.stat { background: #fff; border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.stat .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.stat small { color: var(--ink-2); font-weight: 600; font-size: 14px; }

/* ---------- Sections ---------- */
.band { padding: 90px 0; position: relative; }
.band.sky { background: var(--sky); }
.band.lilac { background: var(--lilac); }
.band.butter { background: var(--butter); }
.band.mint { background: var(--mint); }
.band.ink { background: var(--blue-ink); color: #fff; }
.band.rounded { border-radius: 48px; margin: 0 14px; }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }

/* ---------- World map ---------- */
.map-shell { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #cfe3ff; border: 6px solid #fff; }
#worldmap { height: min(72vh, 640px); min-height: 440px; width: 100%; background: #cfe3ff; }
.map-panel { position: absolute; z-index: 800; top: 18px; left: 18px; width: 330px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-lg); }
.map-panel h3 { font-size: 22px; margin-bottom: 4px; }
.map-panel p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.map-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.map-chip { position: absolute; z-index: 800; bottom: 18px; left: 18px; background: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); border: 0; cursor: pointer; font-family: var(--font); color: var(--ink); }
.map-chip:hover { background: var(--butter); }
.map-legend { position: absolute; z-index: 800; bottom: 18px; right: 18px; background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); color: var(--ink-2); }
.map-fallback { display: none; position: absolute; inset: 0; z-index: 700; place-items: center; text-align: center; padding: 30px; background: radial-gradient(circle at 30% 30%, #e7f0ff, #bcd4ff); }
.map-fallback .globe { font-size: 90px; animation: spin-wobble 6s ease-in-out infinite; }
.map-fallback .chips { justify-content: center; margin-top: 16px; }
.pin { position: relative; width: 46px; height: 46px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(17,22,51,.25); border: 3px solid #fff; transition: transform .2s; }
.pin:hover { transform: rotate(-45deg) scale(1.12); }
.pin .e { transform: rotate(45deg); font-size: 20px; line-height: 1; }
.pin .n { position: absolute; top: -8px; right: -10px; transform: rotate(45deg); background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; font-family: var(--font); }
.cluster { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 0 0 8px rgba(47,91,255,.25), 0 8px 20px rgba(17,22,51,.25); }
.cluster.m { width: 64px; height: 64px; background: var(--pink); box-shadow: 0 0 0 10px rgba(255,122,182,.28), 0 8px 20px rgba(17,22,51,.25); }
.cluster.l { width: 76px; height: 76px; background: var(--orange); font-size: 22px; box-shadow: 0 0 0 12px rgba(255,138,71,.28), 0 8px 20px rgba(17,22,51,.25); }
.leaflet-div-icon { background: transparent; border: 0; }
.leaflet-popup-content-wrapper { border-radius: 20px; box-shadow: var(--shadow-lg); padding: 4px; }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font); min-width: 220px; }
.leaflet-popup-content h4 { font-family: var(--font-display); font-size: 18px; margin: 6px 0; line-height: 1.1; }
.leaflet-container a.leaflet-popup-close-button { top: 8px; right: 8px; }
.leaflet-container { font-family: var(--font); }

/* ---------- Categories ---------- */
.cats { display: flex; gap: 12px; flex-wrap: wrap; }
.cat { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: transform .15s, border-color .15s; font-family: var(--font); color: var(--ink); box-shadow: var(--shadow); }
.cat:hover { transform: translateY(-3px) rotate(-1deg); }
.cat.on { border-color: var(--blue); }
.cat .e { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }

/* ---------- Filters ---------- */
.filterbar { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.filterbar .search { position: relative; }
.filterbar .search::before { content: "🔎"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 16px; }
.filterbar .search input { padding-left: 42px; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin: 6px 4px 20px; font-weight: 600; }
label.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }

input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; font-size: 15px; font-family: var(--font); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; font-weight: 500;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2314237a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,255,.14); }
input:disabled { background: #f3f4fa; color: var(--muted); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Group cards ---------- */
.threads { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.tcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); color: inherit; overflow: hidden; transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; }
.tcard:hover { text-decoration: none; transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.tcard .top { padding: 18px 18px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tcard .emoji { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; flex-shrink: 0; transition: transform .3s; }
.tcard:hover .emoji { transform: rotate(-8deg) scale(1.08); }
.tcard .body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard h3 { font-size: 20px; margin: 0; line-height: 1.15; color: var(--ink); }
.tcard .desc { color: var(--ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.tcard .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--blue-deep); font-weight: 700; white-space: nowrap; }
.chip.loc { background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink); }
.chip.status-open { background: var(--mint); color: #0d7a4f; }
.chip.status-negotiating { background: var(--butter); color: #8a6100; }
.chip.status-deal_found { background: var(--peach); color: #b3401a; }
.chip.status-closed { background: #eee; color: #777; }
.meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; font-weight: 500; }
.progress { height: 12px; background: var(--sky); border-radius: 99px; overflow: hidden; position: relative; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--blue), #7b5cff 60%, var(--pink)); border-radius: 99px; position: relative; transition: width .8s cubic-bezier(.34,1.2,.64,1); }
.progress > div::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 8px, transparent 8px 16px); animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 22px 0; } }
.count-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.count-line b { color: var(--ink); font-family: var(--font-display); font-size: 18px; }
.youre-in { color: var(--green); font-weight: 800; font-size: 13px; }

.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); grid-column: 1 / -1; }
.empty .big-e { font-size: 60px; display: block; margin-bottom: 8px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { border-radius: var(--r-lg); padding: 28px 24px; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.step:hover { transform: translateY(-6px) rotate(-1deg); }
.step:nth-child(1) { background: #fff; } .step:nth-child(2) { background: var(--butter); } .step:nth-child(3) { background: var(--lilac); } .step:nth-child(4) { background: var(--mint); }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 15px; background: var(--ink); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.step .art { font-size: 64px; margin-top: auto; line-height: 1; }
.step h3 { font-size: 26px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--r); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-2); }

/* ---------- Big CTA ---------- */
.cta-big { background: var(--blue); color: #fff; border-radius: 48px; padding: 70px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-big h2 { font-size: clamp(38px, 6vw, 76px); }
.cta-big p { font-size: 19px; opacity: .9; max-width: 560px; margin: 0 auto 28px; }
.cta-big .float { position: absolute; font-size: 54px; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }

/* ---------- Thread page ---------- */
.page { padding: 34px 0 80px; }
.grid-2 { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; }
.card h3 { font-size: 22px; }
.thread-hero { border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; }
.thread-hero .emoji { width: 84px; height: 84px; border-radius: 26px; background: #fff; display: grid; place-items: center; font-size: 46px; box-shadow: var(--shadow); margin-bottom: 16px; }
.thread-hero h1 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 12px; }
.thread-body { white-space: pre-wrap; word-wrap: break-word; font-size: 17px; }
.join-box { position: sticky; top: 92px; }
.join-box .big { font-family: var(--font-display); font-size: 72px; font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--blue); }
.join-box .of { color: var(--ink-2); font-size: 15px; font-weight: 600; margin: 6px 0 14px; }
.join-box .actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; background: var(--sky); border-radius: 999px; padding: 4px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; font-weight: 700; cursor: pointer; color: var(--blue); }
.qty span { min-width: 36px; text-align: center; font-weight: 800; font-size: 17px; }
.members { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800; flex-shrink: 0; font-family: var(--font); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; font-family: var(--font); text-decoration: none; }
.s-wa { background: #d8f8e2; color: #117a3a; } .s-fb { background: #e2ebff; color: #1a45b8; } .s-x { background: #eceef4; color: #111; } .s-copy { background: var(--butter); color: #7a5500; }
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 2px dashed var(--line); }
.comment:last-child { border-bottom: 0; }
.comment .who { font-weight: 800; font-size: 14px; }
.comment .when { color: var(--muted); font-size: 12px; margin-left: 6px; font-weight: 500; }
.comment .bubble { background: var(--bg); border-radius: 4px 18px 18px 18px; padding: 10px 14px; margin-top: 6px; white-space: pre-wrap; word-wrap: break-word; font-size: 15px; display: inline-block; max-width: 100%; }
.comment .tools { margin-top: 6px; display: flex; gap: 12px; }
.badge-author { font-size: 11px; background: var(--yellow); color: var(--ink); padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 800; }
.tips { background: var(--lilac); box-shadow: none; }
.tips ol { padding-left: 20px; margin: 0; font-size: 15px; }
.tips li { margin-bottom: 8px; }

/* ---------- Create form ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice { position: relative; border: 2px solid var(--line); border-radius: 18px; padding: 14px 10px; text-align: center; cursor: pointer; background: #fff; transition: all .15s; font-weight: 700; font-size: 14px; }
.choice .e { display: block; font-size: 28px; margin-bottom: 4px; transition: transform .2s; }
.choice:hover .e { transform: scale(1.15) rotate(-6deg); }
.choice small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--sky); box-shadow: 0 4px 0 var(--sky-2); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cat-grid .choice { padding: 10px 6px; font-size: 12px; }
.cat-grid .choice .e { font-size: 22px; }
.preview-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }

/* ---------- Content pages ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(38px, 5vw, 60px); }
.prose h2 { margin-top: 1.6em; font-size: 28px; }
.prose li { margin-bottom: 8px; }

/* ---------- Notices, toast, confetti ---------- */
.notice { padding: 14px 18px; border-radius: 16px; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.notice.info { background: var(--sky); color: var(--blue-deep); }
.notice.err { background: #ffe4ea; color: #a8173c; }
.notice.ok { background: var(--mint); color: #0d7a4f; }
.demo-pill { position: fixed; left: 16px; bottom: 16px; z-index: 2500; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.demo-pill b { color: var(--yellow); }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; z-index: 3000; opacity: 0; transition: all .3s cubic-bezier(.34,1.56,.64,1); pointer-events: none; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#cookie { position: fixed; bottom: 16px; right: 16px; max-width: 360px; background: #fff; box-shadow: var(--shadow-lg); border-radius: 20px; padding: 16px 18px; font-size: 13px; z-index: 2400; }
#cookie p { margin: 0 0 10px; }
.confetti-piece { position: fixed; top: -20px; width: 10px; height: 16px; z-index: 4000; pointer-events: none; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
footer.site { background: var(--blue-ink); color: #c8d2ff; padding: 70px 0 30px; margin-top: 90px; border-radius: 48px 48px 0 0; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #fff; font-family: var(--font-display); font-size: 18px; margin: 0 0 12px; }
footer.site a { color: #c8d2ff; display: block; margin-bottom: 8px; font-weight: 500; }
footer.site a:hover { color: #fff; }
footer.site .wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 14vw, 190px); letter-spacing: -.05em; color: #fff; line-height: .9; margin-top: 50px; opacity: .95; white-space: nowrap; overflow: hidden; }
footer.site .wordmark span { color: var(--yellow); }
footer.site .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 26px; font-size: 13px; opacity: .8; }


/* ---------- Language menu ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-family: var(--font); font-weight: 800; font-size: 14px; color: var(--ink); transition: border-color .15s; }
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--blue); }
.lang-btn .f { font-size: 18px; line-height: 1; }
.lang-btn .car { font-size: 10px; color: var(--muted); transition: transform .2s; }
.lang.open .lang-btn .car { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 200px; display: none; z-index: 1300; }
.lang.open .lang-menu { display: block; animation: menuIn .18s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; }
.lang-menu button:hover { background: var(--sky); }
.lang-menu button.on { background: var(--sky); color: var(--blue); }
.lang-menu .f { font-size: 20px; }
.lang-menu .tick { margin-left: auto; font-weight: 800; }

/* ---------- Success cards ---------- */
.tcard.win { border: 3px solid var(--yellow); }
.tcard.win .ribbon { position: absolute; top: 16px; right: -2px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 12px; padding: 6px 12px 6px 14px; border-radius: 999px 0 0 999px; box-shadow: 0 4px 12px rgba(217,168,0,.3); }
.tcard.win .ribbon.deal { background: var(--pink); color: #fff; box-shadow: 0 4px 12px rgba(255,122,182,.35); }
.tcard.win .trophy { font-size: 26px; margin-top: 30px; animation: spin-wobble 5s ease-in-out infinite; }
.tcard.win .progress > div { background: linear-gradient(90deg, var(--green), #7be3b4); }


/* ---------- Sea / wave theme (light touches) ---------- */
.wave { position: relative; height: 58px; overflow: hidden; margin-bottom: -1px; pointer-events: none; }
.wave::before, .wave::after { content: ""; position: absolute; inset: 0; background-repeat: repeat-x; background-size: 720px 58px; background-position: 0 bottom; animation: waveMove 16s linear infinite; }
.wave::before { opacity: .45; animation-duration: 10s; animation-direction: reverse; }
.wave.flip { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }
@keyframes waveMove { from { background-position-x: 0; } to { background-position-x: 720px; } }
.wave.lilac::before, .wave.lilac::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23eee6ff%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.butter::before, .wave.butter::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23fff3c2%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.ink::before, .wave.ink::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%230f1a5c%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.sky::before, .wave.sky::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23e2edff%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.bg::before, .wave.bg::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23f7f9ff%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.blue::before, .wave.blue::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%232f5bff%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.band.wavy { border-radius: 0; margin: 0; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; pointer-events: none; }
.hero-waves::before, .hero-waves::after { content: ""; position: absolute; inset: 0; background-repeat: repeat-x; background-position: 0 bottom; animation: waveMove 22s linear infinite; }
.hero-waves::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23c9dcff%27 fill-opacity=%270.55%27/%3E%3C/svg%3E"); background-size: 900px 90px; animation-duration: 18s; animation-direction: reverse; }
.hero-waves::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23e2edff%27 fill-opacity=%270.9%27/%3E%3C/svg%3E"); background-size: 720px 70px; }
.progress > div::after { background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 60 12%27%3E%3Cpath d=%27M0 6 C10 0 20 0 30 6 C40 12 50 12 60 6%27 stroke=%27%23ffffff%27 stroke-opacity=%270.55%27 stroke-width=%272.5%27 fill=%27none%27/%3E%3C/svg%3E") repeat-x center / 30px 8px; animation: waveLine 1.4s linear infinite; }
@keyframes waveLine { from { background-position-x: 0; } to { background-position-x: 30px; } }
.cta-big::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23ffffff%27 fill-opacity=%270.12%27/%3E%3C/svg%3E") repeat-x 0 bottom / 720px 70px; animation: waveMove 14s linear infinite; pointer-events: none; }
.cta-big::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23ffffff%27 fill-opacity=%270.1%27/%3E%3C/svg%3E") repeat-x 200px bottom / 560px 50px; animation: waveMove 9s linear infinite reverse; pointer-events: none; }
.cta-big > h2, .cta-big > p, .cta-big > a { position: relative; z-index: 1; }
footer.site { border-radius: 0 !important; margin-top: 0 !important; }
.footer-wave { margin-top: 90px; }
.eyebrow.sea { background: #e3f6ff; color: #0b6fa4; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .player { transform: none; max-width: 640px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .join-box { position: static; }
  .filterbar { grid-template-columns: 1fr 1fr; }
  .filterbar .search { grid-column: 1 / -1; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  nav.main { display: none; position: absolute; top: 72px; left: 12px; right: 12px; background: #fff; flex-direction: column; padding: 14px; border-radius: var(--r); box-shadow: var(--shadow-lg); align-items: stretch; }
  nav.main.open { display: flex; }
  .menu-btn { display: block; }
  .lang-menu { position: static; box-shadow: none; padding: 4px 0 0; }
  .lang { align-self: flex-start; }
  .band { padding: 64px 0; }
  .band.rounded { border-radius: 30px; margin: 0 6px; }
  .map-panel { position: relative; top: 0; left: 0; width: auto; border-radius: 0; box-shadow: none; }
  #worldmap { height: 420px; min-height: 0; }
  .map-legend { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .sticker.free { width: 84px; height: 84px; font-size: 14px; left: -8px; top: -30px; }
  .sticker.free b { font-size: 24px; }
  .cta-big { padding: 50px 22px; border-radius: 32px; }
  .cta-big .float { display: none; }
  footer.site { border-radius: 30px 30px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* FlokSea wordmark */
.logo .wm b, .wm b { font-weight: 800; background: linear-gradient(90deg, #2f5bff, #17b8c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer.site .wordmark b { background: linear-gradient(90deg, #7fd3ff, #9ff0d0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Surfer on progress bars */
.pwrap { position: relative; padding-top: 24px; }
.pwrap .surfer { position: absolute; bottom: 1px; width: 34px; height: 34px; transform: translateX(-62%); pointer-events: none; transition: left .8s cubic-bezier(.34,1.2,.64,1); }
.pwrap .surfer svg { width: 100%; height: 100%; display: block; animation: surf 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.pwrap .surfer.done svg { animation: surfWin .9s ease-in-out infinite alternate; }
@keyframes surf { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@keyframes surfWin { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-6px) rotate(6deg); } }
.join-box .pwrap .surfer { width: 44px; height: 44px; }
.join-box .pwrap { padding-top: 32px; }

/* Floating objects in the big call-to-action: kept in the side margins, away from the text */
.cta-big h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-big .float { z-index: 0; }
.cta-big .f1 { left: 3%; top: 12%; } .cta-big .f2 { right: 3%; top: 10%; }
.cta-big .f3 { left: 5%; bottom: 16%; } .cta-big .f4 { right: 5%; bottom: 18%; }
@media (max-width: 1100px) { .cta-big .float { font-size: 40px; } .cta-big .f3, .cta-big .f4 { display: none; } .cta-big .f1 { top: 18px; left: 18px; } .cta-big .f2 { top: 18px; right: 18px; } }

.player .snd.muted { animation: sndPulse 2s ease-in-out infinite; }
@keyframes sndPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,210,63,.7); } 50% { box-shadow: 0 0 0 7px rgba(255,210,63,0); } }

/* ---------- Blue header (matches the footer) ---------- */
.marquee { background: var(--blue); }
header.site { background: rgba(15,26,92,.97); border-bottom-color: transparent; }
header.site.scrolled { border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 8px 28px rgba(15,26,92,.25); }
.logo { color: #fff; }
.logo .mark { box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.2); }
.logo .wm b { background: linear-gradient(90deg, #7fd3ff, #9ff0d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.main a { color: rgba(255,255,255,.88); }
nav.main a:hover { background: rgba(255,255,255,.12); color: #fff; }
nav.main a.active { background: rgba(255,255,255,.16); color: #fff; }
nav.main a.btn, nav.main a.btn:hover { background: var(--yellow); color: var(--blue-ink); box-shadow: 0 4px 0 #d9a800; }
.lang-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.lang-btn:hover, .lang.open .lang-btn { border-color: #fff; }
.lang-btn .car { color: rgba(255,255,255,.7); }
.menu-btn { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
@media (max-width: 700px) {
  nav.main { background: var(--blue-ink); box-shadow: 0 20px 40px rgba(15,26,92,.35); }
}
.leaflet-popup-content, .leaflet-container { color: var(--ink); }

/* New logo: drawn wave with cash surfing on top */
.logo .mark { width: 48px; height: 48px; border-radius: 0; box-shadow: none !important; filter: drop-shadow(0 0 1.2px rgba(255,255,255,.9)) drop-shadow(0 3px 6px rgba(0,0,0,.25)); overflow: visible; }
.logo:hover .mark { transform: rotate(-8deg) scale(1.1); }

/* ---------- Sunset hero (home) ---------- */
.hero.sunset { background: linear-gradient(180deg, #ffe1c4 0%, #ffcaa6 32%, #ffb3a7 62%, #ffc2d4 88%, #ffd9e3 100%); padding-bottom: 120px; isolation: isolate; }
.hero.sunset .sun { position: absolute; z-index: -1; width: 440px; height: 440px; right: 8%; top: 40px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff3b0 0%, #ffd66b 38%, rgba(255,166,92,.65) 62%, rgba(255,140,120,0) 72%); filter: blur(2px); animation: sunGlow 7s ease-in-out infinite; }
@keyframes sunGlow { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.05); opacity: 1; } }
.hero.sunset .birds { position: absolute; z-index: -1; left: 6%; top: 34px; width: 220px; animation: birdsFly 26s linear infinite; }
.hero.sunset .birds path { animation: flap 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero.sunset .birds .b2 { animation-delay: -.3s; } .hero.sunset .birds .b3 { animation-delay: -.6s; } .hero.sunset .birds .b4 { animation-delay: -.8s; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
@keyframes birdsFly { from { transform: translateX(-30px); } to { transform: translateX(60vw); } }
.hero.sunset .hero-waves { height: 130px; }
.hero.sunset .hero-waves::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%237fd3ff%27 fill-opacity=%270.75%27/%3E%3C/svg%3E"); background-size: 900px 120px; }
.hero.sunset .hero-waves::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23f7f9ff%27 fill-opacity=%271%27/%3E%3C/svg%3E"); background-size: 720px 90px; }
.hero.sunset .hl::after { background: #fff; opacity: .85; }
.hero.sunset .eyebrow { background: rgba(255,255,255,.85); }
.hero.sunset .lead { color: var(--ink); }
.hero.sunset .trust { color: var(--ink); }
.hero.sunset .avatars .avatar { border-color: #ffc9b0; }
.hero.sunset .player { box-shadow: 0 30px 80px rgba(214,86,70,.35); }
@media (max-width: 700px) { .hero.sunset .sun { width: 260px; height: 260px; right: -40px; top: 10px; } }

/* ---------- Explainer v3: sunset beach, wave transitions, camera zoom ---------- */
.player { background: linear-gradient(135deg, #ffffff, #ffe6ee); padding: 12px; }
.player .screen { background: linear-gradient(180deg, #ffe4cf 0%, #ffcfc0 48%, #ffe0e6 100%); }
.stage .kb { transform-box: view-box; transform-origin: 400px 280px; }
.stage .scene.on .kb { animation: kb 7s ease-out forwards; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.05); } }
.stage .foam { animation: foam 6s linear infinite; }
.stage .foam.slow { animation-duration: 10s; animation-direction: reverse; }
@keyframes foam { from { transform: translateX(0); } to { transform: translateX(-100px); } }
.stage .draw { stroke-dasharray: 520; stroke-dashoffset: 520; }
.stage .on .draw { animation: strike .9s ease forwards; }
.stage .ride { transform: translateX(-180px); }
.stage .on .ride { animation: ride 5.6s linear .3s forwards; }
.stage .ride svg { overflow: visible; }
@keyframes ride { 0% { transform: translate(-180px, 0) rotate(-3deg); } 25% { transform: translate(90px, -10px) rotate(3deg); } 50% { transform: translate(340px, 0) rotate(-3deg); } 75% { transform: translate(590px, -10px) rotate(3deg); } 100% { transform: translate(860px, 0) rotate(-3deg); } }
.stage .sweep { transform: translateX(0); pointer-events: none; }
.stage .sweep.go { animation: sweep 1s cubic-bezier(.55,0,.45,1) forwards; }
@keyframes sweep { to { transform: translateX(2000px); } }
.stage .confetti > * { opacity: 0; }
.stage .on .confetti > * { animation: confetti 2.6s ease-in forwards; }
/* Bigger video */
.hero .wrap.hero-grid { max-width: 1260px; grid-template-columns: 1fr 1.08fr; gap: 44px; }
@media (max-width: 980px) { .hero .wrap.hero-grid { grid-template-columns: 1fr; } .player { max-width: 760px; } }

.logo .mark { width: 52px; height: 52px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.28)); }

.stats.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .stats.three { grid-template-columns: 1fr; } }

/* ---------- Cookie consent banner ---------- */
#cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 3500; display: flex; justify-content: center; pointer-events: none; }
#cc .cc-card { pointer-events: auto; width: 100%; max-width: 620px; background: #fff; border-radius: 24px; box-shadow: 0 20px 60px rgba(15,26,92,.3); padding: 22px 24px; animation: menuIn .25s ease; border: 2px solid var(--sky); }
#cc h3 { font-size: 22px; margin: 0 0 6px; }
#cc p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
#cc .cc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
#cc .cc-actions .btn { flex: 1 1 auto; }
#cc .cc-custom { border-top: 2px dashed var(--line); margin: 6px 0 14px; padding-top: 6px; }
#cc .cc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; cursor: pointer; }
#cc .cc-row b { display: block; font-size: 15px; }
#cc .cc-row small { display: block; color: var(--muted); font-size: 13px; }
.cc-switch { position: relative; flex-shrink: 0; width: 48px; height: 28px; }
.cc-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cc-switch i { position: absolute; inset: 0; border-radius: 999px; background: #d7dcef; transition: background .2s; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.cc-switch input:checked + i { background: var(--blue); }
.cc-switch input:checked + i::after { transform: translateX(20px); }
.cc-switch.locked i { background: var(--green); opacity: .7; }
#cc [hidden] { display: none !important; }

/* Hero kicker: "Never pay full price again. You have the power!" */
.hero .kicker { display: inline-block; margin: 4px 0 18px; padding: 10px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.9vw, 22px); transform: rotate(-1.2deg); box-shadow: 0 6px 0 var(--pink); }
.hero .kicker b { color: var(--yellow); }

/* Example success cards (shown only until real successes exist) */
.tcard.example { border-color: #e4e8f7; border-style: dashed; }
.tcard.win .ribbon.ex { background: var(--sky); color: var(--blue-deep); box-shadow: none; }
.tcard.example:hover { transform: none; }
.examples-intro { background: var(--butter); box-shadow: none; }


/* "Four steps" band: soft sunset (peach -> pink), matching the top of the page */
.band.sunset { background: linear-gradient(180deg, #ffe1c4 0%, #ffcdb4 45%, #ffc8d3 80%, #ffd6e0 100%); }
.wave.sunsettop::before, .wave.sunsettop::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23ffe1c4%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.wave.sunsetbot::before, .wave.sunsetbot::after { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 720 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 32 C120 6 240 6 360 32 C480 58 600 58 720 32 V60 H0 Z%27 fill=%27%23ffd6e0%27 fill-opacity=%271%27/%3E%3C/svg%3E"); }
.band.sunset .step:nth-child(1) { background: #fff; }
.band.sunset .step:nth-child(2) { background: #fff3c2; }
.band.sunset .step:nth-child(3) { background: #ffe9f1; }
.band.sunset .step:nth-child(4) { background: #e2f6ff; }
.band.sunset .step { box-shadow: 0 10px 30px rgba(214,86,70,.12); }

/* Softer, pastel look for the OpenStreetMap background */
#worldmap .leaflet-tile-pane { filter: saturate(.8) brightness(1.04) hue-rotate(-6deg); }

