/* ===== Base ===== */
:root {
  --bg: #f7f8fc;
  --bg-soft: #eef0ff;
  --bg-card: #ffffff;
  --text: #0f1221;
  --muted: #55607a;
  --line: rgba(15, 18, 33, 0.1);
  --primary: #b8cb1b;
  --primary-2: #4f0797;
  --primary-3: #2d8575;
  --accent: #c7007e;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-3) 100%);
  --ok: #12b886;
  --radius: 1rem;
  --shadow: 0 14px 40px rgba(15, 18, 33, 0.08);
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --display: "Nunito", system-ui, -apple-system, sans-serif;
  --container: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.28;
  margin: 0 0 0.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Hide Google Translate chrome */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pos {
  display: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate,
.goog-te-gadget {
  display: none !important;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.9rem 1.45rem;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: none;
}

.btn--primary:hover {
  background: #a6b71a;
  border-color: #a6b71a;
  opacity: 1;
  box-shadow: 0 6px 20px rgba(15, 18, 33, 0.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: #fff;
  border-color: rgba(184, 203, 27, 0.25);
}

.btn--outline {
  background: transparent;
  border-color: rgba(15, 18, 33, 0.18);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(184, 203, 27, 0.06);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  /* kliknięcia przechodzą do wyśrodkowanego .nav (niższy z-index), poza logo/CTA */
  pointer-events: none;
}

.header .logo,
.header__actions,
.header__actions * {
  pointer-events: auto;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.3px;
  line-height: 1;
  color: var(--primary);
}

.logo__mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
}

.logo span,
.logo__word {
  background: var(--primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Desktop: linki na środku paska; nav poza .header w DOM */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.25rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 65; /* desktop: nad headerem (60), żeby widać linki i język */
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 10rem; /* miejsce na logo i CTA */
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  pointer-events: none; /* puste miejsce nie blokuje logo/CTA w headerze */
}

.nav > a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  pointer-events: auto;
}

.nav > a:hover {
  color: var(--text);
}

.nav .lang-dd {
  pointer-events: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header__signup {
  white-space: nowrap;
}

/* Przełącznik języka – desktop: prawa krawędź okna; mobile: w menu */
.lang-dd {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 70; /* nad headerem na desktopie */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lang-dd__current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.6rem 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
  min-width: 3.25rem;
  justify-content: center;
}

.lang-dd__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease;
}

.lang-dd.is-open .lang-dd__chev,
.lang-dd:hover .lang-dd__chev {
  transform: rotate(180deg);
}

/* Lista: top:100% bez szczeliny – „most” hovera, panel wizualny wewnątrz */
.lang-dd__list {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  min-width: 100%;
  padding-top: 0.35rem; /* most pod kursorem, bez dziury */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.lang-dd__panel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px rgba(15, 18, 33, 0.14);
  transform: translateY(-4px);
  transition: transform 0.15s ease;
}

.lang-dd:hover .lang-dd__list,
.lang-dd:focus-within .lang-dd__list,
.lang-dd.is-open .lang-dd__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-dd:hover .lang-dd__panel,
.lang-dd:focus-within .lang-dd__panel,
.lang-dd.is-open .lang-dd__panel {
  transform: translateY(0);
}

.lang-dd__opt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.lang-dd__opt:hover {
  background: var(--bg-soft);
  color: var(--text);
}

/* Aktywny język w liście (głównie mobile; desktop ukrywa bieżący w panelu przez display current) */
.lang-dd__opt.is-active {
  background: var(--primary);
  color: #fff;
  cursor: default;
  pointer-events: none;
}

/* Desktop: w rozwijanej liście nie pokazuj aktywnego (jest na przycisku) */
@media (min-width: 769px) {
  .lang-dd__opt.is-active {
    display: none;
  }
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #ffffff, var(--bg-soft));
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  color: #c7007e;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.lead {
  font-size: 1.1rem;
  max-width: 36rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.hero__visual {
  position: relative;
  min-height: 340px;
}

.hero-card {
  position: absolute;
  width: min(100%, 260px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  top: 0;
  right: 2rem;
  transform: rotate(3deg);
}

.hero-card strong {
  color: var(--text);
}

.hero-card--offset {
  top: 7.5rem;
  right: auto;
  left: 0;
  transform: rotate(-4deg);
  width: min(100%, 230px);
  z-index: 1;
}

.hero-card__photo {
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}

.hero-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card__meta {
  padding: 0.9rem 1rem 1.1rem;
}

.hero-card__meta strong {
  display: block;
  margin: 0.35rem 0 0.5rem;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ok);
}

.online::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.offline {
  color: var(--muted);
}

.offline::before {
  background: #6b7280;
  box-shadow: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tags span {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.6rem;
}

.section__head p {
  margin-bottom: 0;
}

.section__foot {
  text-align: center;
  margin-top: 2rem;
}

/* ===== Users ===== */
.users {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.user-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 18, 33, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.user-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 203, 27, 0.28);
  box-shadow: 0 14px 32px rgba(15, 18, 33, 0.1);
}

.user-card__photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}

.user-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.user-card__photo .avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.user-card__status {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fav {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.fav:hover {
  transform: scale(1.06);
}

.fav.is-on {
  background: var(--primary);
  color: #fff;
}

.user-card__body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.user-card__body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
}

.user-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: auto;
}

.user-card__actions .btn {
  padding: 0.45rem 0.4rem;
  font-size: 0.78rem;
}

/* ===== Band CTA ===== */
.band {
  padding: 2.5rem 0;
  background: var(--bg-soft);
}

.band__inner {
  background: var(--gradient);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-shadow: 2px 1px 2px #00000057;
}

.band__inner h2 {
  margin: 0;
  font-size: 26px;
  color: #fff;
}

.band__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.band__cta .btn {
  text-shadow: none;
}

.band__cta .btn--ghost {
  background: #fff;
  border-color: rgba(15, 18, 33, 0.12);
  color: var(--text);
}

.band__cta .btn--ghost:hover {
  box-shadow: 0 6px 20px rgba(15, 18, 33, 0.08);
  border-color: rgba(15, 18, 33, 0.12);
  color: var(--text);
  background: #fff;
}

@media (max-width: 680px) {
  .band__inner {
    grid-template-columns: 1fr;
  }
}

/* ===== Live ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.live-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 24px rgba(15, 18, 33, 0.08);
}

.live-card__media {
  position: absolute;
  inset: 0;
  background: #0f1221;
  overflow: hidden;
}

.live-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 33, 0.88) 12%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.live-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Jak na zauroczeni: rozmycie + lekkie powiększenie (brzegi nie prześwitują) */
.live-preview.is-blurred {
  filter: blur(6px);
  transform: scale(1.06);
}

.live-card__top {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.badge-live {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
}

.viewers {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.live-card__body {
  position: relative;
  z-index: 2;
  padding: 1rem;
  color: #fff;
}

.live-card__body strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff;
}

.live-card__body .btn {
  width: 100%;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  text-shadow: 2px 1px 2px #00000057;
}

.live-card__body .btn:hover {
  background: #a6b71a;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(15, 18, 33, 0.08);
}

/* ===== Steps ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 18, 33, 0.05);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== CTA box ===== */
.cta {
  padding: 1rem 0 3rem;
}

.cta__box {
  text-align: center;
  padding: 28px;
  border-radius: 22px;
  background: var(--gradient);
  color: #fff;
  text-shadow: 2px 1px 2px #00000057;
}

.cta__box h2,
.cta__box p {
  color: #fff;
}

.cta__box .btn {
  text-shadow: none;
}

.cta__box .btn--ghost {
  background: #fff;
  border-color: rgba(15, 18, 33, 0.12);
  color: var(--text);
}

.cta__box p {
  margin-bottom: 1.4rem;
}

/* ===== Stories ===== */
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 18, 33, 0.05);
}

.story blockquote {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.98rem;
}

.story cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}

