/* ==========================================================================
   GhostCloud — Landing «Figma Port» (Void Pink)
   Перенос оригинального дизайна из Figma Make (src/App.tsx) в чистый
   HTML/CSS. Только для ghostcloud-index.html; подключается ПОСЛЕ общего
   ghostcloud.css и переопределяет его токены для посадочной страницы.

   Палитра оригинала:
     P   #E0306E  primary pink      BG  #060108  void
     PL  #FF7AAF  pink light        BG2 #0A030C  void+
     TX  #F0DDE6  text              TXm #7A556A  muted
     TXd #3A1828  dim               BORDER rgba(224,48,110,.12)

   Шрифты: в оригинале Fraunces + Outfit — ОБОИХ НЕТ КИРИЛЛИЦЫ,
   русский текст в Figma рендерился системным фолбэком.
   Заменены на кириллические аналоги того же характера:
     Fraunces  (мягкая контрастная антиква) -> Vollkorn  (400-900, cyr)
     Outfit    (геометрический гротеск)     -> Onest      (300-900, cyr)
   ========================================================================== */

/* --- Токены: void (по умолчанию, как в оригинале) --- */
:root {
    color-scheme: dark;

    --fg-p: #e0306e;            /* primary pink */
    --fg-pl: #ff7aaf;           /* pink light */
    --fg-pd: #9b1040;           /* pink deep */
    --fg-bg: #060108;           /* void */
    --fg-bg2: #0a030c;
    --fg-bg3: #030005;
    --fg-card: rgba(255, 255, 255, 0.02);
    --fg-tx: #f0dde6;
    --fg-txm: #a8808f;          /* приподнят с #7a556a для контраста */
    --fg-txd: #7a556a;
    --fg-border: rgba(224, 48, 110, 0.12);
    --fg-border-h: rgba(224, 48, 110, 0.28);
    --fg-glow: rgba(224, 48, 110, 0.3);
    --fg-grad: linear-gradient(135deg, #9b1040, #d62a65);
    --fg-shimmer: linear-gradient(110deg, #9b1040 0%, #e0306e 35%, #ff8ab5 65%, #ffdde9 100%);
    --fg-success: #4ade9b;
    --fg-warning: #f0b860;
    --fg-error: #ff6b81;

    --fg-shadow-glow: 0 2px 16px rgba(224, 48, 110, 0.28);
    --fg-shadow-lift: 0 8px 32px rgba(224, 48, 110, 0.45);

    --font-display: 'Vollkorn', 'Playfair Display', Georgia, serif;
    --font-ui: 'Onest', 'Manrope', system-ui, sans-serif;

    /* --- Переопределение общих токенов базового слоя (модалки/формы/попапы) --- */
    --bg: var(--fg-bg);
    --bg-2: var(--fg-bg2);
    --bg-card: #0d0510;
    --bg-card-h: #120817;
    --bg-elevated: #0a030c;
    --text: var(--fg-tx);
    --text-2: var(--fg-txm);
    --text-3: var(--fg-txd);
    --border: var(--fg-border);
    --border-strong: var(--fg-border-h);
    --border-accent: rgba(224, 48, 110, 0.45);
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-border: var(--fg-border-h);
    --header-bg: rgba(6, 1, 8, 0.82);
    --modal-bg: #0d0510;
    --overlay-bg: rgba(2, 0, 3, 0.8);
    --accent: var(--fg-p);
    --accent-h: #f04a80;
    --accent-deep: var(--fg-pd);
    --accent-deep-h: #b3154c;
    --accent-ink: var(--fg-pl);
    --accent-soft: rgba(255, 122, 175, 0.18);
    --stamp: var(--fg-p);
    --gradient: var(--fg-grad);
    --success: var(--fg-success);
    --success-bg: rgba(74, 222, 155, 0.08);
    --success-border: rgba(74, 222, 155, 0.3);
    --error: var(--fg-error);
    --error-bg: rgba(255, 107, 129, 0.08);
    --error-border: rgba(255, 107, 129, 0.3);
    --warning: var(--fg-warning);
    --orange: var(--fg-p);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-xl: 16px;
}

/* --- Токены: day (системная светлая) --- */
@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --fg-p: #d01a5c;
        --fg-pl: #e8609a;
        --fg-pd: #9b1040;
        --fg-bg: #fbf7f9;
        --fg-bg2: #f5eff3;
        --fg-bg3: #efe7ec;
        --fg-card: #ffffff;
        --fg-tx: #24121b;
        --fg-txm: #6b4457;
        --fg-txd: #9a7585;
        --fg-border: rgba(155, 16, 64, 0.14);
        --fg-border-h: rgba(155, 16, 64, 0.3);
        --fg-glow: rgba(208, 26, 92, 0.22);
        --fg-grad: linear-gradient(135deg, #9b1040, #d01a5c);
        --fg-success: #0c8f5f;
        --fg-warning: #b06d0a;
        --fg-error: #cf2f2f;
        --fg-shadow-glow: 0 2px 14px rgba(155, 16, 64, 0.2);
        --fg-shadow-lift: 0 8px 28px rgba(155, 16, 64, 0.3);

        --bg: var(--fg-bg); --bg-2: var(--fg-bg2);
        --bg-card: #ffffff; --bg-card-h: #fdf8fa; --bg-elevated: #f7f1f4;
        --text: var(--fg-tx); --text-2: var(--fg-txm); --text-3: var(--fg-txd);
        --border: var(--fg-border); --border-strong: var(--fg-border-h);
        --border-accent: rgba(208, 26, 92, 0.4);
        --input-bg: #ffffff; --input-border: var(--fg-border-h);
        --header-bg: rgba(251, 247, 249, 0.86);
        --modal-bg: #ffffff; --overlay-bg: rgba(50, 20, 32, 0.45);
        --accent: var(--fg-p); --accent-h: #b3154c;
        --accent-deep: var(--fg-pd); --accent-deep-h: #820c35;
        --accent-ink: var(--fg-pd); --accent-soft: rgba(208, 26, 92, 0.1);
        --gradient: var(--fg-grad);
        --success: var(--fg-success); --success-bg: rgba(12, 143, 95, 0.08); --success-border: rgba(12, 143, 95, 0.3);
        --error: var(--fg-error); --error-bg: rgba(207, 47, 47, 0.07); --error-border: rgba(207, 47, 47, 0.28);
        --shadow: 0 24px 50px rgba(80, 30, 50, 0.16);
    }
}

/* --- Токены: day (ручное переключение) --- */
html.light-theme {
    color-scheme: light;
    --fg-p: #d01a5c;
    --fg-pl: #e8609a;
    --fg-pd: #9b1040;
    --fg-bg: #fbf7f9;
    --fg-bg2: #f5eff3;
    --fg-bg3: #efe7ec;
    --fg-card: #ffffff;
    --fg-tx: #24121b;
    --fg-txm: #6b4457;
    --fg-txd: #9a7585;
    --fg-border: rgba(155, 16, 64, 0.14);
    --fg-border-h: rgba(155, 16, 64, 0.3);
    --fg-glow: rgba(208, 26, 92, 0.22);
    --fg-grad: linear-gradient(135deg, #9b1040, #d01a5c);
    --fg-shimmer: linear-gradient(110deg, #9b1040 0%, #d01a5c 35%, #e8609a 65%, #f7c3d6 100%);
    --fg-success: #0c8f5f;
    --fg-warning: #b06d0a;
    --fg-error: #cf2f2f;
    --fg-shadow-glow: 0 2px 14px rgba(155, 16, 64, 0.2);
    --fg-shadow-lift: 0 8px 28px rgba(155, 16, 64, 0.3);

    --bg: var(--fg-bg); --bg-2: var(--fg-bg2);
    --bg-card: #ffffff; --bg-card-h: #fdf8fa; --bg-elevated: #f7f1f4;
    --text: var(--fg-tx); --text-2: var(--fg-txm); --text-3: var(--fg-txd);
    --border: var(--fg-border); --border-strong: var(--fg-border-h);
    --border-accent: rgba(208, 26, 92, 0.4);
    --input-bg: #ffffff; --input-border: var(--fg-border-h);
    --header-bg: rgba(251, 247, 249, 0.86);
    --modal-bg: #ffffff; --overlay-bg: rgba(50, 20, 32, 0.45);
    --accent: var(--fg-p); --accent-h: #b3154c;
    --accent-deep: var(--fg-pd); --accent-deep-h: #820c35;
    --accent-ink: var(--fg-pd); --accent-soft: rgba(208, 26, 92, 0.1);
    --gradient: var(--fg-grad);
    --success: var(--fg-success); --success-bg: rgba(12, 143, 95, 0.08); --success-border: rgba(12, 143, 95, 0.3);
    --error: var(--fg-error); --error-bg: rgba(207, 47, 47, 0.07); --error-border: rgba(207, 47, 47, 0.28);
    --shadow: 0 24px 50px rgba(80, 30, 50, 0.16);
}

/* --- Токены: void (ручное переключение) --- */
html.dark-theme {
    color-scheme: dark;
    --fg-p: #e0306e;
    --fg-pl: #ff7aaf;
    --fg-pd: #9b1040;
    --fg-bg: #060108;
    --fg-bg2: #0a030c;
    --fg-bg3: #030005;
    --fg-card: rgba(255, 255, 255, 0.02);
    --fg-tx: #f0dde6;
    --fg-txm: #a8808f;
    --fg-txd: #7a556a;
    --fg-border: rgba(224, 48, 110, 0.12);
    --fg-border-h: rgba(224, 48, 110, 0.28);
    --fg-glow: rgba(224, 48, 110, 0.3);
    --fg-grad: linear-gradient(135deg, #9b1040, #d62a65);
    --fg-shimmer: linear-gradient(110deg, #9b1040 0%, #e0306e 35%, #ff8ab5 65%, #ffdde9 100%);
    --fg-success: #4ade9b;
    --fg-warning: #f0b860;
    --fg-error: #ff6b81;
    --fg-shadow-glow: 0 2px 16px rgba(224, 48, 110, 0.28);
    --fg-shadow-lift: 0 8px 32px rgba(224, 48, 110, 0.45);

    --bg: var(--fg-bg); --bg-2: var(--fg-bg2);
    --bg-card: #0d0510; --bg-card-h: #120817; --bg-elevated: #0a030c;
    --text: var(--fg-tx); --text-2: var(--fg-txm); --text-3: var(--fg-txd);
    --border: var(--fg-border); --border-strong: var(--fg-border-h);
    --border-accent: rgba(224, 48, 110, 0.45);
    --input-bg: rgba(255, 255, 255, 0.04); --input-border: var(--fg-border-h);
    --header-bg: rgba(6, 1, 8, 0.82);
    --modal-bg: #0d0510; --overlay-bg: rgba(2, 0, 3, 0.8);
    --accent: var(--fg-p); --accent-h: #f04a80;
    --accent-deep: var(--fg-pd); --accent-deep-h: #b3154c;
    --accent-ink: var(--fg-pl); --accent-soft: rgba(255, 122, 175, 0.18);
    --gradient: var(--fg-grad);
    --success: var(--fg-success); --success-bg: rgba(74, 222, 155, 0.08); --success-border: rgba(74, 222, 155, 0.3);
    --error: var(--fg-error); --error-bg: rgba(255, 107, 129, 0.08); --error-border: rgba(255, 107, 129, 0.3);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* --- База --- */
body.gc {
    font-family: var(--font-ui);
    background: var(--fg-bg);
    color: var(--fg-tx);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    /* Vollkorn по умолчанию рисует старообразные цифры (3,4,5,7,9 свисают
       ниже строки). lnum = lining-nums подменяет их на обычные выключные. */
    font-variant-numeric: lining-nums;
}
body.gc img { max-width: 100%; display: block; }
body.gc ::selection { background: rgba(224, 48, 110, 0.45); color: #fff; }

.fg-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Шиммер-текст (фирменная фишка оригинала) */
.fg-shimmer {
    background-image: var(--fg-shimmer);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fg-shimmer 4s linear infinite;
}
@keyframes fg-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* --- Eyebrow секции --- */
.fg-eyebrow {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.fg-eyebrow::before {
    content: ''; width: 24px; height: 1px;
    background: linear-gradient(to right, transparent, var(--fg-p));
}
.fg-eyebrow span {
    font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--fg-p);
}
.fg-h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
    letter-spacing: -0.02em;
    line-height: 0.98;
    color: var(--fg-tx);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.fg-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, backdrop-filter 0.5s;
}
.fg-nav.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom-color: var(--fg-border);
}
.fg-nav-in {
    max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 64px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.fg-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.fg-logo-mark {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fg-logo-mark img { width: 26px; height: 26px; display: block; }
.fg-logo-mark svg { display: block; }
.fg-logo-text {
    font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-logo, var(--fg-tx));
}
/* Логотип в цвет волос персонажа (замер по ghost.webp):
   тёмная тема — светлые блики прядей #a371cc (5.7:1 на void),
   светлая тема — медиана волос #845ebf (4.6:1 на бумаге). */
:root { --fg-logo: #a371cc; }
html.dark-theme { --fg-logo: #a371cc; }
html.light-theme { --fg-logo: #845ebf; }
@media (prefers-color-scheme: light) {
    html:not(.dark-theme) { --fg-logo: #845ebf; }
}
.fg-nav-links { display: flex; align-items: center; gap: 32px; }
.fg-nav-link {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-txm); text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.fg-nav-link:hover { color: var(--fg-p); }

.fg-nav-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fg-nav-tg {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
    color: var(--fg-txm); text-decoration: none;
    padding: 9px 14px; border-radius: 100px;
    border: 1px solid var(--fg-border);
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.fg-nav-tg:hover { color: var(--fg-p); border-color: var(--fg-border-h); }
.tg-icon { width: 13px; height: 13px; flex-shrink: 0; }

.fg-nav-cta {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
    padding: 10px 22px; border-radius: 100px;
    background: var(--fg-grad); color: #fff !important;
    text-decoration: none; white-space: nowrap; line-height: 1.2;
    display: inline-flex; align-items: center;
    box-shadow: 0 0 20px rgba(224, 48, 110, 0.3);
    transition: transform 0.25s, box-shadow 0.25s;
}
.fg-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(224, 48, 110, 0.5); }

.fg-nav-user {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 14px 4px 4px; border-radius: 100px;
    border: 1px solid var(--fg-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--fg-tx); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: border-color 0.2s;
}
.fg-nav-user:hover { border-color: var(--fg-border-h); }
.fg-nav-user-ava {
    width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
    background: var(--fg-grad); color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fg-nav-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fg-theme {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--fg-border); background: transparent;
    color: var(--fg-txm); font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: color 0.2s, border-color 0.2s, transform 0.3s;
    flex-shrink: 0;
}
.fg-theme:hover { color: var(--fg-p); border-color: var(--fg-border-h); transform: rotate(20deg); }
.fg-theme .bi-sun-fill { display: none; }
.fg-theme .bi-moon-fill { display: inline; }
html.light-theme .fg-theme .bi-sun-fill { display: inline; }
html.light-theme .fg-theme .bi-moon-fill { display: none; }
@media (prefers-color-scheme: light) {
    html:not(.dark-theme) .fg-theme .bi-sun-fill { display: inline; }
    html:not(.dark-theme) .fg-theme .bi-moon-fill { display: none; }
}

.fg-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; cursor: pointer; z-index: 210;
}
.fg-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--fg-tx); transition: all 0.3s ease; }
.fg-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fg-burger.open span:nth-child(2) { opacity: 0; }
.fg-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.fg-hero {
    min-height: 100vh;
    background: var(--fg-bg);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.fg-hero-watermark {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -52%);
    font-family: var(--font-display);
    font-weight: 900; font-size: clamp(140px, 22vw, 260px);
    letter-spacing: -0.04em; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(224, 48, 110, 0.07);
    user-select: none; pointer-events: none;
    white-space: nowrap;
}
.fg-hero-glows {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 700px 600px at 35% 50%, rgba(224, 48, 110, 0.075) 0%, transparent 65%),
        radial-gradient(ellipse 500px 500px at 75% 40%, rgba(180, 30, 80, 0.05) 0%, transparent 60%);
}
html.light-theme .fg-hero-glows {
    background:
        radial-gradient(ellipse 700px 600px at 35% 50%, rgba(208, 26, 92, 0.07) 0%, transparent 65%),
        radial-gradient(ellipse 500px 500px at 75% 40%, rgba(155, 16, 64, 0.05) 0%, transparent 60%);
}
.fg-hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(224, 48, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 48, 110, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
html.light-theme .fg-hero-grid-bg {
    background-image:
        linear-gradient(rgba(155, 16, 64, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 16, 64, 0.045) 1px, transparent 1px);
}
.fg-hero-body {
    flex: 1; max-width: 1180px; margin: 0 auto; width: 100%;
    padding: 0 32px;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 48px; padding-top: 64px;
    position: relative; z-index: 2;
}
.fg-hero-left { padding-top: 40px; padding-bottom: 40px; }

.fg-hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.fg-hero-kicker i {
    display: block; width: 1px; height: 36px;
    background: linear-gradient(to bottom, transparent, var(--fg-p));
}
.fg-hero-kicker span {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--fg-p); font-weight: 500;
}

.fg-hero-h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 6.2vw, 5.2rem);
    line-height: 0.95; letter-spacing: -0.02em;
    color: var(--fg-tx);
    margin-bottom: 8px;
}
.fg-hero-h1:last-of-type { margin-bottom: 40px; }

.fg-hero-p {
    font-size: 15px; line-height: 1.75; color: var(--fg-txm);
    max-width: 400px; margin-bottom: 40px; font-weight: 300;
}

.fg-hero-stats { display: flex; gap: 36px; margin-bottom: 40px; flex-wrap: wrap; }
.fg-stat-val {
    font-family: var(--font-display);
    font-weight: 700; font-size: 1.6rem; color: var(--fg-tx); line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}
.fg-stat-lbl {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-txd); margin-top: 5px;
}

.fg-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Кнопки */
.fg-btn {
    font-size: 12px; letter-spacing: 0.14em; font-weight: 700; text-transform: uppercase;
    padding: 13px 30px; border-radius: 100px;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.25s;
    font-family: var(--font-ui);
    line-height: 1.2;
}
.fg-btn-fill {
    background: var(--fg-grad); color: #fff;
    box-shadow: var(--fg-shadow-glow);
}
.fg-btn-fill:hover { transform: translateY(-2px); box-shadow: var(--fg-shadow-lift); }
.fg-btn-line {
    background: transparent; color: var(--fg-txm);
    border-color: var(--fg-border-h);
}
.fg-btn-line:hover { color: var(--fg-p); border-color: var(--fg-p); transform: translateY(-1px); }

/* --- Правая часть: персонаж --- */
.fg-hero-right {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 580px;
}
.fg-ring {
    position: absolute; border-radius: 50%;
    border-style: dashed; border-color: var(--fg-p);
    opacity: 0.12;
    animation: fg-spin 30s linear infinite;
}
.fg-ring-a { width: 480px; height: 480px; border-width: 1px; }
.fg-ring-b {
    width: 380px; height: 380px; border-width: 1px;
    border-color: var(--fg-pl); opacity: 0.08;
    animation: fg-spin 20s linear infinite reverse;
}
@keyframes fg-spin { to { transform: rotate(360deg); } }

.fg-hero-glow {
    position: absolute; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 48, 110, 0.16) 0%, rgba(180, 30, 80, 0.06) 40%, transparent 70%);
    filter: blur(40px);
}
.fg-hero-figure {
    position: relative; z-index: 2;
    width: 360px; max-width: 90%; height: auto;
    filter: drop-shadow(0 0 40px rgba(224, 48, 110, 0.4)) drop-shadow(0 0 80px rgba(180, 30, 80, 0.2));
    animation: fg-char-float 5.5s ease-in-out infinite;
}
html.light-theme .fg-hero-figure { filter: drop-shadow(0 12px 34px rgba(155, 16, 64, 0.28)); }
@keyframes fg-char-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.015); }
}

