/* ═══════════════════════════════════════════════════════════════
   PC / Web-mode styles  (screens ≥ 1200px, not in Telegram)
   ═══════════════════════════════════════════════════════════════ */

/* ── Base CSS variables (dark theme default) ─────────────────── */
/* Дублируем из mobile/base.css — mobile CSS не применяется на десктопе */
:root {
  --bg: #0d0a14;
  --text: rgb(230 224 242);
  --text-highlight: #c084fc;
  --text-muted: #8b7aa8;
  --tg-theme-bg: #0d0a14;
  --tg-theme-text: rgb(230 224 242);
  --tg-theme-hint: #8b7aa8;
  --tg-theme-link: #c084fc;
  --tg-theme-button: #a855f7;
  --tg-theme-button-text: #f5f0ff;
  --bg-card: #120d1c;
  --bg-card-hover: #171224;
  --border: rgba(168,85,247,0.12);
  --border-strong: rgba(168,85,247,0.22);
  --accent: #a855f7;
  --accent-soft: rgba(168,85,247,0.08);
  --green: #d8b4fe;
  --green-soft: rgba(168,85,247,0.07);
  --amber: #f59e0b;
  --radius: 16px;
  --radius-sm: 12px;
  --accent-video: #818cf8;
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --shadow: 0 2px 16px rgba(0,0,0,0.5);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(168,85,247,0.05);
}

/* ── Light theme variables ────────────────────────────────────── */
[data-theme="light"] {
  --bg: #f3eeff;
  --text: #1a0a2e;
  --text-highlight: #7c3aed;
  --text-muted: #7a6a96;
  --tg-theme-bg: #f3eeff;
  --tg-theme-text: #1a0a2e;
  --tg-theme-hint: #7a6a96;
  --tg-theme-link: #7c3aed;
  --tg-theme-button: #7c3aed;
  --tg-theme-button-text: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f2ff;
  --border: rgba(124,58,237,0.13);
  --border-strong: rgba(124,58,237,0.26);
  --accent: #7c3aed;
  --accent-soft: rgba(124,58,237,0.08);
  --green: #7c3aed;
  --green-soft: rgba(124,58,237,0.07);
  --accent-video: #4f46e5;
  --shadow: 0 2px 16px rgba(100,50,180,0.1);
  --shadow-card: 0 4px 24px rgba(100,50,180,0.1), 0 0 0 1px rgba(124,58,237,0.04);
}

/* ── Base body styles for desktop ────────────────────────────── */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ── Landing: base colors (dark-first) ───────────────────────── */
:root {
  --wl-bg:        #07040f;
  --wl-text:      #f0e8ff;
  --wl-muted:     rgba(200,180,255,0.55);
  --wl-accent:    #a855f7;
  --wl-accent2:   #e879f9;
  --wl-border:    rgba(168,85,247,0.15);
  --wl-glass:     rgba(255,255,255,0.03);
  --wl-glow:      rgba(168,85,247,0.35);
}

/* ── Background layer ────────────────────────────────────────── */

.wl-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--wl-bg);
}
.wl-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}
.wl-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.wl-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.28), transparent 65%);
  top: -300px; left: -200px;
  animation: orbD1 16s ease-in-out infinite;
}
.wl-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,121,249,0.2), transparent 65%);
  bottom: 10%; right: -150px;
  animation: orbD2 20s ease-in-out infinite;
}
.wl-orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.15), transparent 65%);
  top: 55%; left: 25%;
  animation: orbD3 13s ease-in-out infinite;
}
.wl-orb-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 65%);
  top: 30%; right: 15%;
  animation: orbD4 17s ease-in-out infinite;
}
@keyframes orbD1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,60px)} }
@keyframes orbD2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,-50px)} }
@keyframes orbD3 { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.25)} }
@keyframes orbD4 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-40px)} }

/* ── Login page body — scrollable ────────────────────────────── */

body.web-login-mode {
  display: block;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--wl-bg);
}
body.web-login-mode .wrap {
  max-width: 100%;
  width: 100%;
  padding: 0;
  display: block;
  position: relative;
  z-index: 1;
}
body.web-login-mode #app {
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: block;
}
body.web-login-mode header,
body.web-login-mode .footer-note { display: none; }

