/* ============ Tokeny marki (róż / biel / czerń z Instagrama OPPY) ============ */
:root {
  --pink: #F0469C;
  --pink-600: #D92F86;
  --pink-400: #FF7CC0;
  --pink-300: #F8A5CF;
  --pink-100: #FDE7F3;
  --pink-50: #FFF5FA;
  --ink: #0B0B0D;
  --ink-2: #3B3B42;
  --ink-3: #6B6B75;
  --white: #ffffff;
  --line: rgba(240, 70, 156, 0.34);
  --line-faint: rgba(11, 11, 13, 0.06);

  /* nagłówki: Barlow Condensed Italic 900 (styl napisów z socjali OPPY; wcześniej Anton) */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --display-weight: 900;
  --display-style: italic;
  --display-skew: 0deg; /* czcionka jest pochylona sama z siebie */
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Poppins', 'Inter', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }

/* balonowe kursory w rozmiarze zwykłego (28 px): strzałka na stronie, rączka nad klikalnymi elementami.
   Punkt klikania: czubek strzałki (2 2) i czubek palca (9 2). */
html { cursor: url("assets/cursor-balloon.svg?v=2") 2 2, auto; }
a, button, summary, label, [role="button"], input[type="range"], .faq-item summary, .payout {
  cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer;
}

/* ============ Scrollbar — różowy bąbelek ============ */
/* Firefox nie zna ::-webkit-scrollbar, dostaje płaski róż. Chrome ignoruje
   pseudo-elementy, gdy ustawione jest scrollbar-color, więc tylko dla FF. */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--pink) var(--pink-50); scrollbar-width: auto; }
}

::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--pink-50); }
::-webkit-scrollbar-corner { background: var(--pink-50); }
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, var(--pink-400) 0%, var(--pink) 52%, var(--pink-600) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset -2px 0 5px rgba(130, 0, 65, 0.28);
  min-height: 48px;
}
::-webkit-scrollbar-thumb:horizontal {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, var(--pink-400) 0%, var(--pink) 52%, var(--pink-600) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -2px 5px rgba(130, 0, 65, 0.28);
}
::-webkit-scrollbar-thumb:hover {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, #FF95CD 0%, var(--pink-400) 45%, var(--pink) 100%);
}
::-webkit-scrollbar-thumb:active {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, var(--pink) 0%, var(--pink-600) 60%, #B81F6E 100%);
}

/* ============ Logo ============ */
.logo-img { display: block; height: 30px; width: auto; }

/* ============ Przyciski w stylu Duolingo (w kolorach OPPY) ============
   Płaski kolor + ciemniejszy „próg” pod spodem; przy kliknięciu przycisk się wciska.
   Klasa .bubble zostaje (używana w całym kodzie), zmienił się tylko wygląd. */
.bubble {
  --btn-bg: var(--pink);
  --btn-edge: #C42A7A;
  --btn-fg: var(--white);
  --btn-depth: 5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-ui);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--btn-fg);
  white-space: nowrap;
  background: var(--btn-bg);
  box-shadow: 0 var(--btn-depth) 0 var(--btn-edge);
  cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}