/* Плавающие бейджи */
.fg-badge {
    position: absolute; z-index: 3;
    padding: 10px 16px; border-radius: 12px;
    background: rgba(10, 3, 12, 0.8);
    border: 1px solid rgba(224, 48, 110, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(224, 48, 110, 0.12);
    animation: fg-float-y 6s ease-in-out infinite;
}
html.light-theme .fg-badge { background: rgba(255, 255, 255, 0.86); border-color: rgba(155, 16, 64, 0.2); }
@keyframes fg-float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.fg-badge-1 { top: 14%; right: 0; }
.fg-badge-2 { bottom: 22%; right: -2%; animation-delay: 1.4s; }
.fg-badge-3 { top: 42%; left: -4%; animation-delay: 2.8s; }
.fg-badge-title {
    font-family: var(--font-display);
    font-weight: 700; font-size: 18px; color: var(--fg-pl); line-height: 1;
}
html.light-theme .fg-badge-title { color: var(--fg-pd); }
.fg-badge-sub {
    font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-txd); margin-top: 3px;
}
.fg-badge-txt { font-weight: 600; font-size: 13px; color: var(--fg-tx); }
.fg-badge-online { display: flex; align-items: center; gap: 6px; }
.fg-pulse {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--fg-p);
    display: inline-block;
    animation: fg-pink-pulse 2s infinite;
}
@keyframes fg-pink-pulse {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 8px var(--fg-p); }
    50% { opacity: 1; box-shadow: 0 0 18px var(--fg-p), 0 0 36px rgba(224, 48, 110, 0.4); }
}
.fg-hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
    pointer-events: none; z-index: 3;
    background: linear-gradient(to bottom, transparent, var(--fg-bg));
}

