:root {
  --pink: #ef2f70;
  --pink-bright: #ff3f7d;
  --ink: #fff;
  --panel: rgba(9, 7, 9, 0.76);
  --hairline: rgba(255, 255, 255, 0.22);
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  background: #090709;
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.landing-shell {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 3, 5, .42) 0%, rgba(5, 3, 5, .24) 47%, rgba(5, 3, 5, .77) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, transparent 35%, rgba(0, 0, 0, .24) 100%);
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  height: 74px;
  padding: 0 36px 0 46px;
  background: rgba(8, 7, 8, .66);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
}

.brand { display: inline-flex; width: 166px; }
.brand img { display: block; width: 100%; height: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 600; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: #ff6798; }

.account-actions { display: flex; gap: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.button:hover, .start-button:hover { transform: translateY(-2px); }
.button-pink { border-color: var(--pink); background: var(--pink); }
.button-ghost { background: rgba(0,0,0,.18); }

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 106px;
  left: 44px;
  width: min(730px, calc(100vw - 470px));
  text-shadow: 0 2px 4px rgba(0,0,0,.65);
}

.country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 29px;
  margin-bottom: 35px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 14, 15, .64);
  color: white;
  font-size: 14px;
  cursor: pointer;
}
.country > span:first-child { font-size: 17px; line-height: 1; }
.country select {
  max-width: 82px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
}
.country select option { background: #191416; color: #fff; }
.chevron { opacity: .75; transform: translateY(-1px); }

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(42px, 4vw, 58px);
  line-height: .98;
  letter-spacing: .01em;
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.36;
  font-weight: 500;
}

.no-signup {
  margin: 24px 0 24px;
  font-size: 22px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 385px;
  max-width: 100%;
  min-height: 63px;
  padding: 15px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  font-size: 17px;
  font-weight: 700;
  text-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.start-button:hover { box-shadow: 0 15px 34px rgba(0,0,0,.28); }
.start-button svg { width: 29px; height: 29px; fill: currentColor; }

.popular-panel {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 0;
  width: 320px;
  height: calc(100% - 76px);
  padding: 27px 30px 90px 37px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.48) 30%, rgba(0,0,0,.75) 100%);
}

