: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;
  }
}

.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;
  }
}