/* ==========================================================================
   Мониторинг серверов (новая секция)
   ========================================================================== */
.fg-monitor { background: var(--fg-bg); padding: 76px 0 88px; position: relative; }
.fg-monitor::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 700px 340px at 50% 0%, rgba(224, 48, 110, 0.05), transparent 70%);
}
.fg-monitor-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 32px; margin-bottom: 32px; flex-wrap: wrap;
    position: relative;
}
.fg-monitor-sum { display: flex; gap: 34px; flex-wrap: wrap; padding-bottom: 6px; }
.fg-monitor-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--fg-border);
    border: 1px solid var(--fg-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.fg-srv {
    background: var(--fg-bg);
    padding: 16px 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(70px, 0.5fr) auto;
    align-items: center; gap: 16px;
    transition: background 0.3s;
}
.fg-srv:hover { background: rgba(224, 48, 110, 0.035); }
html.light-theme .fg-srv:hover { background: rgba(208, 26, 92, 0.04); }
.fg-srv-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--fg-error); flex-shrink: 0;
}
.fg-srv.is-on .fg-srv-dot { background: var(--fg-success); box-shadow: 0 0 10px rgba(74, 222, 155, 0.5); }
.fg-srv-name {
    font-size: 13.5px; font-weight: 500; color: var(--fg-tx);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 10px;
}
.fg-srv-flag {
    width: 20px; height: 14px; flex-shrink: 0;
    border-radius: 2px; object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.fg-srv.is-off .fg-srv-name { color: var(--fg-txd); }
.fg-srv-bar {
    height: 4px; border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
html.light-theme .fg-srv-bar { background: rgba(155, 16, 64, 0.1); }
.fg-srv-bar i {
    display: block; height: 100%; border-radius: 2px;
    transition: width 0.6s ease;
}
.fg-srv-ms {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700; color: var(--fg-tx);
    text-align: right; white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}
.fg-srv.is-off .fg-srv-ms {
    font-family: var(--font-ui);
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--fg-error);
}
.fg-monitor-note {
    margin-top: 16px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 13px 22px; border-radius: 10px;
    border: 1px solid var(--fg-border);
    background: rgba(224, 48, 110, 0.02);
    font-size: 12.5px; color: var(--fg-txm); font-weight: 300;
}
.fg-monitor-note b {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-p); font-weight: 600;
}
.fg-monitor-stale { color: var(--fg-warning); }