/* ── SEO prerender: статический контент до загрузки JS ──────── */
/* Виден Google-краулеру; скрывается как только JS вставит .wl-landing */

.seo-prerender-h1,
.seo-prerender-p,
.seo-prerender-nav {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Landing wrapper ─────────────────────────────────────────── */

.wl-landing {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--wl-text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Navbar ──────────────────────────────────────────────────── */

.wl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(7,4,15,0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168,85,247,0.1);
}
.wl-nav-left {
  display: flex;
  align-items: center;
}
.wl-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.wl-nav-link {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(200,180,255,0.65);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.wl-nav-link:hover {
  color: #fff;
  background: rgba(168,85,247,0.12);
}
button.wl-nav-link {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
/* ── Dropdown: «Модели» ────────────────────────────────────── */
.wl-nav-dropdown {
  position: relative;
}
.wl-nav-link--dd {
  cursor: pointer;
  user-select: none;
}
.wl-dd-arrow {
  font-size: 0.7em;
  margin-left: 2px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.wl-nav-dropdown:hover .wl-dd-arrow {
  transform: rotate(180deg);
}
.wl-dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 420px;
  padding: 20px;
  background: rgba(14,10,24,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  transition-delay: 0.5s;
}
/* мост между ссылкой и меню чтобы мышка не теряла hover в gap 12px */
.wl-dd-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.wl-nav-dropdown:hover .wl-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.wl-dd-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(200,180,255,0.4);
  margin-bottom: 10px;
  padding-left: 12px;
}
.wl-dd-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.wl-dd-item:hover {
  background: rgba(168,85,247,0.1);
}
.wl-dd-item b {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.wl-dd-item span {
  font-size: 0.72rem;
  color: rgba(200,180,255,0.5);
}

.wl-nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--wl-accent), var(--wl-accent2));
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 20px rgba(168,85,247,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wl-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(168,85,247,0.45);
}
.wl-nav-widget {
  display: flex;
  align-items: center;
  line-height: 1;
}
/* Убираем лишние отступы у iframe виджета в шапке */
.wl-nav-widget iframe {
  display: block;
}

/* ── Hero section ────────────────────────────────────────────── */

.wl-hero-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wl-hero-inner {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── Hero floating model icons ───────────────────────────────── */

.wl-hero-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes wlFloat1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes wlFloat2 {
  0%, 100% { transform: translateY(-12px); }
  50%       { transform: translateY(10px); }
}

.wl-floater {
  position: absolute;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,85,247,0.12);
  backdrop-filter: blur(4px);
  padding: 14px;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.wl-floater-l1 { width: 90px; height: 90px;  left: 5%;  top: 18%; animation: wlFloat1 6.5s ease-in-out -0.0s infinite; }
.wl-floater-l2 { width: 72px; height: 72px;  left: 9%;  top: 52%; animation: wlFloat2 7.2s ease-in-out -2.1s infinite; }
.wl-floater-l3 { width: 58px; height: 58px;  left: 3%;  top: 72%; animation: wlFloat1 5.8s ease-in-out -1.5s infinite; }
.wl-floater-r1 { width: 88px; height: 88px;  right: 5%; top: 15%; animation: wlFloat2 6.8s ease-in-out -1.3s infinite; }
.wl-floater-r2 { width: 68px; height: 68px;  right: 8%; top: 48%; animation: wlFloat1 7.5s ease-in-out -3.4s infinite; }
.wl-floater-r3 { width: 56px; height: 56px;  right: 3%; top: 70%; animation: wlFloat2 6.2s ease-in-out -0.8s infinite; }

.wl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 100px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.25);
  font-size: 0.8rem;
  color: #d8b4fe;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  font-weight: 500;
}

/* ── Typewriter line wrapper (prevents layout shift) ─────────── */
.wl-tw-line {
  display: block;
  min-height: 2.05em;
}

/* ── Typewriter cursor ───────────────────────────────────────── */
.wl-tw-cursor {
  display: inline-block;
  margin-left: 3px;
  color: #a855f7;
  font-weight: 300;
  opacity: 1;
}
@keyframes wlCursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Live badge (hero) ───────────────────────────────────────── */
.wl-badge--live {
  margin-bottom: 32px;
}
.wl-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  flex-shrink: 0;
  animation: wlDotPulse 2s ease-in-out infinite;
}
@keyframes wlDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(168,85,247,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(168,85,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
}

/* ── Prompt example chips ────────────────────────────────────── */
.wl-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin: 0 auto 36px;
  max-width: 600px;
}
.wl-chip {
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(168,85,247,0.07);
  border: 1px solid rgba(168,85,247,0.2);
  font-size: 0.83rem;
  color: rgba(200,180,255,0.7);
  cursor: default;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.wl-chip:hover {
  background: rgba(168,85,247,0.14);
  border-color: rgba(168,85,247,0.38);
  color: #d8b4fe;
}

/* ── Hero main CTA button ────────────────────────────────────── */
.wl-hero-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  border-radius: 100px;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #6366f1 100%);
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 36px rgba(168,85,247,0.5), 0 0 0 1px rgba(168,85,247,0.25) inset;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.wl-hero-main-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: wlBtnShimmer 3.5s ease-in-out infinite 1.2s;
}
@keyframes wlBtnShimmer {
  0%   { left: -100%; }
  100% { left: 220%; }
}
.wl-hero-main-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(168,85,247,0.65), 0 0 0 1px rgba(168,85,247,0.3) inset;
}
.wl-hero-main-btn:active { transform: scale(0.97); }

