@charset "UTF-8";
/* ------------------------------------------------------------- *
 * Global tokens + base
 * ------------------------------------------------------------- */
:root {
  --bg: #0b0e18;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --muted2: rgba(255, 255, 255, 0.5);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --text-gradient: linear-gradient(90deg, #897ee9 0%, #92cffa 100%);
  --header-pad-y: 18px;
  --logo-h: 35px;
  --register-gap: 22px;
  --bg-gradient-register: radial-gradient(
    900px 420px at 50% 8%,
    rgba(145, 92, 255, 0.14),
    transparent 55%
  ),
  radial-gradient(
    900px 420px at 10% 30%,
    rgba(80, 200, 120, 0.1),
    transparent 55%
  ),
  #060607;
}

@media (max-width: 520px) {
  :root {
    --header-pad-y: 15px;
    --logo-h: 32px;
  }
}

* {
  box-sizing: border-box;
}
html {
  font-family: var(--font-main), sans-serif;
}
html,
body {
  height: 100%;
}

.lt-body {
  margin: 0;
  font-family: var(--font-main), sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ------------------------------------------------------------- *
 * Header (shared for landing + register)
 * IMPORTANT: .lt-header__inner should be wrapped with .lm-container in HTML
 * ------------------------------------------------------------- */
.lt-header {
  z-index: 30;
  padding: var(--header-pad-y) 0;
}
.lt-header-absolute {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.lt-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.lt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lt-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.lt-logo__img {
  height: var(--logo-h);
  width: auto;
  display: block;
}

.lt-logo__text {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.lt-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== LANGUAGE SWITCHER (shared with landing-v2) ===== */
.lv2-lang {
  position: relative;
  margin-right: 2px;
}
.lv2-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lv2-lang__trigger > * { pointer-events: none; }
.lv2-lang__trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.lv2-lang[data-open] .lv2-lang__trigger {
  background: rgba(117, 77, 255, 0.15);
  border-color: rgba(117, 77, 255, 0.4);
  color: #fff;
}
.lv2-lang__flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.lv2-lang__code { line-height: 1; }
.lv2-lang__chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.lv2-lang[data-open] .lv2-lang__chevron { transform: rotate(180deg); }
.lv2-lang__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  padding: 4px;
  background: rgb(0 0 0 / 80%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.lv2-lang[data-open] .lv2-lang__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lv2-lang__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.lv2-lang__option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lv2-lang__option--active {
  color: #fff;
  background: rgba(117, 77, 255, 0.2);
  pointer-events: none;
}

/* ===== LV2 BUTTONS (shared with landing-v2) ===== */
.lv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: clamp(38px, 3.2vw, 46px);
  padding: 0 clamp(14px, 1.6vw, 22px);
  font-family: inherit;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.lv2-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.lv2-btn--ghost {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.lv2-btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

/* buttons (shared) */
.lt-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.lt-header-btn:hover {
  transform: translateY(-1px);
}
.lt-header-btn:active {
  transform: translateY(0px);
}

.lt-header-btn__ico {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.92;
}

.lt-header-btn--ghost {
  color: var(--text);
  background: rgba(10, 12, 18, 0.38);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 -4px 20px rgba(137, 126, 233, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.2);
  border: none;
}
.lt-header-btn--ghost:hover {
  background: rgba(10, 12, 18, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
}

.lt-header-btn--primary {
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.lt-header-btn--primary:hover {
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 520px) {
  .lt-logo__text {
    font-size: 18px;
  }
  .lt-header-btn {
    height: 42px;
    padding: 0 12px;
  }
  .lt-header-landing .lt-header-btn span {
    display: none;
  }
}

/* ===================================================================== *
 * LANDING
 * ===================================================================== */

.lt-main {
  min-height: 100svh;
}

.lt-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: block;
}

/* background image layer (optional if you use WebGL scene) */
.lt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("/assets/images/landing/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

/* overlay layer (optional if you use WebGL scene overlay) */
.lt-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      1200px 600px at 55% 45%,
      rgba(120, 88, 255, 0.22),
      transparent 55%
    ),
    radial-gradient(
      900px 520px at 50% 55%,
      rgba(0, 0, 0, 0.35),
      transparent 65%
    ),
    radial-gradient(
      1200px 680px at 15% 90%,
      rgba(0, 0, 0, 0.55),
      transparent 62%
    ),
    linear-gradient(180deg, rgba(8, 10, 16, 0.4), rgba(8, 10, 16, 0.7));
}

/* center visuals */
.lt-hero__center {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lt-hero__moon {
  width: min(640px, 56vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 80px rgba(120, 88, 255, 0.35));
  opacity: 0.95;
}

.lt-hero__mascot {
  position: absolute;
  width: min(520px, 46vw);
  height: auto;
  display: block;
  transform: translateY(24px);
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55));
}

/* ===== NEW: container-based bottom layout ===== */
.lt-hero__layout {
  position: absolute;
  inset: 0;
  z-index: 20;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;

  padding-bottom: clamp(40px, 7vh, 100px);
}

.lt-hero__content {
  max-width: 600px; /* stays inside container, no absolute offsets */
}

.lt-socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}

/* chip + typography */
.lt-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.38);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 -4px 20px rgba(137, 126, 233, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 18px;
}
.lt-chip__ico {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.9;
}
.lt-chip__text {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.lt-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.02;
  font-size: clamp(40px, 4.2vw, 56px);
}
.lt-title span {
  background: var(--text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lt-subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 460px;
}

/* socials buttons */
.lt-social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  background: #05060f;
  border: none;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 -4px 20px rgba(137, 126, 233, 0.2),
    0 12px 34px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.lt-chip::before,
.lt-social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.48) 16.73%,
    rgba(255, 255, 255, 0.08) 30.2%,
    rgba(255, 255, 255, 0.08) 68.2%,
    rgba(255, 255, 255, 0.6) 81.89%
  );
  border-radius: inherit;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.lt-social-btn:hover {
  transform: translateY(-1px);
  background: rgba(10, 12, 18, 0.52);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 -4px 20px rgba(137, 126, 233, 0.28),
    0 14px 40px rgba(0, 0, 0, 0.35);
}
.lt-social-btn:active {
  transform: translateY(0px);
}
.lt-social-btn__ico {
  width: 16px;
  height: 16px;
  display: block;
  opacity: 0.92;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .lt-hero__layout {
    padding-bottom: clamp(32px, 6vh, 64px);
  }
}

@media (max-width: 820px) {
  .lt-hero__layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 32px;
    padding-bottom: 28px;
  }

  .lt-hero__content,
  .lt-socials {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .lt-socials {
    flex-direction: row;
    justify-content: flex-start;
    margin-right: auto;
    gap: 10px;
  }
  .lt-title {
    font-size: clamp(34px, 6vw, 52px);
  }
  .lt-subtitle {
    max-width: 520px;
  }
}

@media (max-width: 520px) {
  .lt-hero__mascot {
    width: min(420px, 78vw);
  }
  .lt-hero__moon {
    width: min(520px, 92vw);
  }
}

/* scene helpers */
.lt-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #0b0e18;
}