/* ==========================================================================
   Ticker
   ========================================================================== */
.fg-ticker {
    background: var(--fg-bg2); overflow: hidden;
    border-top: 1px solid var(--fg-border);
    border-bottom: 1px solid var(--fg-border);
    padding: 14px 0; position: relative;
}
.fg-ticker-fade-l, .fg-ticker-fade-r {
    position: absolute; top: 0; bottom: 0; width: 80px;
    z-index: 2; pointer-events: none;
}
.fg-ticker-fade-l { left: 0; background: linear-gradient(to right, var(--fg-bg2), transparent); }
.fg-ticker-fade-r { right: 0; background: linear-gradient(to left, var(--fg-bg2), transparent); }
.fg-ticker-track {
    display: flex; width: max-content;
    will-change: transform;
    /* Скорость и сдвиг задаёт JS (fg-ticker-init) в пикселях — это даёт
       бесшовную бесконечную прокрутку на любой ширине экрана.
       Фолбэк 50% = одна из двух групп в статичной разметке (работает без JS). */
    animation: fg-marquee var(--fg-marquee-duration, 28s) linear infinite;
}
/* Бесконечная прокрутка: при наведении строка НЕ останавливается — текст идёт дальше */
@keyframes fg-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-1 * var(--fg-marquee-shift, 50%)), 0, 0); }
}
.fg-ticker-group { display: flex; flex-shrink: 0; }
.fg-ticker-item { display: flex; align-items: center; flex-shrink: 0; }
.fg-ticker-item span {
    font-size: 11px; letter-spacing: 0.22em; font-weight: 500;
    color: var(--fg-txm); white-space: nowrap; padding: 0 6px;
    text-transform: uppercase;
}
.fg-ticker-item i {
    color: var(--fg-p); font-size: 14px; padding: 0 12px; opacity: 0.6;
    font-style: normal;
}

/* ==========================================================================
   Features — editorial panels (фишка оригинала: чередование)
   ========================================================================== */
.fg-features { background: var(--fg-bg); padding-top: 100px; }
.fg-features-head {
    max-width: 1180px; margin: 0 auto; padding: 0 32px 64px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
}
.fg-features-lede {
    font-size: 14px; color: var(--fg-txm); line-height: 1.7;
    max-width: 320px; font-weight: 300; padding-bottom: 8px;
}
.fg-panels { border-top: 1px solid var(--fg-border); }
.fg-panel {
    border-bottom: 1px solid var(--fg-border);
    transition: background 0.4s;
}
.fg-panel:hover { background: rgba(224, 48, 110, 0.025); }
html.light-theme .fg-panel:hover { background: rgba(208, 26, 92, 0.03); }
.fg-panel-in {
    max-width: 1180px; margin: 0 auto; padding: 0 32px;
    display: grid;
    grid-template-columns: 200px 320px 1fr;
    align-items: center; gap: 0; min-height: 180px;
}
.fg-panel.flip .fg-panel-in { grid-template-columns: 1fr 200px 320px; }
.fg-panel-num {
    display: flex; align-items: center; justify-content: center;
    height: 100%; min-height: 180px;
    border-right: 1px solid var(--fg-border);
}
.fg-panel.flip .fg-panel-num { border-right: 1px solid var(--fg-border); }
.fg-panel-num span {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(4rem, 7vw, 7rem);
    letter-spacing: -0.04em; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(224, 48, 110, 0.15);
    transition: -webkit-text-stroke-color 0.4s;
    user-select: none;
}
html.light-theme .fg-panel-num span { -webkit-text-stroke-color: rgba(155, 16, 64, 0.2); }
.fg-panel:hover .fg-panel-num span { -webkit-text-stroke-color: rgba(224, 48, 110, 0.4); }
html.light-theme .fg-panel:hover .fg-panel-num span { -webkit-text-stroke-color: rgba(155, 16, 64, 0.45); }
.fg-panel-icon {
    display: flex; align-items: center; justify-content: center;
    padding: 40px 32px;
    opacity: 0.5; transition: opacity 0.4s;
    height: 100%;
}
.fg-panel.flip .fg-panel-icon { border-left: 1px solid var(--fg-border); }
.fg-panel:not(.flip) .fg-panel-icon { border-right: 1px solid var(--fg-border); }
.fg-panel:hover .fg-panel-icon { opacity: 1; }
.fg-panel-icon svg { transition: transform 0.4s; color: var(--fg-p); }
.fg-panel:hover .fg-panel-icon svg { transform: scale(1.1); }
.fg-panel-txt { padding: 48px 0 48px 64px; }
.fg-panel.flip .fg-panel-txt { padding: 48px 64px 48px 0; border-right: 1px solid var(--fg-border); }
.fg-panel-txt h3 {
    font-family: var(--font-display);
    font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--fg-tx); letter-spacing: -0.01em; margin-bottom: 12px;
    line-height: 1.1;
}
.fg-panel-txt p { font-size: 14px; line-height: 1.75; color: var(--fg-txm); font-weight: 300; }

/* ==========================================================================
   Pricing — билеты + табы
   ========================================================================== */
.fg-pricing {
    background: var(--fg-bg2); padding: 100px 0 120px;
    position: relative; overflow: hidden;
}
.fg-pricing-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 800px 500px at 50% 60%, rgba(224, 48, 110, 0.05) 0%, transparent 70%);
}
.fg-pricing-in { position: relative; }
.fg-pricing-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
}
.section-head { display: block; margin: 0; }
.fg-tabs {
    display: flex; gap: 4px; padding: 4px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--fg-border);
}
html.light-theme .fg-tabs { background: rgba(155, 16, 64, 0.04); }
.fg-tab {
    font-family: var(--font-ui);
    font-size: 12px; letter-spacing: 0.1em; font-weight: 600;
    padding: 10px 22px; border-radius: 9px;
    border: none; cursor: pointer;
    transition: all 0.25s;
    background: transparent; color: var(--fg-txm);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.fg-tab.is-active {
    background: var(--fg-grad); color: #fff;
    box-shadow: 0 2px 14px rgba(224, 48, 110, 0.35);
}

.pricing-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    align-items: stretch;
}