.wl-headline {
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.0;
  margin: 0 0 28px;
  color: var(--wl-text);
}
.wl-headline-g {
  background: linear-gradient(135deg, #c084fc 0%, #e879f9 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wl-sub {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.6;
  margin: 15px auto 28px;
  max-width: 560px;
}

/* Stats row */
.wl-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--wl-border);
  border-radius: 20px;
  padding: 24px 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.wl-hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 36px;
}
.wl-hstat-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--wl-text);
  line-height: 1;
}
.wl-hstat-lbl {
  font-size: 0.72rem;
  color: var(--wl-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.wl-hstat-div {
  width: 1px;
  height: 36px;
  background: var(--wl-border);
  flex-shrink: 0;
}

/* Hero CTA (widget) */
.wl-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wl-widget-wrap {
  display: flex;
  justify-content: center;
  min-height: 52px;
}
.wl-hint {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: var(--wl-muted);
  line-height: 1.5;
  text-align: center;
}

/* Scroll hint */
.wl-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--wl-muted);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.wl-scroll-hint:hover { opacity: 1; }
.wl-scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  font-size: 1.1rem;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Free-gen banner ─────────────────────────────────────────── */
.wl-hero-free-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168,85,247,0.14), rgba(232,121,249,0.09));
  border: 1px solid rgba(168,85,247,0.38);
  font-size: 1rem;
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: 0.01em;
  animation: wlBannerPulse 3s ease-in-out infinite;
}
@keyframes wlBannerPulse {
  0%, 100% { border-color: rgba(168,85,247,0.38); box-shadow: none; }
  50%       { border-color: rgba(168,85,247,0.65); box-shadow: 0 0 24px rgba(168,85,247,0.2); }
}

