/* ── Landing page (Главная) — dark redesign ──────────────────────────
   Применяется только на body.landing-page. Использует Inter (грузится в _Layout).
   Не трогает остальные страницы. Топ-нав остаётся из _Layout (уже тёмный).
*/

:root {
  --lp-bg-0:    #06061a;
  --lp-bg-1:    #0a0a22;
  --lp-bg-2:    #13132c;
  --lp-card:    #1a1632;
  --lp-card-2:  #211c40;
  --lp-border:  rgba(255,255,255,.08);
  --lp-border-2:rgba(255,255,255,.14);
  --lp-fg-1:    #ffffff;
  --lp-fg-2:    #cfcce3;
  --lp-fg-3:    #8a87a8;
  --lp-fg-4:    #5b5878;
  --lp-primary: #8b6cff;
  --lp-primary-2:#a98aff;
  --lp-pink:    #ff7a9c;
  --lp-pink-2:  #ff97b5;
  --lp-green:   #4ade80;
  --lp-red:     #ff5a6c;
}

/* ── Body / page canvas ──────────────────────────────────────────── */
body.landing-page {
  background:
    radial-gradient(900px 700px at 8% 0%,    rgba(139,108,255,.22), transparent 55%),
    radial-gradient(900px 800px at 100% 30%, rgba(255,122,156,.10), transparent 60%),
    radial-gradient(700px 600px at 100% 100%,rgba(139,108,255,.18), transparent 55%),
    linear-gradient(180deg, #06061a 0%, #050513 100%) !important;
  background-attachment: fixed !important;
  color: var(--lp-fg-1) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* На лендинге фон-сцена (bg-stage) скрыта _Layout'ом, ничего дополнительно не нужно. */

/* ── Нав-оверрайды для лендинга ───────────────────────────────────
   На главной убираем «Поиск», «Автоподбор» и кнопку выхода —
   по комментарию из дизайна: «убираем поиск». Остальные элементы
   нав-бара (бренд / Главная / Идеи / Серверы / Сообщения / Вход /
   Регистрация / аватар) остаются как есть.
*/
body.landing-page .nav-search-bar,
body.landing-page .nav-match,
body.landing-page .nav-bell { display: none !important; }

.lp-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 36px 24px;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.lp-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--lp-border);
  color: var(--lp-fg-2); font-size: 13px; font-weight: 500;
}
.lp-eyebrow .gd {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}