/* Карточка-билет */
.p-card {
    clip-path: none;
    border-radius: 16px;
    overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid var(--fg-border);
    background: var(--fg-card);
    box-shadow: none;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
    transform: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.p-card::before { display: none; }
.p-card::after { display: none; }
/* Базовый ghostcloud.css рисует ::before «RECOMMENDED» и прячет бейдж у .p-card-pop —
   перебиваем с большей специфичностью (порядок файлов здесь не спасает). */
body.gc .p-card.p-card-pop::before,
body.gc .p-card.p-card-best::before,
body.gc .p-card.p-card-trial::before,
body.gc .p-card::before { content: none; display: none; }
body.gc .p-card .p-badge { display: inline-block; }
body.gc .p-card.p-card-pop .p-badge { display: inline-block; }
.p-card:hover {
    border-color: var(--fg-border-h);
    box-shadow: 0 4px 28px rgba(224, 48, 110, 0.08);
    transform: translateY(-3px);
    background: var(--fg-card);
}
.p-card-pop, .p-card-best {
    border-color: rgba(224, 48, 110, 0.5);
    background: linear-gradient(160deg, rgba(224, 48, 110, 0.13) 0%, rgba(180, 30, 80, 0.06) 100%);
    box-shadow: 0 0 48px rgba(224, 48, 110, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-6px);
}
html.light-theme .p-card-pop, html.light-theme .p-card-best {
    background: linear-gradient(160deg, rgba(208, 26, 92, 0.08) 0%, rgba(155, 16, 64, 0.03) 100%);
    box-shadow: 0 0 40px rgba(155, 16, 64, 0.12);
}
.p-card-pop:hover, .p-card-best:hover { transform: translateY(-9px); background: linear-gradient(160deg, rgba(224, 48, 110, 0.13), rgba(180, 30, 80, 0.06)); }
.p-card-trial { background: rgba(255, 255, 255, 0.012); }

/* Tag strip */
.p-header {
    padding: 16px 20px 0;
    border-bottom: none;
    margin: 0;
    position: static;
}
.p-header::after { display: none; }
.p-header h3 {
    font-family: var(--font-ui);
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-txm); font-weight: 600;
    margin-bottom: 0; padding-bottom: 16px;
    border-bottom: 1px dashed rgba(224, 48, 110, 0.2);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.p-card-pop .p-header h3, .p-card-best .p-header h3 { color: var(--fg-p); }

.p-badge {
    position: static;
    display: inline-block;
    transform: none; box-shadow: none;
    font-family: var(--font-ui);
    font-size: 10px; letter-spacing: 0.1em; font-weight: 700;
    padding: 2px 8px; border-radius: 4px;
    background: rgba(224, 48, 110, 0.12); color: var(--fg-p);
    white-space: nowrap; text-transform: none;
}
.p-card-pop .p-badge, .p-card-best .p-badge { background: rgba(224, 48, 110, 0.25); }
.p-badge-trial { background: rgba(255, 255, 255, 0.05); color: var(--fg-txd); }
html.light-theme .p-badge-trial { background: rgba(155, 16, 64, 0.07); }
.p-badge i.bi { font-size: 10px; }

.p-price { display: flex; align-items: baseline; gap: 4px; padding: 28px 20px 0; }
.p-val {
    font-family: var(--font-display);
    font-weight: 900; font-size: 3.8rem; letter-spacing: -0.03em;
    color: var(--fg-tx); line-height: 1;
}
.p-cur { font-family: var(--font-ui); font-size: 16px; color: var(--fg-txm); font-weight: 400; }
.p-period {
    display: block; padding: 6px 20px 20px;
    font-size: 11px; letter-spacing: 0.1em; color: var(--fg-txd);
    border-bottom: 1px dashed rgba(224, 48, 110, 0.12);
}
.p-save {
    display: inline-block; margin-left: 8px;
    padding: 1px 7px; border-radius: 4px;
    background: rgba(74, 222, 155, 0.12); border: none;
    color: var(--fg-success);
    font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
}

.p-list {
    list-style: none; flex: 1;
    padding: 20px; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
}
.p-list li {
    display: flex; align-items: center; gap: 9px;
    padding: 0;
    font-size: 12px; color: var(--fg-txm); font-weight: 300;
    line-height: 1.45;
}
.p-list li::before {
    content: ''; flex-shrink: 0;
    position: static; top: auto; left: auto;
    width: 12px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23e0306e' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='1.5 6 4.5 9 10.5 3'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.85;
}
.p-card-pop .p-list li, .p-card-best .p-list li { color: #c898b0; }
html.light-theme .p-card-pop .p-list li, html.light-theme .p-card-best .p-list li { color: var(--fg-txm); }

/* Кнопки тарифов (классы ставит script.js через data-base-class) */
.p-card .btn {
    display: block; width: 100%; text-align: center;
    font-family: var(--font-ui);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
    padding: 12px; border-radius: 8px;
    text-decoration: none; cursor: pointer;
    transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    line-height: 1.3;
}
.p-card .btn-outline {
    background: transparent;
    border: 1px solid rgba(224, 48, 110, 0.22);
    color: #9a6070;
}
html.light-theme .p-card .btn-outline { color: var(--fg-txm); border-color: rgba(155, 16, 64, 0.25); }
.p-card .btn-outline:hover {
    border-color: var(--fg-p); color: var(--fg-p);
    background: transparent; transform: translateY(-1px);
}
.p-card .btn-primary, .p-card .btn-pink {
    background: var(--fg-grad); border: none; color: #fff;
    box-shadow: 0 2px 16px rgba(224, 48, 110, 0.35);
}
.p-card .btn-primary:hover, .p-card .btn-pink:hover {
    box-shadow: 0 6px 26px rgba(224, 48, 110, 0.5);
    transform: translateY(-1px); color: #fff;
}
.p-card .pricing-action-btn.pricing-needs-topup {
    background: transparent !important;
    border: 1px solid var(--fg-p) !important;
    color: var(--fg-p) !important;
    box-shadow: none !important;
}
.p-card > .btn { margin: 16px 20px 20px; width: calc(100% - 40px); }
/* Базовый слой рисует «перфорацию» через ::before с отрицательными отступами — убираем */
body.gc .p-card .btn-block::before { content: none; display: none; }

/* Спонсор-блок внутри билета */
.sp-block { margin: 0 20px; padding: 0; }
.sp-block-shell {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 11px 11px 11px 13px;
    border-radius: 10px;
    border: 1px dashed rgba(224, 48, 110, 0.22);
    background: rgba(224, 48, 110, 0.03);
    transition: border-color 0.25s, background 0.25s;
}
.sp-block-shell:hover { border-color: rgba(224, 48, 110, 0.4); background: rgba(224, 48, 110, 0.06); }
.sp-block.sp-on .sp-block-shell {
    border-style: solid; border-color: rgba(224, 48, 110, 0.55);
    background: rgba(224, 48, 110, 0.09);
}
.sp-block-inner { display: block; flex: 1; cursor: pointer; }
.sp-top { display: flex; align-items: center; gap: 8px; }
.sp-icon {
    width: 18px; height: 18px;
    min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px;
    display: inline-block; vertical-align: middle;
    object-fit: contain; flex-shrink: 0; position: relative; top: -1px;
}
.sp-icon--lg { width: 32px; height: 32px; min-width: 32px; min-height: 32px; max-width: 32px; max-height: 32px; top: 0; }
.sp-title { font-size: 12px; font-weight: 600; color: var(--fg-tx); flex: 1; }
.sp-sw {
    width: 36px; height: 20px; border-radius: 10px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative; transition: all 0.3s;
}
html.light-theme .sp-sw { background: rgba(155, 16, 64, 0.1); border-color: rgba(155, 16, 64, 0.16); }
.sp-sw::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sp-block.sp-on .sp-sw {
    background: var(--fg-grad); border-color: rgba(224, 48, 110, 0.6);
    box-shadow: 0 0 10px rgba(224, 48, 110, 0.35);
}
/* Базовый ghostcloud.css двигает кружок через transform:translateX(16px).
   Свойство transform наше правило не переопределяло — left:19px + translateX(16px)
   = 35px, кружок уезжал за пределы трека. Сбрасываем transform явно. */
.sp-block.sp-on .sp-sw::after { left: 19px; transform: none; }
.sp-sub { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding-left: 26px; flex-wrap: wrap; }
.sp-gift {
    font-size: 10.5px; font-weight: 600; color: var(--fg-p);
    background: rgba(224, 48, 110, 0.12); border: none;
    padding: 2px 8px; border-radius: 4px;
}
.sp-gift--dim { background: transparent; color: var(--fg-txd); padding-left: 0; }
.sp-price { font-size: 11.5px; font-weight: 500; color: var(--fg-txm); font-variant-numeric: lining-nums tabular-nums; }
.sp-info-btn {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid rgba(224, 48, 110, 0.3);
    background: rgba(224, 48, 110, 0.1); color: var(--fg-p);
    font-size: 11px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; margin-top: 2px;
}
.sp-info-btn:hover { background: rgba(224, 48, 110, 0.26); }

/* Таб «Спонсор» */
.fg-sponsor { display: none; }
.fg-sponsor.is-on { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.fg-plans.is-off { display: none; }
.fg-sponsor-card {
    border-radius: 16px; border: 1px solid rgba(224, 48, 110, 0.3);
    background: linear-gradient(160deg, rgba(224, 48, 110, 0.1) 0%, rgba(180, 30, 80, 0.04) 100%);
    overflow: hidden;
}
html.light-theme .fg-sponsor-card { background: linear-gradient(160deg, rgba(208, 26, 92, 0.07), rgba(155, 16, 64, 0.02)); }
.fg-sponsor-strip {
    padding: 20px 24px; border-bottom: 1px dashed rgba(224, 48, 110, 0.2);
    display: flex; align-items: center; justify-content: space-between;
}
.fg-sponsor-strip span:first-child {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--fg-p); font-weight: 700;
}
.fg-sponsor-strip span:last-child {
    font-family: var(--font-display); font-weight: 700; font-size: 16px;
    color: rgba(224, 48, 110, 0.4);
}
.fg-sponsor-price { padding: 28px 24px 20px; border-bottom: 1px dashed rgba(224, 48, 110, 0.12); }
.fg-sponsor-price-row { display: flex; align-items: baseline; gap: 4px; }
.fg-sponsor-price-row b {
    font-family: var(--font-display); font-weight: 900; font-size: 3.8rem;
    letter-spacing: -0.03em; color: var(--fg-tx); line-height: 1;
}
.fg-sponsor-price-row i { font-style: normal; font-size: 16px; color: var(--fg-txm); }
.fg-sponsor-price small {
    display: block; font-size: 11px; letter-spacing: 0.1em;
    color: var(--fg-txd); margin-top: 6px;
}
.fg-sponsor-perks { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 2px; }
/* Перки — статичный список (ползунки убраны: переключать нечего, всё входит в статус) */
.fg-perk-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 10px; border-radius: 8px;
    background: rgba(224, 48, 110, 0.06);
    text-align: left;
}
html.light-theme .fg-perk-item { background: rgba(155, 16, 64, 0.05); }
.fg-perk-item span { font-size: 13px; color: #d0a0b8; font-weight: 500; }
html.light-theme .fg-perk-item span { color: var(--fg-tx); }
.fg-perk-mark {
    width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
    background: rgba(224, 48, 110, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23e0306e' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='2 6.5 4.5 9 10 3.5'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
    border: 1px solid rgba(224, 48, 110, 0.4);
}
html.light-theme .fg-perk-mark {
    background-color: rgba(155, 16, 64, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%239b1040' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='2 6.5 4.5 9 10 3.5'/%3E%3C/svg%3E");
    border-color: rgba(155, 16, 64, 0.35);
}
/* Фирменная иконка спонсора вместо символа ✦.
   Базовый ghostcloud.css задаёт img{display:block} — поэтому выравниваем
   иконку и текст через flex-контейнеры, а не через vertical-align. */
.fg-tab-ico { width: 16px; height: 16px; flex-shrink: 0; }
.fg-strip-ico { width: 18px; height: 18px; display: block; }
.fg-cta-ico { width: 16px; height: 16px; flex-shrink: 0; }
.fg-sponsor-cta { padding: 0 24px 24px; }
.fg-sponsor-cta button {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; text-align: center;
    font-family: var(--font-ui);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
    padding: 14px; border-radius: 8px; border: none; cursor: pointer;
    background: var(--fg-grad); color: #fff;
    box-shadow: 0 4px 20px rgba(224, 48, 110, 0.4);
    transition: opacity 0.2s;
}
.fg-sponsor-cta button:hover { opacity: 0.85; }
.fg-sponsor-side { display: flex; flex-direction: column; gap: 10px; }
.fg-sponsor-side-lbl {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-txd); margin-bottom: 6px; font-weight: 600;
}
.fg-perk-detail {
    padding: 16px 20px; border-radius: 10px;
    border: 1px solid var(--fg-border);
    background: transparent;
    transition: all 0.3s;
    opacity: 0.35;
}
.fg-perk-detail.is-on {
    border-color: rgba(224, 48, 110, 0.25);
    background: rgba(224, 48, 110, 0.04);
    opacity: 1;
}
.fg-perk-detail-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 4px; gap: 10px;
}
.fg-perk-detail-top b { font-weight: 600; font-size: 13px; color: var(--fg-txm); }
.fg-perk-detail.is-on .fg-perk-detail-top b { color: var(--fg-tx); }
.fg-perk-detail-top i {
    font-style: normal; font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--fg-p); font-weight: 700;
}
.fg-perk-detail p { font-size: 12px; color: var(--fg-txm); line-height: 1.5; font-weight: 300; margin: 0; }

.fg-pricing-note {
    margin-top: 16px; padding: 14px 24px; border-radius: 10px;
    border: 1px solid var(--fg-border);
    background: rgba(224, 48, 110, 0.02);
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.fg-pricing-note b {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-p); font-weight: 600;
}
.fg-pricing-note span { font-size: 13px; color: var(--fg-txm); font-weight: 300; }

/* Баннер распродажи (инжектит общий script.js) */
#pricing .fg-wrap > div:not([class]) {
    background: rgba(224, 48, 110, 0.06) !important;
    border: 1px solid rgba(224, 48, 110, 0.3) !important;
    border-radius: 10px !important;
}
#pricing .fg-wrap > div:not([class]) i.bi,
#pricing .fg-wrap > div:not([class]) span { color: var(--fg-p) !important; }

