:root {
  --bg: #090708;
  --surface: #100d0f;
  --surface-strong: #171215;
  --text: #fffafc;
  --muted: #b9afb3;
  --faint: #766c70;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #9320bd;
  --accent-hover: #aa2dd2;
  --accent-ink: #fffaff;
  --focus: #fff;
  --radius-sm: 0.875rem;
  --radius-lg: 2rem;
  --control-height: 3.75rem;
  --content-width: 31rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Thai", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  background: var(--bg) url("bg/mobile.jpg") center / cover no-repeat fixed;
}

@media (min-width: 768px) {
  body {
    background-image: url("bg/desktop.jpg");
  }
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-video,
.bg-slideshow,
.bg-slideshow img,
.bg-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-video {
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.72) contrast(1.08);
  transition: opacity 500ms ease;
}

@media (min-width: 768px) {
  .bg-video.is-ready {
    opacity: 1;
  }
}

.bg-slideshow img {
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.72) contrast(1.08);
}

.bg-slideshow img.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .bg-slideshow img {
    transition: opacity 700ms linear;
  }
}

.bg-vignette {
  background:
    radial-gradient(circle at 50% 18%, rgba(175, 37, 225, 0.2), transparent 30rem),
    linear-gradient(180deg, rgba(9, 7, 8, 0.42) 0%, rgba(9, 7, 8, 0.82) 68%, rgba(9, 7, 8, 0.97) 100%),
    radial-gradient(ellipse at center, transparent 34%, rgba(0, 0, 0, 0.56) 100%);
}

.profile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--content-width), 100%);
  min-width: 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(100%, 21rem);
  height: auto;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 1rem 2rem rgba(137, 20, 183, 0.2));
}

.profile-mark {
  position: relative;
  display: grid;
  width: 6.25rem;
  height: 6.25rem;
  place-items: center;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: linear-gradient(145deg, #20171b, #0c090a);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.42);
}

.profile-mark::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(178, 57, 220, 0.48);
  border-radius: inherit;
}

.profile-mark__orbit {
  position: absolute;
  inset: -0.35rem;
  border-top: 1px solid #c545ee;
  border-right: 1px solid transparent;
  border-bottom: 1px solid rgba(178, 57, 220, 0.38);
  border-left: 1px solid transparent;
  border-radius: inherit;
  transform: rotate(24deg);
}

.profile-mark svg {
  width: 2.9rem;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.35;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
}

#title {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 0.98;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  text-shadow: 0 0.2rem 1.35rem rgba(0, 0, 0, 0.75);
}

.subtitle {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: balance;
}

.action-stack {
  display: grid;
  width: 100%;
  gap: 0.75rem;
  margin-top: 2rem;
  text-align: start;
}

.country-label {
  color: #d7cdd1;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country {
  position: relative;
  display: grid;
  min-width: 0;
  max-width: 100%;
}

#country-select {
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--control-height);
  margin: 0;
  padding-block: 0;
  padding-inline: 1rem 3.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

#country-select option {
  background: #181316;
  color: var(--text);
}

.country__chevron {
  position: absolute;
  top: 50%;
  inset-inline-end: 1rem;
  width: 1.15rem;
  pointer-events: none;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

#continue-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-height: var(--control-height);
  margin: 0;
  padding-block: 0.9rem;
  padding-inline: 1.15rem 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 0.8rem 2.2rem rgba(147, 32, 189, 0.22);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

#continue-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (hover: hover) {
  #continue-button:hover {
    background: var(--accent-hover);
    box-shadow: 0 1rem 2.8rem rgba(147, 32, 189, 0.34);
    transform: translateY(-2px);
  }

  #country-select:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
  }
}

#continue-button:active {
  background: #7e179f;
  transform: translateY(0);
}

#country-select:focus-visible,
#continue-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.links-profile {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(31rem, 100%);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.25rem, 5vw, 2rem);
  text-align: center;
}

.links-profile .brand-logo {
  width: min(100%, 19rem);
  margin-bottom: 0.15rem;
}

.links-eyebrow {
  margin: 0 0 0.55rem;
  color: #d15af1;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
}

.links-profile h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 7vw, 2.15rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.links-subtitle {
  max-width: 26rem;
  margin: 0.65rem 0 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-wrap: balance;
}

.offer-list {
  display: grid;
  width: 100%;
  gap: 0.62rem;
}