.popular-panel h2 { margin: 0 0 15px; font-size: 21px; font-weight: 600; }
.popular-panel h2 b { font: inherit; }
.popular-panel h2 span { margin-right: 6px; font-size: 27px; }
.profile-list { display: grid; gap: 11px; }
.profile {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 45px;
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease;
}
.profile:hover { background: rgba(255,255,255,.08); transform: translateX(-4px); }
.profile img { width: 43px; height: 43px; border-radius: 50%; object-fit: cover; }
.profile span { display: grid; gap: 3px; min-width: 0; }
.profile b { overflow: hidden; font-size: 16px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.profile small { font-size: 13px; font-weight: 500; }

.cookie-banner {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(566px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 11px 10px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(24, 21, 22, .77);
  box-shadow: 0 10px 38px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}
.cookie-banner > img { width: 45px; height: 45px; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.35; }
.cookie-banner p a { color: var(--pink-bright); text-decoration: underline; }
.cookie-banner button {
  min-width: 92px;
  height: 47px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.progress-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 4, 6, .78);
  backdrop-filter: blur(14px);
}
.progress-overlay[hidden] { display: none; }

.progress-card {
  position: relative;
  width: min(510px, 100%);
  padding: 34px 38px 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(31,21,26,.96), rgba(13,9,12,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.56);
  text-align: center;
}
.progress-card::before {
  content: "";
  position: absolute;
  top: -110px;
  left: 50%;
  width: 300px;
  height: 190px;
  border-radius: 50%;
  background: rgba(239,47,112,.24);
  filter: blur(55px);
  transform: translateX(-50%);
}
.progress-brand { position: relative; display: flex; justify-content: center; margin-bottom: 22px; }
.progress-brand img { width: 178px; }
.connection-icon { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 36px; margin-bottom: 16px; }
.connection-icon span { width: 7px; border-radius: 999px; background: var(--pink-bright); animation: signal 1s ease-in-out infinite; }
.connection-icon span:nth-child(1) { height: 14px; animation-delay: -.3s; }
.connection-icon span:nth-child(2) { height: 24px; animation-delay: -.15s; }
.connection-icon span:nth-child(3) { height: 34px; }
@keyframes signal { 0%,100% { opacity: .35; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

.eyebrow { margin: 0 0 7px; color: #ff79a5; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.progress-card h2 { margin: 0; font-size: clamp(26px, 7vw, 34px); line-height: 1.15; }
.progress-status { min-height: 24px; margin: 12px 0 23px; color: rgba(255,255,255,.68); font-size: 14px; }
.progress-track { height: 11px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.11); box-shadow: inset 0 1px 5px rgba(0,0,0,.28); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), #ff7aaa); box-shadow: 0 0 18px rgba(255,63,125,.55); }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: rgba(255,255,255,.6); font-size: 12px; }
.progress-meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-meta strong { color: #fff; font-size: 13px; }
.progress-note { margin: 24px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }

:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@media (max-width: 1024px) {
  .topbar { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .main-nav { display: none; }
  .account-actions .button { min-width: 110px; }
  .hero-copy { left: 28px; width: calc(100vw - 330px); }
  .popular-panel { width: 280px; padding-left: 30px; }
}

@media (max-width: 767px) {
  body { overflow: hidden; }
  .hero-video { object-position: 55% center; }
  .scene-shade { background: linear-gradient(180deg, rgba(5,3,5,.5) 0%, rgba(5,3,5,.17) 35%, rgba(5,3,5,.76) 100%); }
  .topbar { height: 58px; gap: 10px; padding: 0 12px; background: rgba(8,7,8,.73); }
  .brand { width: 118px; }
  .account-actions { gap: 8px; }
  .account-actions .button { min-width: 58px; height: 32px; padding: 0 12px; font-size: 12px; }
  .button-ghost { display: none; }
  .hero-copy { top: 86px; left: 18px; width: calc(100% - 36px); }
  .country { margin-bottom: 22px; }
  h1 { max-width: 90%; font-size: clamp(35px, 11.8vw, 50px); line-height: 1.02; }
  .lead { display: -webkit-box; max-width: 92%; margin-top: 16px; overflow: hidden; font-size: 15px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
  .no-signup { margin: 15px 0 18px; font-size: 16px; }
  .start-button { width: min(100%, 355px); min-height: 56px; font-size: 15px; }
  .popular-panel { top: auto; right: 0; bottom: 112px; left: 0; display: block; width: 100%; height: 82px; padding: 10px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.68)); }
  .popular-panel h2 { margin: 0 0 8px; font-size: 13px; }
  .popular-panel h2 span { font-size: 15px; }
  .profile-list { display: flex; gap: 9px; overflow: hidden; }
  .profile { flex: 0 0 42px; display: block; min-height: 42px; }
  .profile:nth-child(n+8) { display: none; }
  .profile img { width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.72); }
  .profile span { display: none; }
  .cookie-banner { bottom: 14px; grid-template-columns: 36px 1fr auto; gap: 9px; min-height: 55px; padding: 8px 8px 8px 12px; }
  .cookie-banner > img { width: 32px; height: 32px; }
  .cookie-banner p { font-size: 9px; }
  .cookie-banner button { min-width: 62px; height: 37px; font-size: 13px; }
  .progress-card { padding: 28px 24px 25px; border-radius: 24px; }
}

@media (max-height: 700px) and (min-width: 768px) {
  .hero-copy { top: 88px; }
  .country { margin-bottom: 22px; }
  .lead { margin-top: 14px; font-size: 18px; }
  .no-signup { margin: 15px 0; font-size: 18px; }
  .start-button { min-height: 54px; }
  .cookie-banner { bottom: 12px; }
}

html[data-lang="de"] h1,
html[data-lang="ru"] h1,
html[data-lang="es"] h1,
html[data-lang="fr"] h1,
html[data-lang="pt"] h1 { font-size: clamp(37px, 3.55vw, 52px); }

html[data-lang="de"] .lead,
html[data-lang="ru"] .lead,
html[data-lang="es"] .lead,
html[data-lang="fr"] .lead,
html[data-lang="pt"] .lead { font-size: clamp(16px, 1.5vw, 20px); }

@media (max-width: 767px) {
  html[data-lang="de"] h1,
  html[data-lang="ru"] h1,
  html[data-lang="es"] h1,
  html[data-lang="fr"] h1,
  html[data-lang="pt"] h1 { font-size: clamp(30px, 9.5vw, 42px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .landing-shell { background: #130d12 url("assets/trans-poster.webp") center/cover no-repeat; }
}