/* ==========================================================================
   Apps — terminal list
   ========================================================================== */
.fg-apps { background: var(--fg-bg); padding: 100px 0 120px; }
.fg-apps-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.fg-apps-left .fg-h2 { margin-bottom: 28px; }
.fg-apps-lede { font-size: 14px; line-height: 1.75; color: var(--fg-txm); font-weight: 300; max-width: 340px; }
.fg-apps-deco { margin-top: 48px; opacity: 0.12; color: var(--fg-p); }
.fg-apps-list { padding-top: 80px; }

.a-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--fg-border);
    transition: border-color 0.3s;
    background: transparent;
    border-radius: 0; border-top: none; border-left: none; border-right: none;
    text-align: left;
    overflow: visible;
}
.a-card:last-child { border-bottom: none; }
.a-card:hover { border-bottom-color: rgba(224, 48, 110, 0.18); background: transparent; transform: none; box-shadow: none; }
.a-card::before { display: none; }
.a-card-l { display: flex; align-items: center; gap: 20px; min-width: 0; }
.a-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(224, 48, 110, 0.06);
    border: 1px solid rgba(224, 48, 110, 0.12);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s; flex-shrink: 0;
    padding: 9px; margin: 0;
}
.a-card:hover .a-icon { background: rgba(224, 48, 110, 0.12); border-color: rgba(224, 48, 110, 0.35); }
.a-icon img { width: 100%; height: 100%; object-fit: contain; }
.a-card h3 {
    font-family: var(--font-ui);
    font-weight: 600; font-size: 15px; color: #d0b0c0;
    transition: color 0.2s; margin-bottom: 2px;
}
html.light-theme .a-card h3 { color: var(--fg-txm); }
.a-card:hover h3 { color: var(--fg-tx); }
.a-card p {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--fg-txd); margin-top: 2px;
}
.a-card-r { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.a-card-mark {
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 4px;
    background: rgba(224, 48, 110, 0.1); color: var(--fg-p); font-weight: 600;
    white-space: nowrap;
}
.a-card-arrow { color: var(--fg-txd); transition: all 0.2s; display: flex; }
.a-card:hover .a-card-arrow { color: var(--fg-p); transform: translateX(3px); }

/* ==========================================================================
   FAQ — нумерованный аккордеон
   ========================================================================== */
.fg-faq { background: var(--fg-bg2); padding: 100px 0 120px; }
.fg-faq-grid {
    display: grid; grid-template-columns: 280px 1fr;
    gap: 80px; align-items: start;
}
.fg-faq-side { position: sticky; top: 100px; }
.fg-faq-qmark {
    margin-top: 40px;
    font-family: var(--font-display);
    font-weight: 900; font-size: 120px; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(224, 48, 110, 0.08);
    user-select: none; display: block;
}
html.light-theme .fg-faq-qmark { -webkit-text-stroke-color: rgba(155, 16, 64, 0.14); }

.faq-list { counter-reset: fgfaq; display: block; border-top: none; max-width: none; margin: 0; }
.faq-item {
    counter-increment: fgfaq;
    border-bottom: 1px solid var(--fg-border);
    transition: border-color 0.3s;
    background: transparent;
    border-radius: 0;
}
.faq-item.active { border-bottom-color: rgba(224, 48, 110, 0.22); background: transparent; }
.faq-item:hover { background: transparent; }
.faq-q {
    width: 100%; text-align: left; padding: 28px 0;
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 24px;
    background: transparent; border: none; cursor: pointer;
    font-family: var(--font-ui);
}
body.gc .faq-list .faq-q::before {
    content: counter(fgfaq, decimal-leading-zero);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: rgba(224, 48, 110, 0.2);
    line-height: 1; min-width: 40px;
    transition: color 0.3s;
    order: -1;
    margin-right: 0;
    font-variant-numeric: lining-nums;
}
html.light-theme body.gc .faq-list .faq-q::before { color: rgba(155, 16, 64, 0.25); }
body.gc .faq-list .faq-item.active .faq-q::before { color: var(--fg-p); }
.faq-q span {
    font-weight: 600; font-size: 16px;
    color: #c8a0b5; line-height: 1.4; transition: color 0.3s;
}
html.light-theme .faq-q span { color: var(--fg-txm); }
.faq-item.active .faq-q span { color: var(--fg-tx); }
.faq-q::after {
    content: '';
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--fg-border);
    background: transparent;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8808f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    transition: all 0.3s;
}
.faq-item.active .faq-q::after {
    border-color: rgba(224, 48, 110, 0.4);
    background-color: rgba(224, 48, 110, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e0306e' stroke-width='1.8' stroke-linecap='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
.faq-item.active .faq-a { max-height: 240px; opacity: 1; }
.faq-a p {
    font-size: 14px; line-height: 1.8; color: var(--fg-txm); font-weight: 300;
    padding: 0 0 28px 64px; max-width: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.fg-footer {
    background: var(--fg-bg3);
    border-top: 1px solid rgba(224, 48, 110, 0.07);
    padding: 72px 0 40px;
}
html.light-theme .fg-footer { border-top-color: rgba(155, 16, 64, 0.12); }
.fg-footer-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 64px;
}
.fg-footer-brand p {
    font-size: 13px; color: var(--fg-txd); line-height: 1.65;
    max-width: 220px; font-weight: 300; margin-top: 16px;
}
.fg-footer-lbl {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--fg-txd); margin-bottom: 20px; font-weight: 600;
}
.footer-nav { display: block; max-width: none; justify-content: flex-start; gap: 0; }
.footer-nav a {
    display: block; font-size: 13px; color: var(--fg-txd);
    text-decoration: none; margin-bottom: 12px; font-weight: 300;
    transition: color 0.2s;
    border-bottom: none; padding-bottom: 0;
}
.footer-nav a:hover { color: var(--fg-p); border-bottom: none; }
.fg-footer-tg {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--fg-txd); text-decoration: none;
    font-weight: 300; transition: color 0.2s;
}
.fg-footer-tg:hover { color: var(--fg-p); }
.fg-footer-bottom {
    padding-top: 24px; border-top: 1px solid rgba(224, 48, 110, 0.05);
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    flex-wrap: wrap;
}
html.light-theme .fg-footer-bottom { border-top-color: rgba(155, 16, 64, 0.1); }
.fg-footer-bottom p { font-size: 11px; color: var(--fg-txd); letter-spacing: 0.08em; }
.fg-footer-bottom a { color: var(--fg-txd); text-decoration: none; transition: color 0.2s; }
.fg-footer-bottom a:hover { color: var(--fg-p); }
.fg-footer-mark {
    font-family: var(--font-display); font-weight: 700; font-size: 18px;
    color: transparent; -webkit-text-stroke: 1px rgba(224, 48, 110, 0.12);
}