/* ── Login popup ─────────────────────────────────────────────── */
#login-popup {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,4,15,0.85); backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
#login-popup.vis { display: flex; }
.lp-card {
  background: #120d1c; border: 1px solid rgba(168,85,247,0.28);
  border-radius: 28px; overflow: hidden;
  max-width: 880px; width: 100%; display: flex;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  position: relative; animation: lpIn 0.22s ease;
  max-height: 90vh;
}
@keyframes lpIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
/* collage left panel */
.lp-left {
  width: 420px; min-width: 420px; min-height: 620px;
  position: relative; overflow: hidden;
  background: #0a0714;
}
.lp-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.lp-slide.active { opacity: 1; }
.lp-left-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(7,4,15,0.55) 100%);
  z-index: 1; pointer-events: none;
}
/* right form */
.lp-right {
  flex: 1; padding: 44px 44px 36px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow-y: auto;
}
.lp-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: background 0.15s, color 0.15s; font-family: inherit;
}
.lp-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.lp-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 0 12px; letter-spacing: -0.04em; line-height: 1.2; }
.lp-sub { font-size: 0.88rem; color: color-mix(in oklab,#fff 70%,transparent); line-height: 1.65; margin: 0 0 24px; }
.lp-login-label { font-size: 0.75rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.lp-widget-mount { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lp-ya-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 14px;
  background: #FC3F1D; color: #fff;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  text-decoration: none; transition: opacity 0.15s;
  width: 100%; justify-content: center;
}
.lp-ya-link:hover { opacity: 0.85; }
/* terms checkbox */
.lp-terms-wrap {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 6px;
  transition: border-color 0.2s;
}
.lp-terms-wrap.lp-error { border-color: rgba(239,68,68,0.65); }
.lp-terms-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 0; }
.lp-terms-check { display: none; }
.lp-terms-box {
  width: 20px; height: 20px; min-width: 20px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.25); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s; margin-top: 1px;
}
.lp-terms-check:checked ~ .lp-terms-box { background: #6366f1; border-color: #6366f1; }
.lp-terms-check:checked ~ .lp-terms-box::after {
  content: ''; display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.lp-terms-text { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.lp-terms-err { font-size: 0.75rem; color: #ef4444; margin: 6px 0 0; visibility: hidden; }
.lp-terms-err.vis { visibility: visible; }
/* terms links */
.lp-terms-links { display: flex; flex-direction: column; gap: 5px; align-items: center; padding-top: 8px; }
.lp-terms-links a {
  font-size: 0.74rem; color: color-mix(in oklab,#fff 70%,transparent);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,0.25); transition: color 0.15s;
  display: inline-flex; align-items: center; gap: 4px;
}
.lp-terms-links a:hover { color: rgba(255,255,255,0.9); }
@media (max-width: 700px) {
  #login-popup { padding: 0; align-items: stretch; }
  .lp-card { flex-direction: column; border-radius: 0; max-height: 100vh; height: 100vh; border: none; }
  .lp-left { display: block; width: 100%; min-width: 0; min-height: 0; height: 42vh; flex-shrink: 0; }
  .lp-left-overlay { background: linear-gradient(to bottom, transparent 40%, rgba(7,4,15,0.7) 100%); }
  .lp-right { flex: 1; padding: 28px 24px 24px; overflow-y: auto; justify-content: flex-start; }
  .lp-close { top: 12px; right: 12px; }
  .lp-title { font-size: 1.5rem; margin-bottom: 8px; }
  .lp-sub { font-size: 0.83rem; margin-bottom: 18px; }
  .lp-widget-mount { margin-bottom: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   Mobile landing styles  (≤ 767px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Orbs: smaller ─────────────────────────────────────────── */
  .wl-orb-1 { width: 360px; height: 360px; top: -140px; left: -120px; }
  .wl-orb-2 { width: 280px; height: 280px; }
  .wl-orb-3 { width: 220px; height: 220px; }
  .wl-orb-4 { display: none; }

  /* ── Navbar ─────────────────────────────────────────────────── */
  .wl-nav { padding: 0 12px 0 4px; height: 56px; }
  .wl-nav-links { display: none; }
  .wl-nav-left { margin-left: -14px; }
  .wl-nav-left svg { width: 160px !important; height: 64px !important; }
  .wl-nav-widget { margin-right: -6px; }
  .wl-ya-btn { font-size: 0.72rem !important; padding: 6px 10px !important; gap: 5px !important; border-radius: 9px !important; }
  .wl-ya-btn svg { width: 14px !important; height: 14px !important; }

  /* ── Hero ───────────────────────────────────────────────────── */
  .wl-hero-section { padding: 88px 22px 56px; min-height: 100svh; }
  .wl-hero-floaters { display: none; }

  .wl-badge { font-size: 0.72rem; padding: 6px 16px; margin-bottom: 20px; }
  .wl-badge--live { margin-bottom: 20px; }
  .wl-headline { font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 18px; }
  .wl-sub { font-size: 0.92rem; margin-bottom: 20px; max-width: 100%; }

  /* Typewriter line */
  .wl-tw-line { min-height: 2.15em; }

  /* Main btn */
  .wl-hero-main-btn { font-size: 1rem; padding: 15px 28px; margin-bottom: 24px; width: 100%; justify-content: center; }

  /* Free banner */
  .wl-hero-free-banner { font-size: 0.85rem; padding: 10px 18px; width: 100%; justify-content: center; }

  .wl-scroll-hint { display: none; }

  /* ── Showcase: hide cards 2,3,4 on mobile ───────────────────── */
  .wl-sc-mob-hide { display: none; }

  /* ── Footer ─────────────────────────────────────────────────── */
  .wl-footer { flex-direction: column; align-items: center; gap: 14px; padding: 20px 24px; text-align: center; }
  .wl-footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .wl-footer-col { align-items: center; text-align: center; }

  /* ── Marquee ─────────────────────────────────────────────────── */
  .wl-marquee-section { padding: 0; }
  .wl-marquee-inner img { height: 300px; }

  /* ── Готовые фотосессии ───────────────────────────────────────── */
  .wl-photosets-section { padding: 56px 0 64px; }
  .wl-photosets-section .wl-section-inner { overflow: hidden; }
  .wl-photosets-section .wl-section-tag,
  .wl-photosets-section .wl-photosets-title,
  .wl-photosets-sub { padding: 0 16px; }
  .wl-photosets-sub { font-size: 0.88rem; margin-bottom: 28px; }
  .wl-photosets-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 16px;
    grid-template-columns: unset;
    scrollbar-width: none;
  }
  .wl-photosets-grid::-webkit-scrollbar { display: none; }
  .wl-photoset-card {
    flex: 0 0 80vw;
    width: 80vw;
    aspect-ratio: 9/8;
    border-radius: 20px;
    scroll-snap-align: center;
  }
  .wl-photoset-card:nth-child(5) { grid-column: unset; aspect-ratio: 3/4; }
  .wl-photoset-card:nth-child(5) img { object-position: top center; }
  .wl-photoset-overlay { padding: 60px 16px 20px; gap: 10px; }
  .wl-photoset-name { font-size: 0.9rem; }
  .wl-photoset-btn { padding: 8px 16px; font-size: 0.82rem; }
}

/* ── Photo marquee ───────────────────────────────────────────────── */
.wl-marquee-section {
  padding: 60px 0;
  overflow: hidden;
}
.wl-marquee-track {
  display: flex;
  width: max-content;
  animation: wl-marquee 40s linear infinite;
}

.wl-marquee-inner {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}
.wl-marquee-inner img {
  height: 400px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
@keyframes wl-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Готовые фотосессии ───────────────────────────────────────────── */
.wl-photosets-section {
  padding: 80px 20px 100px;
  width: 100%;
}
.wl-photosets-section .wl-section-inner {
  max-width: 1450px;
}
.wl-photosets-title {
  margin-bottom: 12px;
}
.wl-photosets-sub {
  text-align: center;
  color: var(--wl-muted);
  font-size: 1rem;
  margin: 0 auto 40px;
  max-width: 500px;
}
.wl-photosets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1450px;
  margin: 0 auto;
}
.wl-photoset-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 600px;
  background: #1a1a2e;
  cursor: pointer;
}
.wl-photoset-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.wl-photoset-card:hover img {
  transform: scale(1.05);
}
.wl-photoset-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.wl-photoset-name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}
.wl-photoset-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.wl-photoset-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* ── Логотип на лендинге всегда в светлом виде (тёмный фон) ───── */
.wl-landing .wl-logo-svg .wl-logo-text-main {
  fill: #FFFFFF !important;
}
.wl-landing .wl-logo-svg .wl-logo-play {
  fill: url(#wlPLnav) !important;
  stroke: #FFFFFF !important;
}
.wl-landing .wl-logo-svg .wl-logo-spark-inner {
  fill: #FFFFFF !important;
}