.offer-link {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto 1.15rem;
  min-width: 0;
  min-height: 3.45rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(220, 166, 243, 0.15);
  border-radius: 0.85rem;
  background: #78139d;
  color: #fffaff;
  text-align: start;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.6rem rgba(50, 5, 65, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.offer-link.is-recommended {
  background: #9a20c2;
  border-color: rgba(237, 199, 255, 0.55);
}

.offer-code {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(20, 4, 29, 0.24);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.offer-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
}

.offer-recommended {
  color: #f4c9ff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: end;
}

.offer-link svg {
  width: 1.1rem;
  fill: none;
  stroke: rgba(255, 255, 255, 0.76);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (hover: hover) {
  .offer-link:hover {
    border-color: rgba(237, 199, 255, 0.55);
    background: #8c18b5;
    transform: translateY(-1px);
  }
}

.offer-link:focus-visible,
.links-switch a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.links-switch {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.links-switch a {
  color: #d7a4e8;
  text-decoration-color: rgba(215, 164, 232, 0.45);
  text-underline-offset: 0.2em;
}

.profile--offers {
  width: min(29rem, 100%);
  padding: clamp(0.75rem, 3vh, 1.5rem) clamp(0.25rem, 3vw, 1rem);
  padding-bottom: 0.8rem;
}

.profile--offers .brand-logo {
  width: min(64vw, 14rem);
  margin-bottom: 0.45rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile--offers .country-picker {
  width: min(13.5rem, 100%);
  margin: 0 auto 0.85rem;
}

.profile--offers > .language-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 2.15rem;
  margin: 0 auto 1.35rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(198, 121, 255, 0.38);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(119, 31, 168, 0.34), rgba(154, 32, 194, 0.2));
  color: #e5c7ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.profile--offers .country {
  position: relative;
}

.profile--offers #country-select {
  min-height: 2.75rem;
  padding-inline: 2.8rem 2.6rem;
  border-color: rgba(226, 160, 255, 0.38);
  border-radius: 0.72rem;
  background: rgba(15, 9, 18, 0.9);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.country-flag {
  position: absolute;
  z-index: 1;
  top: 50%;
  inset-inline-start: 0.8rem;
  display: grid;
  width: 1.35rem;
  height: 1rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.12rem;
  color: var(--text);
  font-size: 0.5rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.country-flag img,
.offer-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-flag.is-fallback {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.profile--offers #title {
  margin: 0 0 0.9rem;
  max-width: 27rem;
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.48;
  text-wrap: balance;
  text-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.72);
}

.profile--offers .subtitle {
  margin: 0.5rem 0 1.15rem;
  color: #e2d7e7;
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.5;
  text-wrap: balance;
}

.profile--offers .telegram-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  margin: 0.75rem 0 1.15rem;
  padding: 0.38rem 0.72rem 0.38rem 0.42rem;
  border: 1px solid rgba(63, 179, 232, 0.33);
  border-radius: 999px;
  background: rgba(26, 111, 151, 0.14);
  color: #85d9ff;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: start;
  text-transform: uppercase;
}

.profile--offers .telegram-note svg {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.3rem;
  overflow: visible;
  border-radius: 50%;
  background: #229ed9;
  fill: #fff;
}

.profile--offers .landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile--offers .landing-footer .telegram-note,
.profile--offers .landing-footer .language-note {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  min-height: 2.35rem;
  margin: 0;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.profile--offers .landing-footer .telegram-note svg {
  flex: 0 0 1.35rem;
}

.profile--offers .landing-footer .telegram-note {
  border-color: rgba(63, 179, 232, 0.33);
  background: rgba(26, 111, 151, 0.14);
  color: #85d9ff;
}

.profile--offers .landing-footer .telegram-note svg {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: #229ed9;
  fill: #fff;
}

.profile--offers .offer-list {
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.profile--offers .offer-link {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr) auto 1rem;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.72rem;
}

.profile--offers .offer-link[hidden] {
  display: none;
}

.profile--offers .offer-name {
  min-width: 0;
  font-size: 0.94rem;
  line-height: 1.25;
}

.profile--offers .offer-emoji {
  font-size: 1.12rem;
  line-height: 1;
  text-align: center;
}

.profile--offers .offer-flag {
  display: grid;
  width: 1.45rem;
  height: 1rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.12rem;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.profile--offers .offer-flag.is-fallback {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.profile--offers .offer-link--primary {
  grid-template-columns: 1.2rem minmax(0, 1fr) auto 1rem;
  min-height: 4rem;
  border-color: rgba(255, 226, 250, 0.52);
  background: linear-gradient(112deg, #c72178 0%, #a327ce 58%, #7627b8 100%);
  color: #fffaff;
  box-shadow: 0 0.7rem 2.1rem rgba(176, 31, 179, 0.34), inset 0 1px rgba(255, 255, 255, 0.25);
}

.profile--offers .offer-link--primary .offer-recommended {
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(41, 7, 53, 0.24);
  color: #fff1fc;
  font-size: 0.58rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.profile--offers .offer-link--primary svg {
  stroke: rgba(255, 255, 255, 0.94);
}

.profile--offers .offer-link--alternate {
  grid-template-columns: 1.2rem minmax(0, 1fr) auto 1rem;
  border-color: rgba(231, 174, 255, 0.2);
  background: rgba(91, 13, 117, 0.93);
}

.profile--offers .country__chevron {
  inset-inline-end: 0.75rem;
}

.profile--offers .offer-link:focus-visible,
.profile--offers #country-select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) {
  .profile--offers .offer-link--primary:hover {
    background: linear-gradient(112deg, #d52b88 0%, #b331d7 58%, #862fc8 100%);
    box-shadow: 0 0.85rem 2.35rem rgba(193, 39, 191, 0.43), inset 0 1px rgba(255, 255, 255, 0.3);
  }

  .profile--offers .offer-link--alternate:hover {
    background: #741093;
  }
}

@media (max-width: 360px) {
  .profile--offers .offer-link {
    gap: 0.4rem;
    padding-inline: 0.65rem;
  }

  .profile--offers .offer-link--primary {
    grid-template-columns: 1.1rem minmax(0, 1fr) auto 0.9rem;
  }

  .profile--offers .offer-link--primary .offer-recommended {
    display: none;
  }

  .profile--offers .offer-name {
    font-size: 0.86rem;
  }
}

html[dir="rtl"] .offer-link svg {
  transform: scaleX(-1);
}

/* Preview variants: a branded channel preview, intentionally not a Telegram clone. */
.preview-page {
  min-height: 100vh;
  display: block;
  padding: 0;
  overflow-x: hidden;
  background: #08060a;
  color: #f8f2fa;
}

.preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% -12rem, rgba(165, 29, 174, 0.36), transparent 32rem),
    linear-gradient(180deg, rgba(9, 5, 12, 0.2), #08060a 40rem),
    url("bg/desktop.jpg") center top / cover no-repeat;
  filter: saturate(0.75);
}

.channel-preview {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.15rem 0 4rem;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.preview-brand img {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 154, 255, 0.38);
  border-radius: 50%;
  object-fit: cover;
}

.preview-brand span,
.preview-brand strong,
.preview-brand small {
  display: block;
  min-width: 0;
}

.preview-brand strong { font-size: 0.82rem; letter-spacing: -0.02em; }
.preview-brand small { margin-top: 0.1rem; color: #a99dac; font-size: 0.64rem; }
.preview-country-picker { width: min(11.25rem, 46vw); margin: 0; }
.preview-country-picker .country { position: relative; }
.preview-country-picker select { width: 100%; min-height: 2.5rem; padding-inline: 2.95rem 2.25rem; border-color: rgba(217, 158, 241, 0.35); background: rgba(10, 7, 12, 0.92); font-size: 0.78rem; font-weight: 700; }
.preview-country-picker .country-flag { position: absolute; top: 50%; inset-inline-start: 0.75rem; z-index: 1; transform: translateY(-50%); }
.preview-country-picker .country__chevron { position: absolute; top: 50%; inset-inline-end: 0.7rem; width: 1rem; transform: translateY(-50%); fill: none; stroke: #c9b9ce; stroke-width: 1.8; pointer-events: none; }

.preview-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 1.35rem;
  padding: clamp(2rem, 7vw, 3.2rem) 1.2rem 1.7rem;
  border: 1px solid rgba(233, 166, 255, 0.17);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(35, 15, 41, 0.92), rgba(10, 7, 12, 0.94));
  text-align: center;
}

.preview-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 8, 16, 0.94), rgba(13, 8, 16, 0.34), rgba(13, 8, 16, 0.94)), url("assets/hot-global-logo.jpg") center 35% / 15rem auto no-repeat;
  opacity: 0.52;
  content: "";
}

.preview-kicker {
  margin: 0 0 0.7rem;
  color: #a8dfbf;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-kicker span:first-child { color: #55d68c; }
.preview-intro h1 { max-width: 25rem; margin: 0 auto; font-size: clamp(1.7rem, 6vw, 2.75rem); line-height: 1.02; letter-spacing: -0.05em; text-wrap: balance; }
.preview-intro > p:last-child { max-width: 27rem; margin: 0.8rem auto 0; color: #d5cad8; font-size: 0.84rem; line-height: 1.5; }

.preview-feed { display: grid; gap: 0.7rem; margin-top: 1.1rem; }
.preview-post { padding: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 0.9rem; background: rgba(20, 16, 23, 0.9); box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2); }
.preview-post__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.65rem; }
.preview-post__meta strong { font-size: 0.78rem; }
.preview-post__meta time { color: #8e828f; font-size: 0.65rem; }
.preview-post > p { margin: 0.7rem 0 0.1rem; color: #c6bac9; font-size: 0.76rem; line-height: 1.5; }

.preview-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; }
.preview-media-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preview-media { 
  position: relative;
  display: grid;
  min-height: 12.5rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #4c1d55, #18111d 58%, #882e74);
  isolation: isolate;
}
.preview-media-grid .preview-media { min-height: 7.25rem; }
.preview-media::before { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(circle at 35% 30%, #ec77ba 0 12%, transparent 13%), radial-gradient(circle at 62% 58%, #7d46b9 0 20%, transparent 21%), linear-gradient(125deg, #2d172e, #8f326e); filter: blur(1.15rem); transform: scale(1.08); content: ""; }
.preview-media--two::before, .preview-media--six::before { filter: hue-rotate(38deg) blur(1.1rem); }
.preview-media--three::before, .preview-media--seven::before { filter: hue-rotate(92deg) blur(1.2rem); }
.preview-media--four::before { filter: hue-rotate(155deg) blur(1.15rem); }
.preview-media--five::before { filter: hue-rotate(-42deg) blur(1.3rem); }
.preview-media > span { padding: 0.45rem 0.65rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(8, 5, 10, 0.68); color: #f6eaf8; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.preview-page[data-variant="short"] .preview-post--extended { display: none; }

.preview-paywall {
  display: grid;
  justify-items: center;
  margin-top: 1.35rem;
  padding: clamp(1.4rem, 6vw, 2.25rem);
  border: 1px solid rgba(224, 157, 245, 0.28);
  border-radius: 1rem;
  background: #110c14;
  text-align: center;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
}
.preview-paywall__lock { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: #28152f; font-size: 1.1rem; }
.preview-paywall__eyebrow { margin: 0.8rem 0 0.45rem; color: #dc8df4; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.12em; }
.preview-paywall h2 { margin: 0; font-size: clamp(1.35rem, 5vw, 2rem); letter-spacing: -0.03em; }
.preview-paywall ul { display: grid; gap: 0.45rem; width: min(24rem, 100%); margin: 1rem 0 1.2rem; padding: 0; color: #cfc3d2; font-size: 0.78rem; list-style: none; }
.preview-paywall li::before { margin-inline-end: 0.45rem; color: #74d59f; content: "✓"; }
.preview-unlock { width: min(28rem, 100%); grid-template-columns: 1.2rem minmax(0, 1fr) auto 1rem; min-height: 3.7rem; background: linear-gradient(112deg, #c72178, #9122ba); }
.preview-unlock.is-recommended { background: linear-gradient(112deg, #c72178, #9122ba); border-color: rgba(255, 226, 250, 0.52); }
.preview-unlock .offer-flag { width: 1.45rem; height: 1rem; overflow: hidden; border-radius: 0.15rem; }
.preview-unlock .offer-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-paywall__note { margin: 0.7rem 0 0; color: #8f838f; font-size: 0.66rem; }

@media (min-width: 720px) {
  .preview-page[data-variant="full"] .preview-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-page[data-variant="full"] .preview-post:first-child { grid-column: span 2; }
}

@media (max-width: 520px) {
  .channel-preview { width: min(100% - 1.25rem, 44rem); padding-top: 0.85rem; }
  .preview-toolbar { gap: 0.6rem; padding-inline: 0.15rem; }
  .preview-brand img { width: 2.35rem; height: 2.35rem; }
  .preview-country-picker { width: min(10.5rem, 48vw); }
  .preview-intro { margin-top: 1rem; padding: 1.85rem 0.8rem 1.35rem; }
  .preview-intro h1 { max-width: 19rem; font-size: 1.72rem; }
  .preview-media { min-height: 10.5rem; }
  .preview-media-grid .preview-media { min-height: 5.25rem; }
  .preview-unlock { padding-inline: 0.75rem; }
}

/* Cover landing: a single portrait image, title and decisive Telegram CTA. */
.cover-page {
  display: grid;
  min-height: 100dvh;
  padding: 0.75rem;
  place-items: start center;
  overflow-x: hidden;
  background: #050506;
}

.cover-shell {
  position: relative;
  width: min(100%, 35rem);
  min-height: min(43rem, calc(100dvh - 5.25rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.65rem;
  background: #171116;
  box-shadow: 0 1.5rem 4.5rem rgba(0, 0, 0, 0.42);
}

.cover-image,
.cover-gradient { position: absolute; inset: 0; }
.cover-image { background: url("assets/lpursula.png") 70% center / cover no-repeat; transform: scale(1.012); }
.cover-gradient { background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 29%, rgba(0, 0, 0, 0.28) 49%, #050506 83%); }

.cover-content {
  position: absolute;
  right: clamp(1rem, 4vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  left: clamp(1rem, 4vw, 1.5rem);
  display: grid;
  justify-items: center;
  text-align: center;
}

.cover-kicker { margin: 0 0 0.45rem; color: rgba(255,255,255,0.72); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.14em; }
.cover-content h1 { margin: 0; color: #fff; font-size: clamp(2rem, 8vw, 3.15rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.98; text-shadow: 0 0.18rem 1.4rem rgba(0,0,0,0.78); }
.cover-subtitle { margin: 0.7rem 0 1.35rem; color: rgba(255,255,255,0.84); font-size: 0.88rem; }

.cover-cta {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  width: 100%;
  min-height: 4.25rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 999px;
  background: #fff;
  color: #070608;
  font-size: 0.98rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}
.cover-cta__telegram { display: grid; width: 1.92rem; height: 1.92rem; place-items: center; border-radius: 50%; background: #28a9e7; color: #fff; font-size: 1.05rem; font-weight: 900; line-height: 1; transform: rotate(-22deg); }
.cover-cta:hover { background: #f4edf3; transform: translateY(-1px); }
.cover-cta:focus-visible { outline: 3px solid #e19aff; outline-offset: 4px; }

.cover-footer { display: flex; gap: 0.42rem; margin: 1.2rem 0 0; color: #8c858a; font-size: 0.7rem; }
.cover-footer a { color: inherit; text-decoration: none; }
.cover-footer a:hover { color: #fff; }
.cover-routing { position: fixed; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.cover-route-fragment { display: none; }

@media (min-width: 640px) {
  .cover-page { padding: 1rem; }
  .cover-shell { min-height: min(52rem, calc(100dvh - 5.25rem)); }
}

.payment-dialog {
  width: min(26rem, calc(100% - 2rem));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(220, 166, 243, 0.24);
  border-radius: 1.25rem;
  background: #100b12;
  color: var(--text);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.72);
}

.payment-dialog::backdrop {
  background: rgba(4, 2, 5, 0.78);
  backdrop-filter: blur(5px);
}

.payment-dialog__panel {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem;
  text-align: center;
}

.payment-dialog__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.payment-dialog__eyebrow,
.crypto-profile__eyebrow {
  margin: 0;
  color: #d69aef;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-dialog h2 {
  margin: 0;
  font-size: 1.35rem;
}

.payment-dialog #payment-dialog-description {
  margin: 0;
  color: var(--muted);
}

.payment-choice {
  display: flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(220, 166, 243, 0.28);
  border-radius: 0.8rem;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

.payment-choice--crypto {
  background: linear-gradient(110deg, #8d1bb5, #651282);
}

.payment-choice--card {
  border-color: rgba(220, 166, 243, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #e9ddec;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.payment-choice--card:hover { border-color: rgba(220, 166, 243, 0.48); background: rgba(255, 255, 255, 0.085); transform: translateY(-1px); }

.payment-choice__status {
  color: #d2c4d2;
  font-size: 0.7rem;
  font-weight: 650;
}

.payment-dialog__close:focus-visible,
.payment-choice:focus-visible,
.crypto-profile__back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.crypto-profile {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(29rem, 100%);
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 6vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(8, 6, 10, 0.9);
  text-align: center;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.48);
}

.crypto-profile .brand-logo {
  width: min(65vw, 13rem);
  margin: 0 0 0.25rem;
}

.crypto-profile h1,
.crypto-profile p {
  margin: 0;
}

.crypto-profile h1 {
  font-size: clamp(1.4rem, 6vw, 1.9rem);
  line-height: 1.2;
}

.crypto-profile__message {
  color: var(--muted);
  line-height: 1.6;
}

.crypto-profile__notice {
  color: #ffb2c5;
  font-size: 0.9rem;
  font-weight: 750;
}

.crypto-profile__back {
  margin-inline-start: auto;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(220, 166, 243, 0.32);
  border-radius: 999px;
  color: #e3c2f2;
  text-decoration: none;
}

.crypto-profile__back--bottom {
  display: none;
}

.crypto-profile .brand-logo {
  margin-top: -0.35rem;
}

.crypto-profile__eyebrow {
  color: #d99aef;
  letter-spacing: 0.04em;
}

.crypto-profile h1 {
  margin-top: -0.35rem;
}

.checkout-summary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(214, 144, 241, 0.28);
  border-radius: 0.95rem;
  background: linear-gradient(110deg, rgba(102, 26, 131, 0.3), rgba(25, 14, 30, 0.76));
  text-align: start;
}

.checkout-summary p {
  margin: 0;
}

.checkout-summary__label {
  font-size: 0.92rem;
  font-weight: 800;
}

.checkout-summary__features {
  margin-top: 0.28rem !important;
  color: #c9bdcc;
  font-size: 0.72rem;
  line-height: 1.45;
}

.checkout-summary__price {
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 850;
  direction: ltr;
  white-space: nowrap;
}

.checkout-summary__price span {
  color: #d8a4ec;
  font-size: 0.68rem;
}

.crypto-assets {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: start;
}

.crypto-assets legend {
  margin-bottom: 0.55rem;
  color: #ded0e4;
  font-size: 0.85rem;
  font-weight: 750;
}

.crypto-asset {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.crypto-asset:has(input:checked) {
  border-color: rgba(205, 112, 240, 0.72);
  background: rgba(112, 28, 142, 0.26);
}

.crypto-asset input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.crypto-asset:focus-within {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.crypto-asset__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 850;
}

.crypto-asset__mark--usdc {
  background: rgba(39, 117, 202, 0.24);
  color: #6ab1ff;
}

.crypto-asset__mark--usdt {
  background: rgba(38, 160, 114, 0.22);
  color: #57d3a1;
}

.crypto-asset__mark--sol {
  background: linear-gradient(145deg, rgba(153, 69, 255, 0.34), rgba(20, 241, 149, 0.18));
  color: #c88aff;
}

.crypto-asset__copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 0.15rem;
}

.crypto-asset__copy strong {
  font-size: 0.9rem;
}

.crypto-asset__copy small {
  color: #c1b5c6;
  font-size: 0.72rem;
  line-height: 1.35;
}

.crypto-asset__check {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.crypto-asset:has(input:checked) .crypto-asset__check {
  border: 0.3rem solid #d67cf1;
  background: #fff;
}

.checkout-notice {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(190, 143, 224, 0.3);
  border-radius: 0.8rem;
  background: rgba(91, 45, 117, 0.2);
  color: #ead9f2;
  text-align: start;
}

.checkout-notice span {
  flex: 0 0 auto;
}

.checkout-notice p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.checkout-submit {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.82rem;
  background: linear-gradient(110deg, #c72178 0%, #a327ce 58%, #7627b8 100%);
  color: #fffaff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0.7rem 2.1rem rgba(176, 31, 179, 0.24);
}

.checkout-submit:disabled {
  background: #4b3553;
  color: #d5c9d9;
  cursor: not-allowed;
  box-shadow: none;
}

.crypto-assets[hidden],
.checkout-submit[hidden],
.checkout-summary[hidden] {
  display: none;
}

.checkout-submit:focus-visible,
.checkout-wallet:focus-visible,
.checkout-payment button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.checkout-payment[hidden] {
  display: none;
}

.checkout-payment {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 0.85rem;
  margin-top: 0.15rem;
  padding: 1rem;
  border: 1px solid rgba(205, 112, 240, 0.32);
  border-radius: 1rem;
  background: linear-gradient(155deg, rgba(79, 28, 99, 0.28), rgba(255, 255, 255, 0.025) 55%);
  scroll-margin-top: 1rem;
}

.checkout-payment h2 {
  margin: 0;
  color: #f9efff;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

.checkout-payment__amount {
  margin: 0;
  color: #f4d5ff;
  font-size: 1.2rem;
  font-weight: 850;
  direction: ltr;
}

.checkout-qr {
  display: grid;
  width: min(13rem, 100%);
  min-height: 13rem;
  place-items: center;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  background: #fff;
}

.checkout-qr img,
.checkout-qr canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.checkout-wallet {
  display: grid;
  width: 100%;
  min-height: 3.15rem;
  place-items: center;
  border: 1px solid rgba(246, 218, 255, 0.45);
  border-radius: 0.8rem;
  background: linear-gradient(110deg, #a51f7c, #7d24ae);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.checkout-wallet:hover {
  filter: brightness(1.12);
}

.checkout-copy-link {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid rgba(211, 141, 236, 0.28);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.045);
  color: #ead8f2;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.checkout-payment__hint,
.checkout-payment__timer,
.checkout-payment__state {
  margin: 0;
  color: #c1b5c6;
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
}

.checkout-payment__timer {
  color: #e4c7f0;
  font-variant-numeric: tabular-nums;
}

.checkout-payment__state {
  color: #bfe8d2;
  font-weight: 750;
}

.checkout-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: start;
}

.checkout-address span {
  grid-column: 1 / -1;
  color: #bbaec1;
  font-size: 0.68rem;
}

.checkout-address code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #f2eafa;
  font-size: 0.65rem;
  direction: ltr;
  text-align: left;
}

.checkout-refresh {
  min-height: 2.3rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(211, 141, 236, 0.34);
  border-radius: 0.55rem;
  background: rgba(122, 35, 157, 0.45);
  color: #f4e8fa;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
}

.checkout-refresh {
  width: 100%;
  min-height: 2.7rem;
  font-size: 0.78rem;
}

.checkout-refresh:hover {
  background: rgba(158, 47, 195, 0.62);
}

.checkout-notice:empty {
  display: none;
}

.checkout-notice.is-error {
  border-color: rgba(255, 130, 151, 0.42);
  color: #ffc2cd;
}

.checkout-notice.is-success {
  border-color: rgba(83, 206, 153, 0.42);
  background: rgba(27, 106, 77, 0.2);
  color: #b4f0d4;
}

.checkout-notice.is-info {
  border-color: rgba(101, 193, 232, 0.4);
  background: rgba(29, 101, 132, 0.2);
  color: #d0efff;
}

.checkout-footnote {
  max-width: 24rem;
  color: #938697;
  font-size: 0.68rem;
  line-height: 1.5;
}

@media (max-width: 380px) {
  .crypto-profile {
    gap: 0.7rem;
    padding: 1.2rem 1rem;
  }

  .crypto-profile .brand-logo {
    width: min(56vw, 10rem);
  }

  .checkout-summary {
    padding: 0.8rem;
  }

  .checkout-summary__price {
    font-size: 1.15rem;
  }
}

.funnel-checkout {
  background: radial-gradient(circle at 50% 0%, rgba(42,171,238,.2), transparent 28rem), #0e1621;
}
.funnel-checkout .crypto-profile { border-color: rgba(42,171,238,.22); background: rgba(14,22,33,.96); }
.funnel-checkout .crypto-profile__eyebrow { color: #73c7f2; }
.funnel-checkout .checkout-summary { border-color: rgba(42,171,238,.32); background: #17212b; }
.funnel-checkout .crypto-asset:has(input:checked) { border-color: #2aabee; background: rgba(42,171,238,.12); }
.funnel-checkout .checkout-submit,
.funnel-checkout .checkout-wallet { border-color: rgba(255,255,255,.14); background: #2aabee; }
.funnel-checkout .checkout-notice.is-info { border-color: rgba(42,171,238,.4); background: rgba(42,171,238,.1); color: #c9ecfd; }

/* Telegram-led visual system for the isolated funnel. */
.funnel-page {
  --tg-bg: #0e1621;
  --tg-surface: #17212b;
  --tg-surface-2: #202b36;
  --tg-blue: #2aabee;
  --tg-blue-strong: #229ed9;
  --tg-text: #f5f7f9;
  --tg-muted: #aab7c4;
  background: radial-gradient(circle at 50% -10%, rgba(42, 171, 238, .22), transparent 29rem), var(--tg-bg);
}

.funnel-entry,
.funnel-offer {
  border-color: rgba(123, 191, 226, .2);
  background: var(--tg-bg);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, .48);
}

.funnel-primary {
  border-color: rgba(255,255,255,.16);
  background: var(--tg-blue);
  box-shadow: 0 .8rem 2rem rgba(34, 158, 217, .22);
}

.funnel-country select,
.funnel-preview,
.funnel-payment { background: var(--tg-surface); border-color: rgba(123,191,226,.18); }
.funnel-plan { background: linear-gradient(145deg, rgba(31, 82, 111, .45), rgba(23, 33, 43, .95)); border-color: rgba(42,171,238,.36); }
.funnel-live i { background: #51d88a; }
.funnel-plan__eyebrow,
.funnel-plan__heading span,
.funnel-section-title span { color: #73c7f2; }

.funnel-preview__grid {
  height: 21rem;
  gap: .35rem;
  background: #0e1621;
}

.funnel-preview__grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #22303d; }
.funnel-preview__grid img,
.funnel-preview__grid > div:nth-child(2) img,
.funnel-preview__grid > div:nth-child(3) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transform: none;
}
.funnel-preview__grid figure:nth-child(2) img { object-position: 72% 28%; }
.funnel-preview__grid figure:nth-child(3) img { object-position: 28% 50%; }
.funnel-preview__main figcaption {
  position: absolute;
  inset: auto .55rem .55rem;
  padding: .42rem .55rem;
  border-radius: .5rem;
  background: rgba(14,22,33,.78);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.funnel-extra-copy { margin-top: 1.05rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.09); }
.funnel-extra-copy > p { display: flex; gap: .45rem; margin: 0; color: #dce7ef; font-size: .74rem; font-weight: 750; }
.funnel-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.funnel-tags span { padding: .4rem .55rem; border: 1px solid rgba(42,171,238,.2); border-radius: .55rem; background: rgba(42,171,238,.08); color: #bfe6fa; font-size: .62rem; }

.funnel-video { margin-top: .85rem; padding: 1rem; border: 1px solid rgba(42,171,238,.2); border-radius: 1.15rem; background: var(--tg-surface); }
.funnel-video[hidden] { display: none; }
.funnel-video video { display: block; width: 100%; max-height: 34rem; border-radius: .85rem; background: #05080b; }

.funnel-plans { display: grid; gap: .6rem; margin-top: 1rem; }
.funnel-plan-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-height: 4.4rem;
  padding: .72rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .85rem;
  background: rgba(9, 18, 27, .62);
  cursor: pointer;
}
.funnel-plan-option:has(input:checked) { border-color: var(--tg-blue); background: rgba(42,171,238,.13); box-shadow: 0 0 0 1px rgba(42,171,238,.14); }
.funnel-plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.funnel-plan-option__check { display: grid; width: 1.15rem; height: 1.15rem; place-items: center; border: 1px solid #738390; border-radius: 50%; }
.funnel-plan-option input:checked + .funnel-plan-option__check { border: .34rem solid var(--tg-blue); background: #fff; }
.funnel-plan-option:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.funnel-plan-option__copy { display: grid; gap: .12rem; min-width: 0; }
.funnel-plan-option__copy strong { font-size: .78rem; }
.funnel-plan-option__copy small { color: var(--tg-muted); font-size: .61rem; line-height: 1.35; }
.funnel-plan-option__copy em { justify-self: start; margin-bottom: .12rem; padding: .18rem .36rem; border-radius: .3rem; background: var(--tg-blue); color: white; font-size: .49rem; font-style: normal; font-weight: 900; letter-spacing: .06em; }
.funnel-plan-option__price { color: white; font-size: 1.08rem; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.funnel-plan-option__price small { margin-inline-end: .12rem; color: #91a3b1; font-size: .55rem; }

.funnel-payment-choice--card { border-color: rgba(42,171,238,.45); background: rgba(42,171,238,.1); opacity: 1 !important; }
.funnel-payment-choice--active { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.035); }
.funnel-payment-choice__mark { background: rgba(42,171,238,.14); color: #76cff8; }
.funnel-payment-choice--active em { background: rgba(81,216,138,.12); color: #86ecb6; }

@media (max-width: 380px) {
  .funnel-preview__grid { height: 17rem; }
  .funnel-plan-option { gap: .5rem; padding-inline: .6rem; }
  .funnel-plan-option__price { font-size: .96rem; }
}

.trust-line {
  margin: 1.4rem 0 0;
  color: var(--faint);
  font-size: 0.73rem;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .profile {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(8, 6, 7, 0.88);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.48);
  }

  .links-profile {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(8, 6, 10, 0.88);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-height: 480px) {
  body {
    align-items: start;
  }

  .profile {
    padding-block: 1rem;
  }

  .profile-mark {
    width: 4.25rem;
    height: 4.25rem;
    margin-bottom: 0.8rem;
  }

  .profile .brand-logo {
    width: min(62vw, 12rem);
  }

  .links-profile .brand-logo {
    width: min(58vw, 10rem);
  }

  .profile-mark svg {
    width: 2rem;
  }

  .subtitle,
  .trust-line {
    display: none;
  }

  .action-stack {
    margin-top: 1.1rem;
  }
}

/* Separate pre-Telegram funnel. Namespaced so existing landing pages stay unchanged. */
.funnel-page {
  display: block;
  min-height: 100dvh;
  padding: clamp(0.75rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(167, 40, 197, 0.2), transparent 34rem),
    linear-gradient(180deg, #16091a 0%, #09070a 52%, #050405 100%);
}

.funnel-entry,
.funnel-offer {
  position: relative;
  width: min(100%, 30rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.6rem;
  background: rgba(10, 7, 11, 0.96);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.55);
}

.funnel-entry__visual {
  position: relative;
  min-height: clamp(25rem, 66dvh, 39rem);
  overflow: hidden;
}

.funnel-entry__visual > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 22%;
}

.funnel-entry__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 4, 7, 0.05) 35%, rgba(7, 4, 8, 0.94) 100%);
}

.funnel-entry__identity {
  position: absolute;
  inset-inline: 1.35rem;
  bottom: 1.35rem;
  z-index: 1;
  text-align: center;
}

.funnel-live {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 6, 9, 0.58);
  color: #f2d9f9;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.funnel-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #5be0a0;
  box-shadow: 0 0 0.8rem rgba(91, 224, 160, 0.8);
}

.funnel-entry__identity h1 {
  margin: 0.7rem 0 0.2rem;
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.funnel-entry__identity p {
  margin: 0.65rem auto 0;
  max-width: 22rem;
  color: #d1c6d3;
  font-size: 0.9rem;
}

.funnel-entry__action {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.funnel-country {
  display: grid;
  gap: 0.38rem;
  color: #a99cab;
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.funnel-country select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(205, 107, 231, 0.35);
  border-radius: 0.9rem;
  background: #171218;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: none;
}

.funnel-country-status,
.funnel-microcopy,
.funnel-card-status {
  margin: 0;
  color: #8f838f;
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
}

.funnel-primary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  background: linear-gradient(115deg, #a723b8, #db3d98);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 0.8rem 2rem rgba(177, 37, 164, 0.24);
}

.funnel-primary:hover,
.funnel-payment-choice--active:hover { filter: brightness(1.1); }

.funnel-primary__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.funnel-offer { padding: clamp(1rem, 4vw, 1.45rem); }
.funnel-offer { min-width: 0; max-width: 100%; }

.funnel-offer__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
}
.funnel-offer__header > * { min-width: 0; }

.funnel-back {
  grid-column: 1 / -1;
  justify-self: start;
  color: #a99eaa;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.funnel-mini-brand { display: flex; align-items: center; gap: 0.65rem; }
.funnel-mini-brand img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.funnel-mini-brand span { display: grid; }
.funnel-mini-brand strong { font-size: 0.8rem; }
.funnel-mini-brand small { color: #8e838f; font-size: 0.64rem; }

.funnel-country-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  max-width: 12.5rem;
  min-height: 2.35rem;
  padding-inline: .65rem .5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(42, 171, 238, .07);
  color: #d7cbd8;
}
.funnel-country-control__flag { font-size: .92rem; line-height: 1; }
.funnel-country-select {
  width: 100%;
  min-width: 0;
  padding: .45rem .4rem;
  overflow: hidden;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: #dceaf2;
  font: inherit;
  font-size: .65rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.funnel-country-select option { color: #17212b; background: #fff; }
.funnel-country-control__chevron { color: #74caf4; font-size: .85rem; line-height: 1; transform: translateY(-.08rem); }
.funnel-country-control:focus-within { border-color: #2aabee; box-shadow: 0 0 0 3px rgba(42,171,238,.18); }

.funnel-offer__hero { margin: 1rem -0.45rem 0; }
.funnel-offer__portrait { position: relative; height: 25rem; overflow: hidden; border-radius: 1.2rem; background: #1a111a; }
.funnel-offer__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(8,5,9,.94) 100%); }
.funnel-offer__portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.funnel-offer__portrait-copy { position: absolute; z-index: 1; inset-inline: 1.15rem; bottom: 1.25rem; text-align: center; }
.funnel-offer__portrait-copy h1 { margin: 0.85rem auto 0; max-width: 23rem; font-size: clamp(2rem, 9vw, 3.15rem); line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.funnel-offer__portrait-copy h1 { overflow-wrap: anywhere; }

.funnel-message { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .55rem; padding: 1.25rem 0; }
.funnel-message__avatar img { width: 2.35rem; height: 2.35rem; border-radius: 50%; object-fit: cover; }
.funnel-message__bubble { padding: .95rem 1rem; border-radius: 1rem 1rem 1rem .25rem; background: #182635; color: #f5f8fb; }
.funnel-message__bubble p { margin: 0; font-size: .78rem; line-height: 1.55; }
.funnel-message__bubble p + p { margin-top: .7rem; color: #dce3e8; }

.funnel-preview { padding: 1.1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1.15rem; background: #120e13; }
.funnel-preview__grid { display: grid; grid-template-columns: 1.45fr .8fr; grid-template-rows: 1fr 1fr; gap: .3rem; height: 17rem; margin-top: .9rem; overflow: hidden; border-radius: .85rem; }
.funnel-preview__grid > div { position: relative; min-width: 0; overflow: hidden; background: #321836; }
.funnel-preview__grid .funnel-preview__main { grid-row: 1 / 3; }
.funnel-preview__grid img { width: 100%; height: 100%; object-fit: cover; filter: blur(13px) saturate(.72) brightness(.7); transform: scale(1.13); }
.funnel-preview__grid > div:nth-child(2) img { object-position: 70% 30%; filter: blur(10px) hue-rotate(18deg) brightness(.62); }
.funnel-preview__grid > div:nth-child(3) img { object-position: 25% 50%; filter: blur(12px) hue-rotate(-20deg) brightness(.58); }
.funnel-preview__main span { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: .45rem .65rem; border-radius: 999px; background: rgba(14,7,15,.74); color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; backdrop-filter: blur(10px); }
.funnel-desire-list { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.funnel-desire-list li { display: flex; gap: .55rem; color: #ddd2de; font-size: .74rem; }
.funnel-desire-list li > span:first-child { color: #ef72dc; }

.funnel-plan,
.funnel-payment {
  padding: 1rem;
  border: 1px solid rgba(203, 82, 224, 0.26);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(73, 25, 78, 0.32), rgba(18, 13, 19, 0.82));
}
.funnel-plan { margin-top: .85rem; }
.funnel-plan__eyebrow { display: block; margin-bottom: .75rem; color: #ef85e3; font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-align: center; }

.funnel-plan__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.funnel-plan__heading span,
.funnel-section-title span { color: #dd7de6; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.11em; }
.funnel-plan__heading h2,
.funnel-section-title h2 { margin: 0.25rem 0 0; font-size: 1rem; }
.funnel-plan__heading p { margin: 0; color: #fff; font-size: 2rem; font-weight: 900; letter-spacing: -0.05em; }
.funnel-plan__heading sup { margin-inline-end: 0.22rem; color: #bbaabd; font-size: 0.66rem; letter-spacing: 0; }
.funnel-benefits { display: grid; gap: 0.65rem; margin: 0.95rem 0 0; padding: 0; list-style: none; }
.funnel-benefits li { display: flex; gap: 0.55rem; color: #d6ccd7; font-size: 0.75rem; }
.funnel-benefits li span:first-child { color: #63e6a7; font-weight: 900; }
.funnel-plan__lead { margin: .8rem 0 0; color: #c5b9c6; font-size: .73rem; }
.funnel-primary--offer { margin-top: 1rem; }

.funnel-payment { margin-top: 0.85rem; background: rgba(17, 12, 18, 0.88); }
.funnel-section-title { margin-bottom: 0.9rem; }
.funnel-section-title > p { margin: .35rem 0 0; color: #978b98; font-size: .67rem; line-height: 1.45; }
.funnel-payment-choice {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 4.1rem;
  margin-top: 0.55rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255,255,255,.035);
  color: #fff;
  font: inherit;
  text-align: start;
  text-decoration: none;
}
.funnel-payment-choice--active { border-color: rgba(227, 103, 237, 0.58); background: linear-gradient(110deg, rgba(125, 31, 151, 0.48), rgba(178, 35, 141, 0.28)); }
.funnel-payment-choice__mark { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 0.75rem; background: rgba(190, 64, 211, .18); color: #ee99f4; font-size: 1.15rem; }
.funnel-payment-choice > span:nth-child(2) { display: grid; gap: 0.16rem; }
.funnel-payment-choice strong { font-size: 0.78rem; }
.funnel-payment-choice small { color: #a99eaa; font-size: 0.63rem; }
.funnel-payment-choice em { padding: 0.28rem 0.42rem; border-radius: 999px; background: rgba(96, 224, 157, .12); color: #86ecb6; font-size: 0.56rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.funnel-payment-choice:not(.funnel-payment-choice--active) { cursor: pointer; opacity: .66; }
.funnel-payment-choice:not(.funnel-payment-choice--active) em { background: rgba(255,255,255,.08); color: #b3a8b4; }
.funnel-card-status:not(:empty) { margin-top: 0.7rem; padding: 0.65rem; border-radius: 0.65rem; background: rgba(242, 177, 72, .08); color: #e8c786; }
.funnel-offer__footer { display: flex; justify-content: center; align-items: center; gap: 0.65rem; padding: 1.2rem 0 0.25rem; }
.funnel-offer__footer p { display: grid; margin: 0; }
.funnel-offer__footer strong { font-size: 0.68rem; }
.funnel-offer__footer small { color: #7f747f; font-size: 0.6rem; }

@media (min-width: 640px) {
  .funnel-page { padding-block: 2.5rem; }
}

@media (max-width: 380px) {
  .funnel-page { padding: 0; }
  .funnel-entry,
  .funnel-offer { border-inline: 0; border-radius: 0; }
  .funnel-payment-choice { grid-template-columns: auto 1fr auto; }
  .funnel-payment-choice em { grid-column: 2; justify-self: start; }
  .funnel-payment-choice b { grid-row: 1 / span 2; grid-column: 3; }
}

/* Final Telegram theme overrides: keep after the base funnel rules. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.funnel-page {
  --tg-bg: #0e1621;
  --tg-surface: #17212b;
  --tg-surface-2: #202b36;
  --tg-blue: #2aabee;
  --tg-blue-strong: #229ed9;
  --tg-muted: #9fb0bf;
  background: radial-gradient(circle at 50% -8%, rgba(42, 171, 238, .17), transparent 27rem), var(--tg-bg);
}

.funnel-entry,
.funnel-offer {
  border-color: rgba(103, 176, 214, .22);
  background: var(--tg-bg);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, .46);
}

.funnel-country select {
  border-color: rgba(42, 171, 238, .42);
  background: var(--tg-surface);
}

.funnel-primary,
.funnel-primary--offer {
  border-color: rgba(255, 255, 255, .16);
  background: var(--tg-blue);
  box-shadow: 0 .8rem 2rem rgba(34, 158, 217, .24);
}

.funnel-primary:hover,
.funnel-primary--offer:hover { background: #38b5f2; filter: none; }
.funnel-primary:focus-visible,
.funnel-payment-choice:focus-visible,
.funnel-back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.funnel-offer__hero { margin: 1rem -0.45rem 0; }
.funnel-showcase {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: .22rem;
  height: clamp(24rem, 108vw, 31rem);
  max-height: 31rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #070b0f;
}
.funnel-showcase figure { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: #101820; }
.funnel-showcase__main { grid-row: 1 / 3; }
.funnel-showcase img { display: block; width: 100%; height: 100%; object-fit: cover; }
.funnel-showcase__main img { object-position: center center; }
.funnel-showcase figure:nth-child(2) img { object-position: center top; }
.funnel-showcase figure:nth-child(3) img { object-position: center center; }

/* Keep one hero portrait; the supplied mosaic belongs inside the VIP preview card. */
.funnel-offer__portrait {
  height: 25rem;
  background: #111a22;
}
.funnel-offer__portrait::after {
  background: linear-gradient(180deg, transparent 38%, rgba(8, 16, 24, .94) 100%);
}
.funnel-offer__portrait > img { object-position: center 20%; }
.funnel-live { background: rgba(14, 31, 43, .76); color: #d5f1ff; }

.funnel-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.42;
  margin-top: .9rem;
  overflow: hidden;
  border-radius: .9rem;
  background: #09111a;
}
.funnel-preview__grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: .55rem;
  background: #101820;
}
.funnel-preview__grid .funnel-preview__main { grid-row: auto; }
.funnel-preview__grid img,
.funnel-preview__grid > div:nth-child(2) img,
.funnel-preview__grid > div:nth-child(3) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(.4px) saturate(.96) contrast(1.015);
  transform: scale(1.006);
}
.funnel-preview__grid .funnel-preview__main img { object-position: center center; }
.funnel-preview__grid figure:nth-child(2) img { object-position: center top; }
.funnel-preview__grid figure:nth-child(3) img { object-position: center center; }
.funnel-preview__grid figure:nth-child(4) img {
  object-position: center 48%;
  filter: blur(2.2px) saturate(.93) brightness(.92);
  transform: scale(1.02);
}
.funnel-preview__main figcaption {
  position: absolute;
  inset: auto .55rem .55rem;
  padding: .42rem .55rem;
  border-radius: .5rem;
  background: rgba(14, 31, 43, .82);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.funnel-message__bubble { background: #182b3b; }
.funnel-preview,
.funnel-video,
.funnel-payment { border-color: rgba(42, 171, 238, .2); background: var(--tg-surface); }
.funnel-desire-list li > span:first-child,
.funnel-plan__eyebrow,
.funnel-section-title span { color: #6cc7f4; }
.funnel-tags span { border-color: rgba(42,171,238,.24); background: rgba(42,171,238,.09); color: #c1e9fc; }

.funnel-plan {
  border-color: rgba(42, 171, 238, .34);
  background: linear-gradient(145deg, rgba(33, 84, 111, .42), rgba(23, 33, 43, .96));
}
.funnel-plan-option { border-color: rgba(255,255,255,.1); background: rgba(10, 21, 31, .68); }
.funnel-plan-option:has(input:checked) { border-color: var(--tg-blue); background: rgba(42,171,238,.14); box-shadow: 0 0 0 1px rgba(42,171,238,.14); }
.funnel-plan-option input:checked + .funnel-plan-option__check { border-color: var(--tg-blue); }
.funnel-plan-option__copy em { background: var(--tg-blue); }

.funnel-payment-choice__mark { background: rgba(42,171,238,.14); color: #75d0fb; }
.funnel-payment-choice--card { border-color: rgba(42,171,238,.48); background: rgba(42,171,238,.11); opacity: 1; }
.funnel-payment-choice--active { border-color: rgba(42,171,238,.32); background: rgba(42,171,238,.06); }
.funnel-payment-choice--active:hover { border-color: var(--tg-blue); background: rgba(42,171,238,.12); filter: none; }
.funnel-card-status:not(:empty) { border: 1px solid rgba(42,171,238,.18); background: rgba(42,171,238,.08); color: #c5eafa; }

@media (max-width: 380px) {
  .funnel-showcase { height: 25rem; border-radius: .9rem; }
  .funnel-offer__portrait { height: 22rem; }
  .funnel-preview__grid { height: auto; aspect-ratio: 1 / 1.46; }
}

/* Stripe Embedded Checkout */
.payment-method-dialog {
  width: min(29rem, calc(100% - 1.5rem));
  max-width: 29rem;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 171, 238, .32);
  border-radius: 1.15rem;
  background: #101820;
  color: #f5f8fa;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .65);
}
.payment-method-dialog::backdrop { background: rgba(2, 7, 12, .8); backdrop-filter: blur(8px); }
.payment-method-dialog__shell { padding: 1rem; }
.payment-method-dialog__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: start;
}
.payment-method-dialog__header .funnel-section-title { margin: 0; }
.payment-method-dialog__header .funnel-section-title h2 { font-size: 1.15rem; }
.payment-method-dialog__delivery {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  margin-top: .9rem;
  padding: .8rem;
  border: 1px solid rgba(42, 171, 238, .28);
  border-radius: .85rem;
  background: linear-gradient(135deg, rgba(42, 171, 238, .14), rgba(42, 171, 238, .055));
}
.payment-method-dialog__telegram {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
  box-shadow: 0 .5rem 1.25rem rgba(42, 171, 238, .22);
}
.payment-method-dialog__telegram svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.payment-method-dialog__delivery > span:last-child { display: grid; gap: .18rem; min-width: 0; }
.payment-method-dialog__delivery strong { color: #fff; font-size: .76rem; line-height: 1.25; }
.payment-method-dialog__delivery small { color: #b9d5e3; font-size: .65rem; line-height: 1.4; }
.payment-method-dialog__choices { margin-top: .25rem; }
.payment-method-dialog .funnel-payment-choice {
  margin-top: .65rem;
  border-color: rgba(42, 171, 238, .32);
  background: rgba(42, 171, 238, .065);
  opacity: 1;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.payment-method-dialog .funnel-payment-choice:hover {
  border-color: #2aabee;
  background: rgba(42, 171, 238, .13);
  filter: none;
  transform: translateY(-1px);
}
.payment-method-dialog .funnel-payment-choice__mark {
  border: 1px solid rgba(117, 208, 251, .18);
  background: rgba(42, 171, 238, .13);
}
.payment-method-dialog .funnel-payment-choice__mark svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.payment-method-dialog .funnel-payment-choice__status,
.payment-method-dialog .funnel-payment-choice:not(.funnel-payment-choice--active) .funnel-payment-choice__status {
  background: rgba(81, 216, 138, .14);
  color: #86ecb6;
}
.payment-method-dialog .funnel-payment-choice > b { color: #8bd7fa; font-size: 1rem; }

.stripe-dialog {
  width: min(30rem, calc(100% - 1.5rem));
  max-width: 30rem;
  height: min(44rem, calc(100dvh - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 171, 238, .28);
  border-radius: 1.15rem;
  background: #101820;
  color: #f5f8fa;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .65);
}
.stripe-dialog::backdrop {
  background: rgba(2, 7, 12, .82);
  backdrop-filter: blur(8px);
}
.stripe-dialog__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}
.stripe-dialog__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.1rem .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #101820;
}
.stripe-dialog__eyebrow {
  display: block;
  margin-bottom: .35rem;
  color: #68c8f6;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.stripe-dialog__header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  line-height: 1.12;
}
.stripe-dialog__header p {
  margin: .35rem 0 0;
  color: #aab8c2;
  font-size: .75rem;
  line-height: 1.45;
}
.stripe-dialog__close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #c8d3da;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.stripe-dialog__close:hover { border-color: rgba(42, 171, 238, .5); color: #fff; }
.stripe-dialog__close:focus-visible,
.stripe-dialog__telegram:focus-visible { outline: 3px solid rgba(42, 171, 238, .65); outline-offset: 2px; }
.stripe-dialog__body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
}
.stripe-dialog__checkout { min-height: 32rem; background: #fff; }
.stripe-dialog__loading {
  display: grid;
  min-height: 19rem;
  place-content: center;
  justify-items: center;
  gap: .8rem;
  padding: 2rem;
  background: #fff;
  color: #34414a;
  text-align: center;
}
.stripe-dialog__loading[hidden] { display: none; }
.stripe-dialog__loading span {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid #dce8ee;
  border-top-color: #2aabee;
  border-radius: 50%;
  animation: stripe-loading .8s linear infinite;
}
.stripe-dialog__loading p { margin: 0; font-size: .85rem; font-weight: 700; }
.stripe-dialog__error {
  margin: 1rem;
  padding: 1rem;
  border: 1px solid #f2b7bf;
  border-radius: .75rem;
  background: #fff1f3;
  color: #8f2535;
  font-size: .82rem;
  line-height: 1.5;
}
.stripe-dialog__result {
  min-height: 26rem;
  padding: 3rem 1.25rem;
  background: #fff;
  color: #17232b;
  text-align: center;
}
.stripe-dialog__success-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50%;
  background: #def8e8;
  color: #147a42;
  font-size: 2rem;
  font-weight: 900;
}
.stripe-dialog__result h3 { margin: 0; font-size: 1.45rem; }
.stripe-dialog__result p { margin: .5rem 0 1.5rem; color: #66747d; }
.stripe-dialog__telegram {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1rem;
  border-radius: .75rem;
  background: #229ed9;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
@keyframes stripe-loading { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .stripe-dialog {
    width: calc(100% - 1rem);
    max-width: 30rem;
    height: min(43rem, calc(100dvh - 1rem));
    max-height: calc(100dvh - 1rem);
    border-radius: .95rem;
  }
  .stripe-dialog__header { padding: .9rem; }
  .funnel-country-control { max-width: 10.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-dialog__loading span { animation-duration: 1.6s; }
}

/* Embedded crypto checkout */
.crypto-dialog__body {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #09111a;
}
.crypto-dialog__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #09111a;
}
.crypto-dialog__frame[hidden] { display: none; }
.crypto-dialog__loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-height: 100%;
  background: #09111a;
  color: #d7e8f1;
}

body.crypto-embedded {
  min-height: 100vh;
  overflow-x: hidden;
  background: #09111a;
}
body.crypto-embedded .bg,
body.crypto-embedded .brand-logo,
body.crypto-embedded .crypto-profile__back,
body.crypto-embedded .crypto-profile__eyebrow {
  display: none;
}
body.crypto-embedded .crypto-profile {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  border: 0;
  border-radius: 0;
  background: #09111a;
  box-shadow: none;
}
body.crypto-embedded .crypto-profile > h1 { margin-top: 0; }
body.crypto-embedded .checkout-summary { margin-top: .8rem; }

@media (max-width: 520px) {
  body.crypto-embedded .crypto-profile { padding: .85rem; }
}