/* ==========================================================================
   Модалки/формы общего слоя — в эстетике void pink
   ========================================================================== */
body.gc .modal-content {
    border-radius: 16px;
    border: 1px solid var(--fg-border-h);
    background: var(--modal-bg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
body.gc .modal-content::before { display: none; }
body.gc .modal-close { border-radius: 50%; background: rgba(255, 255, 255, 0.04); border-color: var(--fg-border); }
body.gc .modal-close:hover { color: var(--fg-p); border-color: var(--fg-p); }
body.gc .modal-head h2, body.gc .sponsor-modal-head h2 { font-family: var(--font-display); font-weight: 700; }
body.gc .modal-logo { border-radius: 8px; border: none; box-shadow: 0 0 24px rgba(224, 48, 110, 0.3); }
body.gc .modal-plan-info strong { color: var(--fg-pl); }
html.light-theme body.gc .modal-plan-info strong { color: var(--fg-pd); }
body.gc .form-group label { font-size: 10px; letter-spacing: 0.18em; }
body.gc .form-group input { border-radius: 10px; border-width: 1px; }
body.gc .form-group input:focus { border-color: var(--fg-p); box-shadow: 0 0 0 3px rgba(224, 48, 110, 0.14); }
body.gc .verify-block, body.gc .email-exists-warn { border-radius: 12px; }
body.gc .verify-input, body.gc .promo-input { border-radius: 8px; }
body.gc .verify-confirm-btn, body.gc .promo-apply-btn { border-radius: 8px; font-weight: 700; }
body.gc .warn-btn { border-radius: 8px; }
body.gc .btn-primary { background: var(--fg-grad); border-radius: 10px; box-shadow: var(--fg-shadow-glow); }
body.gc .btn-primary:hover { box-shadow: var(--fg-shadow-lift); }
body.gc .btn-lg { padding: 15px 22px; }
body.gc .account-popup { border-radius: 16px; border-color: var(--fg-border-h); }
body.gc .account-popup-avatar { border-radius: 50%; background: var(--fg-grad); }
body.gc .account-popup-balance { color: var(--fg-pl); }
html.light-theme body.gc .account-popup-balance { color: var(--fg-pd); }
body.gc .account-popup-topup-input { border-radius: 8px; }
body.gc .account-popup-topup-btn { border-radius: 8px; background: var(--fg-grad); }
body.gc .sponsor-info-list strong { font-weight: 600; }

/* ==========================================================================
   Reveal (контракт script.js)
   ========================================================================== */
body.gc .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
body.gc .reveal.visible { opacity: 1; transform: translateY(0); }
body.gc .reveal-delay-1 { transition-delay: 0.1s; }
body.gc .reveal-delay-2 { transition-delay: 0.2s; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
    .fg-panel-in, .fg-panel.flip .fg-panel-in { grid-template-columns: 120px 1fr; }
    .fg-panel-icon { display: none; }
    .fg-panel-txt, .fg-panel.flip .fg-panel-txt { padding: 40px 0 40px 32px; border-right: none; }
    .fg-panel-num { min-height: 0; }
    .fg-panel-num span { font-size: 3.4rem; }

    .fg-apps-grid { grid-template-columns: 1fr; gap: 48px; }
    .fg-apps-list { padding-top: 0; }
    .fg-faq-grid { grid-template-columns: 1fr; gap: 44px; }
    .fg-faq-side { position: static; }
    .fg-faq-qmark { font-size: 80px; margin-top: 24px; }
}

@media (max-width: 960px) {
    .fg-hero-body { grid-template-columns: 1fr; gap: 40px; padding-top: 96px; }
    .fg-hero-right { height: 420px; order: -1; }
    .fg-hero-figure { width: 280px; }
    .fg-ring-a { width: 340px; height: 340px; }
    .fg-ring-b { width: 270px; height: 270px; }
    .fg-hero-glow { width: 280px; height: 280px; }
    .fg-badge-3 { left: 0; }
    .fg-hero-left { padding-top: 0; text-align: left; }
    .fg-hero { min-height: auto; padding-bottom: 40px; }
    .fg-hero-watermark { font-size: clamp(90px, 26vw, 160px); top: 30%; }

    .pricing-row { grid-template-columns: repeat(2, 1fr); }
    .p-card-pop, .p-card-best { transform: none; }
    .p-card-pop:hover, .p-card-best:hover { transform: translateY(-3px); }

    .fg-sponsor.is-on { grid-template-columns: 1fr; }
    .fg-monitor-grid { grid-template-columns: 1fr; }
    .fg-footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .fg-wrap { padding: 0 20px; }
    .fg-nav-in { padding: 0 20px; height: 60px; }
    .fg-nav-links {
        position: fixed; top: 0; right: 0;
        width: min(320px, 88vw); height: 100vh;
        padding: 88px 24px 30px;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--fg-bg2);
        border-left: 1px solid var(--fg-border);
        transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 205;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    .fg-nav-links.open { transform: translateX(0); }
    .fg-nav-link { padding: 15px 4px; font-size: 13px; border-bottom: 1px solid var(--fg-border); }
    .fg-nav-side {
        flex-direction: column; align-items: stretch; gap: 10px;
        margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--fg-border);
    }
    .fg-nav-tg, .fg-nav-cta, .fg-nav-user { width: 100%; justify-content: center; }
    .fg-theme { align-self: center; margin-top: 6px; }
    .fg-burger { display: flex; }

    .fg-features-head { padding: 0 20px 44px; flex-direction: column; align-items: flex-start; }
    .fg-features { padding-top: 76px; }
    .fg-features-lede { max-width: none; padding-bottom: 0; }
    .fg-panel-in, .fg-panel.flip .fg-panel-in { grid-template-columns: 64px 1fr; min-height: 0; }
    .fg-panel-num { min-height: 0; padding: 24px 0; }
    .fg-panel-num span { font-size: 2rem; }
    .fg-panel-txt, .fg-panel.flip .fg-panel-txt { padding: 24px 0; }
    .fg-panel-txt h3 { font-size: 1.35rem; }

    .fg-pricing { padding: 76px 0 88px; }
    .fg-pricing-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
    .pricing-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

    .fg-apps, .fg-faq { padding: 76px 0 88px; }
    .a-card { flex-direction: column; align-items: flex-start; gap: 12px; }
    .a-card-r { width: 100%; justify-content: space-between; }

    .fg-monitor { padding: 60px 0 72px; }
    .fg-monitor-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .fg-monitor-sum { gap: 24px; }
    .fg-srv { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px 18px; }
    .fg-srv-bar { display: none; }

    .faq-q { grid-template-columns: auto 1fr auto; gap: 14px; padding: 22px 0; }
    .faq-q::before { min-width: 30px; font-size: 1.1rem; }
    .faq-q span { font-size: 14.5px; }
    .faq-a p { padding-left: 44px; }

    .fg-hero-stats { gap: 22px; }
    .fg-hero-cta { flex-direction: column; align-items: stretch; }
    .fg-hero-cta .fg-btn { width: 100%; }
}

@media (max-width: 480px) {
    .fg-badge { padding: 8px 12px; border-radius: 10px; }
    .fg-badge-title { font-size: 15px; }
    .fg-badge-1 { top: 6%; right: -2%; }
    .fg-badge-2 { bottom: 12%; right: -2%; }
    .fg-hero-figure { width: 230px; }
    .fg-ring-a { width: 280px; height: 280px; }
    .fg-ring-b { width: 220px; height: 220px; }
    .fg-hero-glow { width: 230px; height: 230px; }
    .fg-tabs { width: 100%; }
    .fg-tab { flex: 1; padding: 10px 12px; }
    .fg-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Доступность
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1s !important;
    }
    .fg-ticker-track { animation: none; }
    body.gc .reveal { opacity: 1; transform: none; }
    .fg-shimmer { -webkit-text-fill-color: var(--fg-pl); color: var(--fg-pl); background: none; }
}

@media print {
    .fg-hero-watermark, .fg-hero-glows, .fg-hero-grid-bg, .fg-nav, .fg-ticker, .fg-hero-right { display: none; }
    body.gc { background: #fff; color: #000; }
}