.lp-hero h1 {
  margin-top: 24px;
  font-size: 88px; line-height: 1.0; letter-spacing: -.035em; font-weight: 800;
  color: #fff; text-wrap: balance;
}
.lp-hero h1 .grad {
  background: linear-gradient(135deg, #c4a8ff 0%, #8b6cff 50%, #6a8bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero .lp-lede {
  margin-top: 24px; font-size: 17px; line-height: 1.55; color: var(--lp-fg-2);
  max-width: 540px; text-wrap: pretty;
}

.lp-cta-col { margin-top: 32px; }
.lp-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
}
.lp-online {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--lp-fg-3);
}
.lp-online b { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.lp-online .lp-online-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lp-green);
  box-shadow: 0 0 0 0 rgba(74,222,128,.55);
  animation: lpLiveDot 1.8s ease-out infinite;
}
.lp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 14px;
  font-size: 15.5px; font-weight: 600; font-family: inherit;
  text-decoration: none;
  transition: transform .15s, filter .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.lp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lp-btn.pink {
  background: linear-gradient(135deg, #ff97b5, #ff6e8e);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255,110,142,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.lp-btn.pink:hover { color: #fff; box-shadow: 0 16px 36px rgba(255,110,142,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.lp-btn.dark {
  background: rgba(255,255,255,.04); color: #fff;
  border: 1px solid var(--lp-border-2); backdrop-filter: blur(8px);
}
.lp-btn.dark:hover { background: rgba(255,255,255,.08); color: #fff; }

/* mini stats */
.lp-stats-mini { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-stat-mini {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 12px;
  background: rgba(255,255,255,.035); border: 1px solid var(--lp-border);
  font-size: 12.5px; color: var(--lp-fg-3); white-space: nowrap;
}
.lp-stat-mini b { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.lp-stat-mini .ic {
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(139,108,255,.18); color: #c4b5fd; flex-shrink: 0;
}
.lp-stat-mini.ok   .ic { background: rgba(74,222,128,.16);  color: #86efac; }
.lp-stat-mini.warm .ic { background: rgba(255,122,156,.18); color: #ffb5c8; }

/* Hero right — bubble + mascot + live card.
   hero-right получил доп. верхний/нижний отступ, чтобы пузырь не лез
   ни на топ-нав, ни на маскот. */
.lp-hero-right { position: relative; height: 560px; padding-top: 12px; }

.lp-bubble {
  position: absolute; left: 0; top: 0; z-index: 4;
  background: rgba(26,22,50,.94); backdrop-filter: blur(12px);
  border: 1px solid var(--lp-border-2); border-radius: 14px;
  padding: 11px 13px; width: 250px;
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
  font-family: 'Inter', system-ui, sans-serif;
}
.lp-bubble .who {
  display: grid;
  grid-template-columns: 20px auto 1fr;
  align-items: center; column-gap: 7px;
  margin-bottom: 6px;
}
.lp-bubble .av {
  grid-column: 1; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #c4a8ff, #8b6cff);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  line-height: 1;
}
.lp-bubble .nm {
  grid-column: 2; font-size: 12px; font-weight: 600;
  color: var(--lp-primary-2); line-height: 1;
}
.lp-bubble .tm {
  grid-column: 3; justify-self: end;
  font-size: 10px; color: var(--lp-fg-4); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lp-bubble .tx {
  font-size: 12.5px; line-height: 1.45; color: var(--lp-fg-2);
  margin: 0; overflow-wrap: break-word;
}
.lp-bubble .tx .ch {
  color: var(--lp-primary-2); font-weight: 600;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  vertical-align: baseline;
}
.lp-bubble .tx .ch .heart {
  width: 13px; height: 13px; flex-shrink: 0;
  color: var(--lp-pink-2);
  filter: drop-shadow(0 1px 3px rgba(255,151,181,.35));
}

.lp-mascot {
  position: absolute; right: 0; top: 60px;
  width: 460px; height: 460px;
  background: url('/images/RAKUSHKA.png') center/contain no-repeat;
  filter: drop-shadow(0 40px 80px rgba(255,110,142,.35));
  animation: lpFloatY 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes lpFloatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.lp-live-card {
  position: absolute; right: -180px; bottom: 0; z-index: 5;
  background: rgba(20,16,42,.95); backdrop-filter: blur(14px);
  border: 1px solid var(--lp-border-2); border-radius: 18px;
  padding: 13px 14px; display: flex; flex-direction: column; gap: 10px;
  width: 248px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(139,108,255,.18);
}
@media (max-width: 1380px) { .lp-live-card { right: -120px; } }
@media (max-width: 1240px) { .lp-live-card { right: -60px; } }
@media (max-width: 1100px) { .lp-live-card { right: 0; } }
.lp-live-card .lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-live-card .lc-l { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--lp-fg-3); }
.lp-live-card .lc-l .ld {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lp-red);
  box-shadow: 0 0 0 0 rgba(255,90,108,.55); animation: lpLiveDot 1.6s ease-out infinite;
}
.lp-live-card .lc-l b { color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.lp-live-card .lc-r { font-size: 11px; color: var(--lp-fg-3); display: inline-flex; align-items: center; gap: 5px; }
.lp-live-card .lc-r b { color: #fff; font-weight: 700; }
@keyframes lpLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  80%, 100% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.lp-live-card .lc-spk { display: flex; align-items: center; }
.lp-live-card .lc-spk .av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff;
  border: 2px solid #150f30; flex-shrink: 0; margin-left: -7px; position: relative;
}
.lp-live-card .lc-spk .av:first-child { margin-left: 0; }
.lp-live-card .lc-spk .av.active {
  border-color: var(--lp-green);
  box-shadow: 0 0 0 1px rgba(74,222,128,.4), 0 0 12px rgba(74,222,128,.4);
}
.lp-live-card .lc-spk .av.active::after {
  content: ''; position: absolute; right: -2px; bottom: -2px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--lp-green); border: 1.5px solid #150f30;
}
.lp-live-card .lc-spk .av.a  { background: linear-gradient(135deg, #ff9ec3, #d33d80); }
.lp-live-card .lc-spk .av.m  { background: linear-gradient(135deg, #7be0a9, #22c55e); }
.lp-live-card .lc-spk .av.yu { background: linear-gradient(135deg, #7cd2ff, #3b82f6); }
.lp-live-card .lc-spk .av.d  { background: linear-gradient(135deg, #ffd28a, #f59e0b); color: #5a3a05; }
.lp-live-card .lc-spk .av.n  { background: linear-gradient(135deg, #d8b4fe, #a855f7); }
.lp-live-card .lc-now { font-size: 11px; color: var(--lp-fg-4); }
.lp-live-card .lc-now b { color: var(--lp-fg-2); font-weight: 600; }
.lp-live-card .lc-join {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: 10px;
  background: linear-gradient(135deg, #34d399, #22c55e); color: #fff;
  font-size: 12.5px; font-weight: 600; width: 100%;
  box-shadow: 0 6px 16px rgba(34,197,94,.32), inset 0 1px 0 rgba(255,255,255,.22);
  border: none; text-decoration: none; cursor: pointer;
}
.lp-live-card .lc-join:hover { color: #fff; text-decoration: none; filter: brightness(1.05); }

/* ── Section head ────────────────────────────────────────────────── */
.lp-section-head { text-align: center; margin-bottom: 32px; }
.lp-section-head h2 {
  font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
  color: #fff; text-wrap: balance; margin: 0;
}
.lp-section-head h2 .grad {
  background: linear-gradient(135deg, #c4a8ff, #8b6cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-section-head p {
  font-size: 15px; color: var(--lp-fg-3); margin: 10px auto 0;
  max-width: 560px; line-height: 1.55; text-wrap: pretty;
}

/* ── Theses 2×2 ──────────────────────────────────────────────────── */
.lp-theses {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-bottom: 96px;
}
.lp-thesis {
  position: relative;
  border-radius: 22px; padding: 26px 28px;
  min-height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--lp-border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  overflow: hidden; transition: transform .25s, border-color .25s, background .25s;
}
.lp-thesis::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 200px at 100% 0%, rgba(255,255,255,.05), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.lp-thesis:hover {
  transform: translateY(-3px); border-color: var(--lp-border-2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.lp-thesis:hover::before { opacity: 1; }
.lp-thesis .top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lp-thesis .ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--lp-fg-1);
  border: 1px solid var(--lp-border-2);
}
.lp-thesis .num {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--lp-fg-4);
  font-family: ui-monospace, monospace;
}
.lp-thesis h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2;
  text-wrap: balance; color: #fff; margin: 0;
}
.lp-thesis p {
  font-size: 13.5px; line-height: 1.55; color: var(--lp-fg-3);
  text-wrap: pretty; max-width: 46ch; margin: 8px 0 0;
}

/* ── Coverflow carousel ──────────────────────────────────────────── */
.lp-gallery { margin-bottom: 96px; }
.lp-carousel-wrap { position: relative; }
.lp-carousel-stage {
  position: relative; height: 700px; overflow: hidden;
  margin: 0 -36px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.lp-coverflow { position: relative; width: 100%; height: 100%; }
.lp-gcard {
  position: absolute; left: 50%; top: 30px;
  width: 960px; height: 620px; margin-left: -480px;
  border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--lp-border);
  display: flex; flex-direction: column;
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s, filter .6s, box-shadow .6s;
  will-change: transform, opacity;
  cursor: pointer; user-select: none;
  /* По умолчанию — невидимая, чтобы 4 карточки не накладывались стопкой
     до того как JS назначит .is-active / .is-prev / .is-next. */
  opacity: 0; transform: scale(.55); z-index: 1;
}
.lp-gcard .gimg-wrap {
  position: relative; flex: 1; min-height: 0;
  background:
    radial-gradient(360px 200px at 30% 30%, rgba(139,108,255,.22), transparent 65%),
    radial-gradient(280px 180px at 80% 80%, rgba(255,122,156,.18), transparent 65%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 10px, transparent 10px 22px),
    #0f0f1c;
}
.lp-gcard .gtag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  background: rgba(6,6,26,.78); color: #c4b5fd;
  padding: 5px 9px; border-radius: 7px; border: 1px solid rgba(139,108,255,.32);
  backdrop-filter: blur(8px); pointer-events: none;
}
.lp-gcard .gtag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-pink);
  animation: lpLvDot 1.4s ease-in-out infinite;
}
@keyframes lpLvDot { 0%,100%{opacity:1} 50%{opacity:.35} }
.lp-gcard .gnum {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-size: 10.5px; font-weight: 700; color: var(--lp-fg-2);
  background: rgba(6,6,26,.7); padding: 5px 9px; border-radius: 7px;
  font-family: ui-monospace, monospace; border: 1px solid var(--lp-border-2);
  backdrop-filter: blur(8px); pointer-events: none;
}
.lp-gcard .gmeta { padding: 16px 22px 22px; flex-shrink: 0; }
.lp-gcard .gmeta h4 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #fff; margin: 0; }
.lp-gcard .gmeta p  { font-size: 13px; color: var(--lp-fg-3); margin: 6px 0 0; line-height: 1.5; text-wrap: pretty; }
.lp-gcard .playing {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: none; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(6,6,26,.78); color: #fff;
  padding: 5px 10px; border-radius: 7px; border: 1px solid rgba(255,90,108,.4);
  backdrop-filter: blur(8px);
}
.lp-gcard .playing::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-red);
  box-shadow: 0 0 0 0 rgba(255,90,108,.55); animation: lpLiveDot 1.6s ease-out infinite;
}
.lp-gcard.is-active .playing { display: inline-flex; }
.lp-gcard.is-active {
  transform: translateX(0) scale(1);
  z-index: 5; opacity: 1;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(139,108,255,.3), 0 0 48px rgba(139,108,255,.18);
}
.lp-gcard.is-prev   { transform: translateX(-820px) scale(.78) rotateY(8deg);  z-index: 3; opacity: .55; filter: blur(.5px); }
.lp-gcard.is-next   { transform: translateX(820px)  scale(.78) rotateY(-8deg); z-index: 3; opacity: .55; filter: blur(.5px); }
.lp-gcard.is-hidden { transform: translateX(0) scale(.55); opacity: 0; z-index: 1; pointer-events: none; }

/* Видео внутри карточки карусели — влезает целиком (contain), без обрезки ── */
.lp-gcard .lp-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #0a0814;
  z-index: 1;
}

/* Мок-иллюстрация внутри карточки карусели (вместо реального GIF) ── */
.lp-mock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: 56px 36px 36px;
  pointer-events: none;
}
.lp-mock .row {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  color: var(--lp-fg-2); font-size: 13px;
  backdrop-filter: blur(6px);
}
.lp-mock .row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-primary-2); flex-shrink: 0; }
.lp-mock .row .dot.g { background: var(--lp-green); }
.lp-mock .row .dot.p { background: var(--lp-pink); }
.lp-mock .row.head {
  background: linear-gradient(135deg, rgba(139,108,255,.22), rgba(255,122,156,.16));
  border-color: rgba(139,108,255,.35);
  font-weight: 600; color: #fff; font-size: 14px;
}
.lp-mock .row.btn-row {
  margin-top: auto; justify-content: center;
  background: linear-gradient(135deg, #a98aff, #8b6cff);
  border: none; color: #fff; font-weight: 600;
  box-shadow: 0 12px 28px rgba(139,108,255,.35);
}
.lp-mock .row.btn-row.green {
  background: linear-gradient(135deg, #34d399, #22c55e);
  box-shadow: 0 12px 28px rgba(34,197,94,.35);
}
.lp-mock .row.btn-row.pink {
  background: linear-gradient(135deg, #ff97b5, #ff6e8e);
  box-shadow: 0 12px 28px rgba(255,110,142,.35);
}
.lp-mock .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-mock .grid2 .tile {
  aspect-ratio: 1/1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  display: flex; align-items: flex-end; padding: 12px; font-size: 12px; color: var(--lp-fg-3);
}
.lp-mock .grid2 .tile.accent {
  background: linear-gradient(135deg, rgba(139,108,255,.25), rgba(255,122,156,.18));
  border-color: rgba(139,108,255,.35); color: #fff;
}
.lp-mock .vote {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: var(--lp-fg-2);
}
.lp-mock .vote b { color: #fff; font-weight: 600; }
.lp-mock .vote .pct {
  font-family: ui-monospace, monospace; font-size: 12px; color: var(--lp-primary-2);
}
.lp-mock .vote.win { background: linear-gradient(135deg, rgba(139,108,255,.2), rgba(255,122,156,.12)); border-color: rgba(139,108,255,.4); }

.lp-carousel-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; gap: 14px;
}
.lp-cnav-dots { display: flex; gap: 8px; align-items: center; }
.lp-cnav-dots i {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.16);
  cursor: pointer; transition: all .25s; display: inline-block;
}
.lp-cnav-dots i.on {
  background: linear-gradient(135deg, #a98aff, #ff7a9c);
  width: 26px; border-radius: 5px;
}
.lp-cnav-arrows { display: flex; gap: 10px; }
.lp-arrow {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--lp-border);
  color: var(--lp-fg-2); display: grid; place-items: center;
  cursor: pointer; transition: .15s;
}
.lp-arrow:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--lp-border-2); }
.lp-arrow.prim {
  background: linear-gradient(135deg, #a98aff, #8b6cff); color: #fff; border: none;
  box-shadow: 0 8px 22px rgba(139,108,255,.35);
}

/* ── Ready strip ─────────────────────────────────────────────────── */
.lp-ready {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 42px 48px;
  background:
    radial-gradient(420px 220px at 14% 30%, rgba(139,108,255,.45), transparent 60%),
    radial-gradient(420px 220px at 86% 80%, rgba(255,122,156,.25), transparent 60%),
    linear-gradient(135deg, rgba(50,38,98,.7), rgba(28,20,60,.7));
  border: 1px solid rgba(139,108,255,.32);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: 0 32px 80px rgba(139,108,255,.22);
  margin-bottom: 48px;
}
.lp-ready h2 {
  font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #fff;
  max-width: 560px; text-wrap: balance; margin: 0;
}
.lp-ready p { margin: 10px 0 0; font-size: 15px; color: var(--lp-fg-2); }
.lp-ready .enter-app {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 14px;
  background: linear-gradient(135deg, #ff97b5, #ff6e8e); color: #fff;
  font-size: 15.5px; font-weight: 600;
  box-shadow: 0 14px 32px rgba(255,110,142,.4), inset 0 1px 0 rgba(255,255,255,.25);
  flex-shrink: 0; text-decoration: none;
}
.lp-ready .enter-app:hover { color: #fff; text-decoration: none; filter: brightness(1.06); }

/* ── Footer (только на лендинге) ─────────────────────────────────── */
.lp-footer {
  padding-top: 36px; border-top: 1px solid var(--lp-border);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  font-size: 14px;
}
.lp-footer .col h5 {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px;
}
.lp-footer .col a { display: block; color: var(--lp-fg-3); font-size: 14px; line-height: 2; text-decoration: none; }
.lp-footer .col a:hover { color: #fff; }
.lp-footer .about .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lp-footer .about .fbrand .fmark {
  width: 28px; height: 28px;
  background: url('/images/RAKUSHKA.png') center/contain no-repeat;
}
.lp-footer .about .fbrand .fname { font-size: 15px; font-weight: 700; color: #fff; }
.lp-footer .about p { color: var(--lp-fg-3); font-size: 14px; line-height: 1.55; max-width: 280px; margin: 0; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lp-hero { grid-template-columns: 1fr; gap: 32px; }
  .lp-hero h1 { font-size: 64px; }
  .lp-mascot { width: 340px; height: 340px; }
  .lp-hero-right { height: 420px; }
  .lp-theses { grid-template-columns: repeat(2, 1fr); }
  .lp-carousel-stage { height: 560px; margin: 0 -18px; }
  .lp-gcard { width: 720px; height: 480px; margin-left: -360px; }
  .lp-gcard.is-prev { transform: translateX(-620px) scale(.76); }
  .lp-gcard.is-next { transform: translateX(620px)  scale(.76); }
  .lp-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-page { padding: 32px 18px 24px; }
  .lp-hero h1 { font-size: 44px; }
  .lp-section-head h2 { font-size: 30px; }
  .lp-theses { grid-template-columns: 1fr; }

  /* Видео-карточка крупнее на мобиле */
  .lp-carousel-stage { height: 440px; margin: 0 -8px; }
  .lp-gcard { width: 540px; height: 360px; margin-left: -270px; }
  .lp-gcard.is-prev { transform: translateX(-460px) scale(.74); }
  .lp-gcard.is-next { transform: translateX(460px)  scale(.74); }

  /* Ready-strip компактнее */
  .lp-ready {
    padding: 22px 20px;
    border-radius: 20px;
    gap: 16px;
    margin-bottom: 32px;
  }
  .lp-ready h2 { font-size: 20px; line-height: 1.25; }
  .lp-ready p  { font-size: 13px; margin-top: 6px; }
  .lp-ready .enter-app {
    height: 44px; padding: 0 18px;
    font-size: 14px;
    border-radius: 11px;
  }

  /* Footer — как на десктопе: про-ка в столбике сверху, 3 колонки ссылок снизу в ряд */
  .lp-footer {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px 14px;
    font-size: 12px;
    padding-top: 28px;
  }
  .lp-footer .col.about { grid-column: 1 / -1; }
  .lp-footer .col h5 { font-size: 11px; margin-bottom: 8px; letter-spacing: .05em; }
  .lp-footer .col a { font-size: 12px; line-height: 1.9; }
  .lp-footer .about p { font-size: 13px; }
}
@media (max-width: 480px) {
  .lp-carousel-stage { height: 280px; }
  .lp-gcard { width: 92vw; height: 60vw; margin-left: -46vw; }
  /* На самых узких боковые карточки прячем — иначе обрезаются */
  .lp-gcard.is-prev, .lp-gcard.is-next { display: none; }
}