.bubble:hover { filter: brightness(1.07); }
.bubble:active {
  transform: translateY(var(--btn-depth));
  box-shadow: 0 0 0 var(--btn-edge);
}
.bubble:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
/* drugi przycisk: biały z szarą obwódką (jak „Mam już konto”) */
.bubble--secondary {
  --btn-bg: var(--white);
  --btn-edge: #E5E5E5;
  --btn-fg: var(--pink);
  --btn-depth: 3px;
  border: 2px solid #E5E5E5;
}
.bubble--secondary:hover { filter: none; background: #FAFAFA; }

.bubble--sm { height: 42px; padding: 0 20px; font-size: 13px; }
.bubble--lg { height: 52px; padding: 0 36px; font-size: 15px; }

/* ============ Navbar (pływająca pigułka jak w Tribe) ============ */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1150px;
  margin: 0 auto;
  height: 68px;
  padding: 0 12px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 40px -12px rgba(240, 70, 156, 0.22),
    0 2px 8px rgba(11, 11, 13, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.logo { justify-self: start; display: inline-flex; align-items: center; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a, .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-link:hover { color: var(--pink); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 6px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  max-width: 1150px;
  margin: 10px auto 0;
  padding: 10px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px -12px rgba(240, 70, 156, 0.25), 0 2px 8px rgba(11, 11, 13, 0.05);
  display: flex;
  flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
@media (max-width: 420px) { .bubble-long { display: none; } }
.mobile-menu a {
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 18px;
}
.mobile-menu a:active { background: var(--pink-50); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 140px 16px 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(50% 45% at 50% 0%, rgba(248, 165, 207, 0.38), transparent 75%),
    radial-gradient(30% 30% at 12% 35%, rgba(253, 231, 243, 0.9), transparent 70%),
    radial-gradient(30% 30% at 88% 30%, rgba(253, 231, 243, 0.9), transparent 70%);
}

/* stos: stara i nowa pigułka leżą w tym samym miejscu podczas zmiany */
.proof-stack { display: grid; place-items: center; }
.proof-stack > .proof-pill { grid-area: 1 / 1; }
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 6px 24px -8px rgba(240, 70, 156, 0.3), 0 1px 3px rgba(11, 11, 13, 0.06);
  font-size: 14px;
  color: var(--ink-3);
  white-space: nowrap;
}
.proof-pill b { color: var(--ink); font-weight: 700; }
.proof-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* zmiana jak na Tribe: stara pigułka odpływa w górę i znika, nowa wjeżdża od dołu */
.proof-pill.is-enter { animation: pill-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.proof-pill.is-leave { animation: pill-out 0.7s cubic-bezier(0.4, 0, 0.6, 1) both; pointer-events: none; }
@keyframes pill-in {
  from { opacity: 0; transform: translateY(22px) scale(0.96); filter: blur(4px); }
}
@keyframes pill-out {
  to { opacity: 0; transform: translateY(-48px) scale(0.96); filter: blur(4px); }
}
.proof-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px rgba(240, 70, 156, 0.35);
}

.hero-title {
  margin: 46px 0 0;
  max-width: 1000px;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  font-size: clamp(40px, 4.8vw, 88px);
  /* Interlinia z zapasem na akcenty (Ś, Ż), żeby linie na siebie nie wchodziły */
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  transform: skewX(var(--display-skew));
}
.hero-title .pink { display: block; color: var(--pink); }

.hero-sub {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: balance;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
/* oba przyciski w hero tej samej szerokości */
.hero-cta .bubble { width: 240px; padding: 0 20px; }
.text-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover { color: var(--pink); border-color: var(--pink); }

/* ============ Animacja przepływu ============ */
.flow {
  position: relative;
  width: 100vw;
  max-width: 1680px;
  z-index: 1;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flow-lines .ln {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.flow-lines .ln--faint { stroke: var(--line-faint); }
.flow-lines .ln-glow {
  fill: none;
  stroke: var(--pink);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 60 1400;
  animation: glow-run 3.2s linear infinite;
  opacity: 0.55;
}
@keyframes glow-run { from { stroke-dashoffset: 1460; } to { stroke-dashoffset: 0; } }
.flow-lines .node {
  fill: var(--white);
  stroke: var(--pink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.flow-hub { position: absolute; transform: translate(-50%, -50%); }
.hub-tile {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 11, 13, 0.06);
  box-shadow: 0 18px 40px -16px rgba(11, 11, 13, 0.18), 0 2px 6px rgba(11, 11, 13, 0.05);
}
.hub-logo {
  width: 70%;
  height: auto;
}

.flow-layer { position: absolute; inset: 0; }

/* Tokeny w ruchu */
.tok {
  position: absolute;
  left: 0; top: 0;
  will-change: transform;
}
.tok > * { position: absolute; left: 0; top: 0; transform-origin: center; }
.tok-dot {
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--pink-400) 30%, var(--pink) 70%);
  box-shadow: 0 0 0 4px rgba(240, 70, 156, 0.15), 0 4px 10px rgba(240, 70, 156, 0.5);
}

/* Karta filmiku (zaślepka — później prawdziwe miniatury/wideo) */
.vcard {
  width: var(--cw); height: var(--ch);
  margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  border-radius: calc(var(--cw) * 0.16);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.32) 0 15%, transparent 16%),
    radial-gradient(ellipse 48% 30% at 50% 82%, rgba(255, 255, 255, 0.24) 0 98%, transparent 100%),
    var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px -10px rgba(11, 11, 13, 0.35), 0 2px 6px rgba(11, 11, 13, 0.1);
  transform: rotate(var(--rot, 0deg));
}
.vcard-tag {
  position: absolute;
  left: 0; right: 0;
  top: 54%;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: calc(var(--cw) * 0.15);
  color: #fff;
  text-align: center;
  text-shadow: 0 0 2px var(--pink), 0 0 2px var(--pink), 0 0 2px var(--pink), 0 0 6px rgba(240, 70, 156, 0.9);
}
.vcard-views {
  position: absolute;
  left: 6%; bottom: 5%;
  font-size: calc(var(--cw) * 0.11);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.vcard-play {
  position: absolute;
  right: 7%; top: 5%;
  width: calc(var(--cw) * 0.17); height: calc(var(--cw) * 0.17);
  border-radius: 25%;
  background: rgba(255, 255, 255, 0.95);
}
.vcard-play::after {
  content: "";
  position: absolute;
  left: 38%; top: 28%;
  border-left: calc(var(--cw) * 0.06) solid var(--ink);
  border-top: calc(var(--cw) * 0.04) solid transparent;
  border-bottom: calc(var(--cw) * 0.04) solid transparent;
}

/* Kwota w złotówkach */
.money {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: var(--mf, 14px);
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(240, 70, 156, 0.55), 0 1px 3px rgba(11, 11, 13, 0.1);
  border: 1px solid rgba(240, 70, 156, 0.2);
}
.money-coin {
  display: grid;
  place-items: center;
  width: 1.6em; height: 1.6em;
  border-radius: 50%;
  font-size: 0.72em;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--pink-400), var(--pink) 60%, var(--pink-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tok-money { transform: translate(-50%, -50%); }

/* Karty zarobków na końcach linii (desktop) */
.ecard { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.ecard .vcard { position: relative; margin: 0; }
.ecard .money {
  position: absolute;
  left: calc(100% - 14px);
  top: 26%;
}
.ecard .money.bump { animation: bump 0.45s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.plus {
  position: absolute;
  left: 70%;
  top: 30%;
  font-weight: 700;
  font-size: 14px;
  color: var(--pink);
  white-space: nowrap;
  pointer-events: none;
  animation: plus-up 1.1s ease-out forwards;
}
@keyframes plus-up {
  from { opacity: 0; transform: translateY(6px); }
  20% { opacity: 1; }
  to { opacity: 0; transform: translateY(-26px); }
}

/* ============ Chmury na dole hero (jak na Methods) ============ */
/* różowe „niebo” za chmurami, żeby białe chmury było widać na jasnej stronie */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 620px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(253, 231, 243, 0) 0%, rgba(248, 196, 224, 0.6) 45%, rgba(244, 168, 208, 0.85) 72%, rgba(255, 255, 255, 0) 100%);
}
.clouds {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(440px, 44vw, 640px);
  z-index: 0;
  width: 100%;
  pointer-events: none;
  display: block;
}
/* zapas bez WebGL: statyczny pas chmur */
.clouds-fallback {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(130%, 1300px);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.no-webgl .clouds { display: none; }
.no-webgl .clouds-fallback { display: block; }

/* ============ Pasek marek (jak na Methods) ============ */
.brands {
  position: relative;
  z-index: 3;
  margin-top: clamp(-40px, -2vw, -20px);
  padding: 0 16px 150px;
  text-align: center;
}
/* nagłówek jak w Tribe: szary, spokojny */
.brands-title {
  margin: 0 0 28px;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-2);
  text-wrap: balance;
}
/* logo w linii tekstu: brzuszki liter na wysokości tekstu, ogonki „p” schodzą pod linię */
.brands-logo {
  display: inline-block;
  height: 1.25em;
  width: auto;
  margin-left: 0.2em;
  vertical-align: -0.52em;
}
.marquee {
  display: flex;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-shrink: 0;
  margin: 0;
  padding: 0 64px 0 0;
  list-style: none;
  animation: marquee 32s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.brand { display: flex; align-items: center; }
/* jednolicie szare logo (jak na Methods); po najechaniu wraca kolor marki */
.brand img {
  display: block;
  height: var(--logo-h, 26px);
  width: auto;
  filter: grayscale(1) brightness(0);
  opacity: 0.42;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.brand:hover img { filter: none; opacity: 1; }
/* wyrównanie optyczne: znaki o różnych proporcjach */
.brand--warner-bros { --logo-h: 40px; }
.brand--panasonic { --logo-h: 19px; }
.brand--allegro { --logo-h: 30px; }
.brand--piatnica { --logo-h: 38px; }
.brand--old-spice { --logo-h: 30px; }

/* ============ Sekcja wypłat (jak na Methods) ============ */
.payouts {
  padding: 0 0 120px;
  text-align: center;
  overflow-x: clip;
}
.section-title {
  margin: 0;
  padding: 0 16px;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
  transform: skewX(var(--display-skew));
}
.section-title .pink { color: var(--pink); }
.section-sub {
  margin: 14px 0 0;
  padding: 0 16px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--ink-3);
  text-wrap: balance;
}

.reel {
  display: flex;
  margin-top: 52px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.reel-track {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  margin: 0;
  padding: 0 24px 0 0;
  list-style: none;
  animation: marquee 70s linear infinite;
}
.reel:hover .reel-track { animation-play-state: paused; }

.creator {
  width: clamp(220px, 18vw, 300px);
  text-align: left;
}
.creator-video {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.28) 0 13%, transparent 14%),
    radial-gradient(ellipse 46% 28% at 50% 80%, rgba(255, 255, 255, 0.2) 0 98%, transparent 100%),
    var(--bg);
  box-shadow: 0 20px 40px -20px rgba(11, 11, 13, 0.35);
}
.creator-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-tag {
  position: absolute;
  left: 0; right: 0;
  top: 58%;
  text-align: center;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 2px var(--pink), 0 0 2px var(--pink), 0 0 2px var(--pink), 0 0 8px rgba(240, 70, 156, 0.9);
}
.cv-earned {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 20px;
  height: 44px;
  font-size: 14px;
  pointer-events: none;
}
.creator-quote {
  margin: 16px 4px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.creator-name {
  margin: 8px 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ============ Jak działa OPPA (minimalistyczne karty) ============ */
.howto {
  padding: 40px 16px 140px;
  text-align: center;
}
.steps {
  max-width: 1120px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(11, 11, 13, 0.08);
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink);
}
.step-title {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
  min-height: 3em;
}
.step-visual {
  flex: 1;
  margin-top: 20px;
  min-height: 150px;
  padding: 18px;
  border-radius: 16px;
  background: #F7F5F8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-note {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-600);
}
.howto-cta { margin-top: 44px; }

/* Krok 1: suwak + pasek szansy */
/* zarejestrowana zmienna, żeby wypełnienie toru suwaka mogło płynnie rosnąć */
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.viral { gap: 12px; }
.viral-label { font-size: 15px; color: var(--ink-3); }
.viral-label b { color: var(--ink); }
.viral-range {
  --p: 22%;
  width: 100%;
  height: 6px;
  margin: 4px 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink) var(--p), #E2DEE4 var(--p));
  cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer;
}
.viral-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 0 2px 6px rgba(11, 11, 13, 0.2);
}
.viral-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
}
.viral-range:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.viral-meter-head {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-3);
}
.viral-meter-head b { color: var(--pink-600); }
.viral-bar {
  height: 8px;
  border-radius: 999px;
  background: #E2DEE4;
  overflow: hidden;
}
.viral-bar span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: inherit;
  background: var(--pink);
  transition: width 0.12s linear;
}

/* Krok 2: publikacja */
.publish, .payout { align-items: center; gap: 14px; }
.carousel {
  position: relative;
  width: 100%;
  height: 150px;
}
.cv-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.28) 0 14%, transparent 15%),
    radial-gradient(ellipse 46% 28% at 50% 80%, rgba(255, 255, 255, 0.2) 0 98%, transparent 100%),
    var(--bg);
  border: 2px solid var(--white);
  box-shadow: 0 12px 24px -12px rgba(11, 11, 13, 0.45);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease, filter 0.7s ease;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}