.story cite strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

/* ===== Counters ===== */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.counter {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 18, 33, 0.05);
}

.counter strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.35rem;
  background: var(--primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.counter span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(15, 18, 33, 0.1);
  background: #f4f6fb;
  padding: 1.75rem 0 2rem;
  margin-top: 1rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--text);
}

/* ===== RWD ===== */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__visual {
    min-height: 300px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .users,
  .live-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .stories,
  .counters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .header__signup {
    order: 0;
  }

  .nav {
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    box-sizing: border-box;
    z-index: 40; /* mobile: poniżej headera (60) – zjeżdża spod paska */
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    /* start tuż pod headerem, wjeżdża w dół – nie nad logo/hamburger */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.18s ease;
    box-shadow: 0 12px 28px rgba(15, 18, 33, 0.08);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a {
    pointer-events: auto;
  }

  .nav > a {
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
  }

  .nav > a:hover {
    background: rgba(184, 203, 27, 0.06);
  }

  .nav .btn {
    margin-top: 0.35rem;
    width: 100%;
  }

  /* Języki w menu: jedna linia, w tym aktywny */
  .lang-dd {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    z-index: auto;
  }

  .lang-dd__current {
    display: none; /* na mobile lista płaska ze wszystkimi językami */
  }

  .lang-dd__list {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding-top: 0;
  }

  .lang-dd__panel {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0.35rem;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .lang-dd__opt {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .lang-dd__opt.is-active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  /* Najnowsi użytkownicy: 2 kolumny na mobile */
  .users {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .live-grid,
  .steps,
  .stories,
  .counters {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-card {
    right: 0.5rem;
  }

  .hero-card--offset {
    left: 0.25rem;
  }

  .user-card__body {
    padding: 0.65rem 0.55rem 0.75rem;
    gap: 0.4rem;
  }

  .user-card__body h3 {
    font-size: 0.88rem;
  }

  .user-card__actions {
    grid-template-columns: 1fr;
  }

  .user-card__actions .btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.3rem;
  }

  .tags span {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }

  .hero__cta .btn,
  .band__cta .btn {
    width: 100%;
  }
}

/* ===== Gate popup (rejestracja) ===== */
/* Stałe miejsce na scrollbar – otwarcie modala nie zwęża layoutu / nie rusza fixed */
html {
  scrollbar-gutter: stable;
}

body.popup-open {
  overflow: hidden;
}

body.popup-open .header {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.popup[hidden] {
  display: none !important;
}

.popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.popup__panel {
  position: relative;
  max-width: 420px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  transform: translateY(8px);
  transition: transform 0.2s ease;
  text-align: center;
}

.popup.is-open .popup__panel {
  transform: translateY(0);
}

.popup__x {
  display: none;
}

.popup__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.popup__icon img,
.popup__icon svg {
  width: 63px;
  height: auto;
  display: block;
}

.popup__title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 23px;
  color: var(--text);
}

.popup__text {
  color: #4a5568;
  text-align: center;
  margin: 30px 0;
  line-height: 1.5;
}

.popup__strong {
  text-align: center;
  margin: 30px 0 50px;
  font-weight: 500;
  color: #c7007e;
}

.popup__btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}

.popup__btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.hero-card[data-gate] {
  cursor: pointer;
}

/* ===== Profil wbudowany w index (bez hero) ===== */
/* Header jest sticky (w flow) — bez dodawania --header-h, tylko mały odstęp */
.profile-embed {
  padding: 1.5rem 0 2.5rem;
}

.profile-embed--locked {
  min-height: 40vh;
}

.page-profile .profile-page {
  padding: 1.5rem 0 2.75rem;
  min-height: 60vh;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 1.6rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
  align-items: start;
  font-size: 0.98rem;
  line-height: 1.65;
}

.profile-card__media {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 300px;
}

/* Główne zdjęcie NAD miniaturami — pełna wysokość, bez przycinania do kwadratu */
.profile-card__avatar {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: 0 10px 28px rgba(15, 18, 33, 0.12);
  overflow: hidden;
  line-height: 0;
}

.profile-card__avatar-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}

/* 4 mniejsze pod spodem (jak rząd na zauroczeni, ale pod avatarem) */
.profile-card__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  width: 100%;
}

.profile-card__thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.45rem;
  background: var(--bg-soft) center / cover no-repeat;
  overflow: hidden;
  cursor: pointer;
}