#gl,
#gl canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}

.lt-scene__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      900px 540px at 55% 45%,
      rgba(120, 88, 255, 0.16),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 12% 92%,
      rgba(0, 0, 0, 0.55),
      transparent 62%
    ),
    linear-gradient(180deg, rgba(8, 10, 16, 0.18), rgba(8, 10, 16, 0.62));
}

/* Landing header positioning */
.lt-hero .lt-header {
  position: absolute;
  inset: 0 0 auto 0;
}

/* ===================================================================== *
 * REGISTER (kept scoped, but uses the same header/container)
 * ===================================================================== */
.lma-register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-gradient-register);
  color: #fff;
}

/* REGISTER: контейнер и ритм */
.lma-register-shell {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  --reg-pad-top: clamp(16px, 2.2vh, 24px);
  --reg-pad-bot: clamp(16px, 2.2vh, 24px);
  padding-top: var(--reg-pad-top);
  /* padding-bottom: var(--reg-pad-bot); */
  padding-bottom: 0;
  min-height: calc(100svh - 62px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vh, 22px);
}

.lma-register {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2vh, 18px);
}

.lma-register__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.lma-register-page .lt-header {
  position: relative;
  padding-bottom: 0;
}

.lma-register-page .lt-header__inner {
  /* nothing special: container handles width */
}

.lma-register-page .lt-header-btn--ghost {
  width: 100px;
  justify-content: center;
}

/* cards */
.lma-register-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  text-decoration: none;
  color: inherit;
  border-radius: 34px;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  min-height: 620px;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.lma-register-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.05)
  );
}

.lma-register-card:focus-visible {
  outline: 3px solid rgba(145, 92, 255, 0.55);
  outline-offset: 3px;
}

.lma-register-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px 18px;
  background: radial-gradient(
    520px 320px at 50% 40%,
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
}

.lma-register-card__img {
  width: min(520px, 70%);
  height: auto;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
  transform: translateZ(0);
}