.cv-phone-tag {
  position: absolute;
  left: 0; right: 0;
  top: 58%;
  text-align: center;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 11px;
  color: #fff;
  text-shadow: 0 0 2px var(--pink), 0 0 2px var(--pink), 0 0 5px rgba(240, 70, 156, 0.9);
}
/* pozycje w karuzeli: środek największy, boki mniejsze i lekko rozmyte */
.cv-phone[data-slot="0"] { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.cv-phone[data-slot="-1"] { transform: translate(calc(-50% - 66px), -50%) scale(0.8); opacity: 0.9; z-index: 2; }
.cv-phone[data-slot="1"] { transform: translate(calc(-50% + 66px), -50%) scale(0.8); opacity: 0.9; z-index: 2; }
.cv-phone[data-slot="-2"] { transform: translate(calc(-50% - 118px), -50%) scale(0.64); opacity: 0.5; filter: blur(1px); z-index: 1; }
.cv-phone[data-slot="2"] { transform: translate(calc(-50% + 118px), -50%) scale(0.64); opacity: 0.5; filter: blur(1px); z-index: 1; }

.views-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(11, 11, 13, 0.25);
}
.views-pill b {
  min-width: 5.2ch;
  text-align: right;
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.views-up {
  position: absolute;
  right: -6px;
  top: -14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
}
.views-up.pop { animation: views-pop 1.8s ease-out; }
@keyframes views-pop {
  0% { opacity: 0; transform: translateY(6px) scale(0.8); }
  15% { opacity: 1; transform: translateY(0) scale(1.05); }
  70% { opacity: 1; transform: translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateY(-10px); }
}
.eye {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(240, 70, 156, 0.2);
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.platforms span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(11, 11, 13, 0.08);
  font-size: 12px;
  font-weight: 600;
}

/* Krok 3: wypłata */
.payout-head { display: flex; align-items: center; gap: 10px; }
.payout-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.45) 0 22%, transparent 23%),
    linear-gradient(160deg, #c9b8a6, #7d6a58);
}
.payout-dash {
  position: relative;
  width: 72px;
  height: 2px;
  /* przerywana linia, której kreski płyną od OPPY do twórcy */
  background: repeating-linear-gradient(90deg, rgba(11, 11, 13, 0.22) 0 6px, transparent 6px 11px);
  background-size: 22px 2px;
  animation: dash-flow 0.9s linear infinite;
}
@keyframes dash-flow { from { background-position: 0 0; } to { background-position: -22px 0; } }
.payout-coin {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--pink-400), var(--pink) 60%, var(--pink-600));
  box-shadow: 0 2px 6px rgba(240, 70, 156, 0.5);
  animation: coin-travel 1.8s ease-in-out infinite;
}
@keyframes coin-travel {
  0% { left: 100%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { left: 0; transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
}
.payout-avatar.got { animation: avatar-got 0.5s ease; }
@keyframes avatar-got { 50% { transform: scale(1.15); } }
.payout { cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer; }
.payout-card { transition: transform 0.25s ease; }
.payout:hover .payout-card { transform: translateY(-2px); }
.payout-chip.pop { animation: chip-pop 0.5s ease; }
@keyframes chip-pop { 0% { transform: scale(0.85); opacity: 0.4; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.payout-amount { font-variant-numeric: tabular-nums; }
.payout-oppa {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(11, 11, 13, 0.12);
}
.payout-oppa img { width: 70%; height: auto; }
.payout-card {
  width: 100%;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px -16px rgba(11, 11, 13, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.payout-amount { font-size: 24px; letter-spacing: -0.02em; }
.payout-meta { font-size: 14px; color: var(--ink-3); }
.payout-chip {
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 14px;
  font-weight: 600;
}

/* ============ Pamiętaj człowiekuu (czaty) ============ */
.remember {
  padding: 0 16px 140px;
  text-align: center;
}
.remember-grid {
  max-width: 1120px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 380px; /* desktop: równa wysokość czatów = tytuły w jednej linii */
  padding: 20px 18px;
  border-radius: 22px;
  background: #F7F5F8;
  border: 1px solid rgba(11, 11, 13, 0.05);
}
.msg-label {
  margin-top: 6px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-3);
  align-self: flex-start;
}
.msg-label--out { align-self: flex-end; }
.msg-logo { display: block; height: 15px; width: auto; }
.msg {
  position: relative;
  max-width: 82%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.4;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.msg-in {
  align-self: flex-start;
  background: #E6E3E8;
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.msg-out {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--pink-400), var(--pink));
  color: var(--white);
  border-bottom-right-radius: 6px;
  box-shadow: 0 8px 18px -10px rgba(240, 70, 156, 0.7);
}
/* stan przed pojawieniem się (ustawia remember.js) */
/* ukryte wiadomości zajmują już swoje miejsce, więc czat nie skacze podczas animacji */
.chat.is-armed .is-hidden { visibility: hidden; }
.chat.is-armed .msg:not(.is-hidden) { animation: msg-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.chat.is-armed .msg-in { transform-origin: bottom left; }
.chat.is-armed .msg-out { transform-origin: bottom right; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.92); } }
.typing {
  /* „pisze…” stoi w miejscu przyszłej wiadomości (dziecko ukrytej wiadomości) */
  position: absolute;
  left: 0;
  top: 0;
  visibility: visible;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
  background: #E6E3E8;
}
.typing--out {
  left: auto;
  right: 0;
  border-radius: 20px;
  border-bottom-right-radius: 6px;
  background: var(--pink-300);
}
.typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.35);
  animation: typing-dot 1s ease-in-out infinite;
}
.typing--out i { background: rgba(255, 255, 255, 0.9); }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.memo-title {
  margin: 22px 4px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.memo-text {
  margin: 8px 4px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ---- Wariant różowy „Jak działamy” (klasa howto--tint): jasnoróżowy panel odcina sekcję od sąsiednich ---- */
.howto--tint {
  margin: 0 16px 120px;
  padding: 96px 16px 110px;
  border-radius: 48px;
  background:
    radial-gradient(50% 300px at 50% 0%, rgba(248, 165, 207, 0.45), transparent 80%),
    linear-gradient(180deg, #FFF0F7 0%, var(--pink-100) 100%);
}
.howto--tint .step {
  border-color: rgba(240, 70, 156, 0.12);
  box-shadow: 0 18px 40px -28px rgba(240, 70, 156, 0.45);
}
.howto--tint .step-visual { background: var(--pink-50); }

/* ---- Wariant ciemny „Jak działamy” (klasa howto--dark; bez niej = jasna wersja) ---- */
.howto--dark {
  margin-bottom: 120px;
  padding: 96px 16px 110px;
  border-radius: 48px;
  background:
    radial-gradient(50% 320px at 50% 0%, rgba(240, 70, 156, 0.18), transparent 80%),
    var(--ink);
}
.howto--dark .section-title { color: var(--white); }
.howto--dark .section-sub { color: rgba(255, 255, 255, 0.6); }
.howto--dark .step { background: #141417; border-color: rgba(255, 255, 255, 0.08); }
.howto--dark .step-title { color: var(--white); }
.howto--dark .step-sub { color: rgba(255, 255, 255, 0.6); }
.howto--dark .step-visual { background: #1E1E23; }
.howto--dark .step-note { color: var(--pink-400); }
.howto--dark .viral-label { color: rgba(255, 255, 255, 0.6); }
.howto--dark .viral-label b { color: var(--white); }
.howto--dark .viral-range { background: linear-gradient(90deg, var(--white) var(--p), #3A3A41 var(--p)); }
.howto--dark .viral-range::-webkit-slider-thumb { background: var(--ink); border-color: var(--white); }
.howto--dark .viral-range::-moz-range-thumb { background: var(--ink); border-color: var(--white); }
.howto--dark .viral-meter-head { color: rgba(255, 255, 255, 0.6); }
.howto--dark .viral-meter-head b { color: var(--pink-400); }
.howto--dark .viral-bar { background: #3A3A41; }
.howto--dark .cv-phone { border-color: #2A2A30; }
.howto--dark .platforms span { background: #26262B; border-color: rgba(255, 255, 255, 0.08); color: var(--white); }
.howto--dark .payout-dash {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 11px);
  background-size: 22px 2px;
}
.howto--dark .payout-avatar { border-color: #2A2A30; }

/* ---- Wariant ciemny „Pamiętaj człowiekuu” (klasa remember--dark; bez niej = jasna wersja) ---- */
.remember--dark {
  padding: 96px 16px 168px;
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(50% 320px at 50% 0%, rgba(240, 70, 156, 0.16), transparent 80%),
    var(--ink);
}
.remember--dark .section-title { color: var(--white); }
.remember--dark .section-sub { color: rgba(255, 255, 255, 0.6); }
.remember--dark .chat {
  background: #18181B;
  border-color: rgba(255, 255, 255, 0.07);
}
.remember--dark .msg-label { color: rgba(255, 255, 255, 0.45); }
.remember--dark .msg-logo { filter: invert(1); }
.remember--dark .msg-in { background: #2C2C31; color: var(--white); }
.remember--dark .typing { background: #2C2C31; }
.remember--dark .typing i { background: rgba(255, 255, 255, 0.5); }
.remember--dark .typing--out { background: var(--pink-600); }
.remember--dark .typing--out i { background: rgba(255, 255, 255, 0.9); }
.remember--dark .memo-title { color: var(--white); }
.remember--dark .memo-text { color: rgba(255, 255, 255, 0.62); }
/* różowy panel FAQ nachodzi zaokrągleniem na czarny blok — efekt warstw */
.remember--dark + .faq { position: relative; margin-top: -48px; }

/* ============ FAQ dla twórców (styl Tribe) ============ */
.faq { padding: 0; }
/* jak w Tribe: panel na całą szerokość ekranu, zaokrąglony u góry */
.faq-panel {
  padding: 88px 24px 120px;
  border-radius: 48px 48px 0 0;
  text-align: center;
  /* u góry intensywny róż OPPY pod białym nagłówkiem, za pytaniami przechodzi w jasny */
  background:
    radial-gradient(50% 260px at 50% 0%, rgba(255, 255, 255, 0.18), transparent 80%),
    linear-gradient(180deg, #E93D93 0, var(--pink) 140px, #F47DB8 290px, #F9BEDC 430px, #FCDCEC 600px, var(--pink-50) 100%);
}
.faq-panel .section-title,
.faq-panel .section-title .pink { color: var(--white); }
.faq-panel .section-title { text-shadow: 0 2px 18px rgba(150, 0, 75, 0.25); }
.faq-panel .section-sub { color: rgba(255, 255, 255, 0.9); }
.faq-list {
  max-width: 760px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--white);
  box-shadow: 0 10px 28px -20px rgba(240, 70, 156, 0.45);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { background: var(--white); }
.faq-item[open] { background: var(--white); box-shadow: 0 14px 34px -20px rgba(240, 70, 156, 0.55); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  cursor: url("assets/cursor-balloon-hover.svg?v=3") 9 2, pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 18px; }
/* plus, który po otwarciu zmienia się w minus */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px; height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--pink); }
.faq-a {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.faq-item[open] .faq-a { animation: faq-open 0.3s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Stopka: CTA + ilustracja Duolingo + różowy dół z linkami ============ */
.site-footer {
  --footer-pink: #E93D93;       /* = kolor wzgórz w ilustracji, więc nie ma szwu */
  background: var(--pink-50);   /* = dół panelu FAQ */
}
.footer-top {
  padding: 96px 16px 0;
  text-align: center;
  overflow: hidden;
}
.footer-cta .section-title { padding: 0; }
.footer-cta .section-sub { padding: 0; color: var(--ink-2); }
.footer-cta { position: relative; z-index: 2; }
/* przycisk niżej, tuż nad telefonem — to z niego „wypadają” monety */
.footer-cta .bubble { margin-top: 56px; width: 260px; }

.footer-bottom {
  margin-top: -1px;             /* zakrywa ewentualną szczelinę pod wzgórzami */
  background: var(--footer-pink);
  color: var(--white);
}
.footer-content {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: 24px 24px clamp(28px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 48px;
  align-items: start;
}
.footer-logo { display: inline-block; }
.footer-logo img { display: block; height: 40px; width: auto; }
.footer-desc {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.footer-social { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 3px 0 rgba(120, 0, 60, 0.25);
  transition: background 0.2s ease, color 0.2s ease, transform 0.08s ease, box-shadow 0.08s ease;
}
.footer-social a:hover { color: var(--pink); background: var(--white); }
.footer-social a:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(120, 0, 60, 0.25); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-nav { display: flex; gap: clamp(48px, 9vw, 140px); }
.footer-caption { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--white); line-height: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, 0.88); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:focus-visible,
.footer-social a:focus-visible,
.footer-logo:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 4px; }
/* czarny przycisk „Pobierz z App Store” w stopce (jak w Tribe) */
.footer-links .appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 0 rgba(120, 0, 60, 0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.footer-links .appstore-badge:hover { color: var(--white); text-decoration: none; }
.footer-links .appstore-badge:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(120, 0, 60, 0.3); }
.appstore-badge svg { width: 22px; height: 22px; fill: currentColor; }
.appstore-badge .play-icon { fill: initial; }
/* oba przyciski sklepów tej samej szerokości */
.footer-links .appstore-badge { min-width: 150px; }
.appstore-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore-text small { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; }
.appstore-text b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.footer-copy { grid-column: 1 / -1; margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.78); }

/* ============ Ilustracja w stopce w stylu Duolingo: telefon, monety, wzgórza ============ */
.getapp-stage {
  position: relative;
  margin: -64px auto 0;
  height: clamp(320px, 44vw, 600px);
}
/* wzgórza na całą szerokość, rozciągane; ilustracja nad nimi w stałych proporcjach */
.getapp-hills {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 52%;
  transform: translateX(-50%);
}
.getapp-art {
  position: relative;
  display: block;
  width: min(1200px, 100%);
  height: 100%;
  margin: 0 auto;
  overflow: visible;
}
/* unoszenie się przedmiotów; każdy ma własne tempo (--t) i przesunięcie (--d) */
.getapp-art .fl {
  transform-box: fill-box;
  transform-origin: center;
  animation: ga-float var(--t, 3.4s) ease-in-out var(--d, 0s) infinite alternate;
}
@keyframes ga-float {
  from { transform: translateY(-9px) rotate(-4deg); }
  to { transform: translateY(9px) rotate(4deg); }
}
/* monety spadają z przycisku i wpadają do szczeliny w telefonie (jak do skarbonki) */
.ga-drop {
  transform-box: fill-box;
  transform-origin: center bottom;
  opacity: 0;
  animation: ga-drop 3.2s cubic-bezier(0.45, 0, 0.75, 0.5) var(--dd, 0s) infinite;
}
@keyframes ga-drop {
  0% { transform: translateY(-150px) rotate(-14deg); opacity: 0; }
  10% { opacity: 1; }
  66% { transform: translateY(-6px) rotate(6deg) scaleY(1); opacity: 1; }
  76% { transform: translateY(4px) scaleY(0.15); opacity: 0; }
  100% { transform: translateY(4px) scaleY(0.15); opacity: 0; }
}
/* skarbonka-guma „podskakuje” za każdym razem, gdy wpada moneta (co 1/3 cyklu monet = 1,067 s) */
.ga-bank {
  transform-box: fill-box;
  transform-origin: 50% 96%;
  animation: ga-squish 1.0667s ease-out 0.98s infinite;
}
@keyframes ga-squish {
  0%, 100% { transform: scale(1); }
  6% { transform: scale(1.05, 0.95); }
  16% { transform: scale(0.98, 1.03); }
  28% { transform: scale(1); }
}

/* bąbelki z markami: HTML nad ilustracją (ostre logo), rozmieszczone w procentach obszaru ilustracji */
.ga-brands {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: min(1200px, 100%);
  transform: translateX(-50%);
  pointer-events: none;
}
.ga-brand {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid #E5E5E5;
  box-shadow: 0 5px 0 #E5E5E5;
  animation: ga-float var(--t, 4s) ease-in-out var(--d, 0s) infinite alternate;
}
.ga-brand img { display: block; max-width: 64%; max-height: 46%; width: auto; height: auto; }
.ga-brand--warner-bros img { max-height: 56%; }
.ga-brand--panasonic img { max-width: 72%; }

/* ============ Elementy w stylu Duolingo: FAQ, pasek viral, karty kroków, „Wypłacone” ============ */
:root { --duo-line: #E5E5E5; --pink-edge: #C42A7A; }

/* FAQ: każde pytanie to „klocek” z progiem, który wciska się przy kliknięciu */
.faq-item {
  background: var(--white);
  border: 2px solid var(--duo-line);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--duo-line);
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.2s ease;
}
.faq-item:hover { background: var(--white); border-color: #D9D9D9; }
.faq-item:has(> summary:active) { transform: translateY(4px); box-shadow: 0 0 0 var(--duo-line); }
.faq-item[open] {
  background: var(--white);
  border-color: var(--pink-300);
  box-shadow: 0 4px 0 var(--pink-300);
}
.faq-item[open]:has(> summary:active) { box-shadow: 0 0 0 var(--pink-300); }
.faq-item summary { font-weight: 700; }

/* Pasek „Szansa na viral”: gruby pasek postępu z połyskiem, kółko suwaka z progiem */
.viral-range {
  height: 12px;
  background: linear-gradient(90deg, var(--pink-300) var(--p), var(--duo-line) var(--p));
}
.viral-range::-webkit-slider-thumb {
  width: 28px; height: 28px;
  background: var(--pink);
  border: 3px solid var(--white);
  box-shadow: 0 4px 0 var(--pink-edge), 0 0 0 2px var(--pink-edge);
}
.viral-range::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--pink);
  border: 3px solid var(--white);
  box-shadow: 0 4px 0 var(--pink-edge);
}
.viral-bar { height: 16px; background: var(--duo-line); }
.viral-bar span { position: relative; background: var(--pink); }
.viral-bar span::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  top: 3px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}
.viral-bar.pop { animation: bar-pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bar-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06, 1.35); box-shadow: 0 0 0 6px rgba(240, 70, 156, 0.18); }
  100% { transform: scale(1); }
}
.viral-meter-head b.pop { display: inline-block; animation: word-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes word-pop { 50% { transform: scale(1.25) rotate(-4deg); } }

/* Karty „Jak działamy?”: gruba obwódka z progiem, numer kroku w okrągłej odznace */
.step {
  border: 2px solid var(--duo-line);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--duo-line);
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 0 var(--pink-edge);
}
.step-title { margin-top: 16px; }

/* „Wypłacone”: pasek sukcesu jak „Dobrze!” po poprawnej odpowiedzi */
.payout-card { position: relative; overflow: visible; }
.payout-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 14px 7px 8px;
  border: 2px solid var(--pink-300);
  border-radius: 14px;
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 0 var(--pink-300);
}
.payout-check {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 2px 0 var(--pink-edge);
}
.payout-check::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 6px; height: 10px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
/* wysyp monet przy zmianie wypłaty */
.coin-burst {
  position: absolute;
  left: 50%; top: 34%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, var(--pink-400), var(--pink) 60%, var(--pink-600));
  box-shadow: 0 2px 0 var(--pink-edge);
  pointer-events: none;
  animation: coin-burst 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes coin-burst {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); opacity: 0; }
}

/* prawdziwe kadry z filmików twórców (zamiast zaślepek z sylwetką) */
.vcard.vcard--img, .cv-phone.cv-phone--img { background: var(--bg); }

/* ============ Pojawianie się przy przewijaniu (reveal.js dodaje klasy) ============ */
.reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity 0.7s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }
/* elementy z własnymi przejściami (wciskanie) zachowują je obok animacji pojawiania się */
.faq-item.reveal {
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms),
    transform 0.08s ease, box-shadow 0.08s ease, border-color 0.2s ease;
}
.bubble.reveal {
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms),
    transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}

/* ============ Mobile ============ */
@media (min-width: 820px) and (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .remember-grid { grid-template-columns: 1fr; max-width: 380px; /* wąska kolumna = czaty w „kwadratach” jak na starej stronie */ gap: 40px; }
  .chat { min-height: 0; }
}

@media (max-width: 819px) {
  .nav-wrap { top: 10px; padding: 0 12px; }
  .nav {
    height: 62px;
    padding: 0 6px 0 18px;
  }
  .nav-links, .nav-link { display: none; }
  .burger { display: block; }
  .logo-img { height: 26px; }
  .bubble--sm { height: 38px; padding: 0 14px; font-size: 12px; }
  .bubble--lg { height: 50px; padding: 0 30px; font-size: 14px; }

  .hero { padding: 110px 16px 150px; }
  .proof-pill { font-size: 13px; padding-right: 14px; }
  .proof-stack { max-width: calc(100vw - 32px); }
  .proof-avatar { width: 26px; height: 26px; font-size: 12px; }
  .hero-title { margin-top: 26px; font-size: min(10vw, 52px); }
  .hero-cta { margin-top: 28px; gap: 18px; flex-direction: column; }
  .hero-cta .bubble { width: 280px; max-width: calc(100vw - 48px); }
  .clouds { height: 360px; }
  .brands { margin-top: -16px; padding-bottom: 100px; }
  .payouts { padding-bottom: 80px; }
  .howto { padding: 20px 16px 90px; }
  .remember { padding-bottom: 90px; }
  .remember--dark { padding: 64px 16px 110px; border-radius: 32px 32px 0 0; }
  .howto--dark { margin-bottom: 80px; padding: 64px 12px 72px; border-radius: 32px; }
  .howto--tint { margin: 0 8px 80px; padding: 64px 10px 72px; border-radius: 32px; }
  .remember--dark + .faq { margin-top: -32px; }
  .faq-panel { padding: 56px 14px 72px; border-radius: 32px 32px 0 0; }
  .faq-list { margin-top: 30px; gap: 10px; }
  .faq-item summary { padding: 17px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; font-size: 15px; }
  .remember-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; max-width: 380px; }
  .chat { min-height: 0; }
  .memo-title { font-size: 20px; margin-top: 16px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .step { padding: 22px; }
  .step-title { font-size: 22px; }
  .step-sub { min-height: 0; }
  .step-visual { min-height: 130px; }
  .reel { margin-top: 36px; }
  .reel-track { gap: 14px; padding-right: 14px; animation-duration: 50s; }
  .creator { width: 62vw; }
  .cv-earned { height: 42px; font-size: 15px; left: 10px; right: 10px; bottom: 12px; }
  .brands-title { font-size: 15px; margin-bottom: 18px; }
  .marquee-track { gap: 40px; padding-right: 40px; animation-duration: 24s; }
  .brand img { height: calc(var(--logo-h, 26px) * 0.78); }
  .hero::after { height: 460px; }
  .flow { margin-top: 4px; }
  .footer-content { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .footer-top { padding-top: 64px; }
  .ga-brand { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-width: 2px; box-shadow: 0 3px 0 #E5E5E5; }
  .footer-cta .bubble { margin-top: 36px; }
  .getapp-stage { margin-top: -24px; }
  .footer-nav { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-lines .ln-glow, .marquee-track, .reel-track, .payout-dash, .payout-coin { animation: none; }
  .getapp-art .fl, .ga-drop, .ga-brand, .ga-bank { animation: none; }
  .proof-pill.is-enter, .proof-pill.is-leave { animation: none; }
  .reel { overflow-x: auto; }
  .bubble, .bubble::after { transition: none; }
}