.profile-card__thumb:hover {
  opacity: 0.92;
  outline: 2px solid rgba(184, 203, 27, 0.35);
  outline-offset: 1px;
}

.profile-card__thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Ostatnia miniatura: przyciemnienie + „+N” (jak zauroczeni) */
.profile-card__thumb--more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  z-index: 1;
}

.profile-card__more-count {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

/* Online badge na avatarem — jak zauroczeni: ciemne tło + zielona pulsująca kropka */
.profile-card__online {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 100px;
  background: #0000008c;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  z-index: 2;
}

.profile-card__online-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
  animation: profile-online-pulse 1.5s infinite;
}

@keyframes profile-online-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.profile-card__body h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.profile-card__body h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.profile-card__header {
  width: 100%;
}

/* Lokalizacja pod imieniem (jak zauroczeni) */
.profile-card__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.profile-card__loc-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.profile-card__actions .btn,
.profile-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  line-height: 1.35;
}

.profile-card__btn-icon {
  flex-shrink: 0;
  display: block;
}

.profile-card__hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 1.2rem 0;
}

.profile-card__bio {
  color: var(--text);
  line-height: 1.75;
  font-size: 0.95rem;
}

.profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-card__tags span {
  border: 1px solid rgba(184, 203, 27, 0.35);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(131, 103, 234, 0.08);
  line-height: 1.4;
}

.profile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.profile-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-contact:hover,
.profile-contact:focus-visible {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}

.profile-contact__icon {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  color: #fff;
  background: #94a3b8;
}

.profile-contact__icon--whatsapp {
  background: #25d366;
}

.profile-contact__icon--zangi {
  background: #6c4dff;
}

.profile-contact__icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.profile-contact__icon--facebook {
  background: #1877f2;
}

.profile-contact__icon--telegram {
  background: #229ed9;
}

.profile-contact__icon svg,
.profile-contact__lock svg {
  display: block;
}

.profile-contact__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.profile-contact__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-contact__value {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.profile-contact__lock {
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.9;
}

.profile-card__more {
  text-align: center;
}

.profile-card__more .btn {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  padding: 0.7rem 1.35rem;
}

.profile-missing {
  text-align: center;
  max-width: 480px;
  margin: 2rem auto;
  padding: 2.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow);
}

.profile-missing__icon {
  margin-bottom: 1rem;
}

.profile-missing__icon img {
  margin: 0 auto;
  opacity: 0.85;
}

.profile-missing h1 {
  font-size: 1.5rem;
}

.profile-missing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.profile-missing__debug {
  font-size: 0.8rem;
  color: #b91c1c;
  word-break: break-word;
}

@media (max-width: 860px) {
  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-card__media {
    max-width: 420px;
    margin: 0 auto;
  }
}