.lma-register-card__content {
  padding: 22px 34px 34px;
  text-align: center;
}

.lma-register-card__title {
  font-size: clamp(28px, 2.75vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 10px;
}

.lma-register-card__accent {
  color: #8b7bff;
}

.lma-register-card__subtitle {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
}

.lma-register__footer {
  padding: 24px 0;
  text-align: center;
  display: grid;
  gap: 10px;
}

.lma-register__legal {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.lma-register__auth {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.lma-login-page .lma-register__footer .lma-register__auth {
  display: none;
}

.lma-register__link {
  color: rgba(163, 149, 255, 0.95);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: opacity 0.18s ease;
}
.lma-register__link:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.lma-register__link--strong {
  font-weight: 600;
}
@media (max-width: 1400px) {
  .lma-register-card {
    min-height: 560px;
  }
}
/* mobile for register */
@media (max-width: 992px) {
  .lma-register__grid {
    gap: 16px;
  }
  .lma-register-card {
    min-height: 480px;
  }
  .lma-register-card__media {
    padding: 40px 24px 18px;
  }
  .lma-register-card__content {
    padding: 20px 20px 34px;
  }
}
@media (max-width: 780px) {
  .lma-register-shell {
    padding: 16px var(--container-pad) 18px;
  }
  .lma-register {
    justify-content: flex-start;
    gap: 14px;
  }

  .lma-register__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lma-register-card {
    min-height: clamp(300px, 36vh, 380px);
    border-radius: 24px;
  }

  .lma-register-card__media {
    padding: 22px 14px 8px;
  }
  .lma-register-card__img {
    width: min(420px, 62%);
    max-height: 150px;
  }

  .lma-register-card__content {
    padding: 12px 16px 16px;
  }
  .lma-register-card__title {
    margin-bottom: 8px;
  }
  .lma-register-card__subtitle {
    line-height: 1.15;
  }

  .lma-register__footer {
    padding-top: 12px;
    gap: 8px;
  }
  .lma-register__legal,
  .lma-register__auth {
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (max-width: 560px) {
  .lma-register__legal,
  .lma-register__auth {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .lma-register-card {
    min-height: clamp(280px, 34vh, 350px);
  }
  .lma-register-card__img {
    max-height: 135px;
  }
}

/* ============================================
   Register cards — Role-based glow tuning
   (no shimmer, only glow)
   Requires: JS sets --x and --y on .lma-prism
   ============================================ */

.lma-register-card.lma-prism {
  --rg-core: rgba(139, 123, 255, 0.20);
  --rg-mid:  rgba(139, 123, 255, 0.10);
  --rg-aux:  rgba(184, 255, 59, 0.06);
  --rg-blur: 26px;
  --rg-strength: 0.55;
}

/* 2) WEBMASTER — зелёно/лайм */
.lma-register-card--webmaster.lma-prism {
  --rg-core: rgba(184, 255, 59, 0.18);
  --rg-mid:  rgba(184, 255, 59, 0.08);
  --rg-aux:  rgba(139, 123, 255, 0.06);
  --rg-strength: 0.50;
}

/* 3) ADVERTISER — purple/red tint */
.lma-register-card--advertiser.lma-prism {
  --rg-core: rgba(139, 123, 255, 0.22);
  --rg-mid:  rgba(255, 77, 160, 0.10);
  --rg-aux:  rgba(139, 123, 255, 0.08);
  --rg-strength: 0.55;
}

/* ============================================
   Glow layer (REPLACES your old ::before if any)
   ============================================ */
.lma-register-card.lma-prism {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* glow BEHIND content */
.lma-register-card.lma-prism::before {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      260px 260px at var(--x, 50%) var(--y, 50%),
      var(--rg-core) 0%,
      var(--rg-mid) 38%,
      transparent 72%
    ),
    radial-gradient(
      520px 360px at var(--x, 50%) var(--y, 50%),
      var(--rg-aux) 0%,
      transparent 62%
    );

  filter: blur(var(--rg-blur, 26px));
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.28s ease;
}

.lma-register-card.lma-prism:hover::before {
  opacity: var(--rg-strength, 0.55);
}

/* content always above glow */
.lma-register-card.lma-prism > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   Optional: quieter spot (if you have .lma-prism__spot inside card)
   ============================================ */
.lma-register-card.lma-prism .lma-prism__spot {
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.07) 0%,
    transparent 52%
  );
}

.lma-verify .auth-footer .lma-prism .lma-prism__shimmer {
  display: none;
}