/* ge-privacy.css
 * Брендинг ТОЛЬКО для страницы /privacy (подключается только в privacy.html).
 */

:root {
    --ge-bg: url('../images/ge_login_bg_desktop.png');
    --ge-header: url('../images/ge_login_header.png');
}

/* 1) Фон страницы */
body.is-boxed {
    background: #0f1115 var(--ge-bg) center center / cover no-repeat fixed;
}

/* На мобильных fixed иногда дергается — отключаем */
@media (max-width: 768px) {
    body.is-boxed {
        background-attachment: scroll;
    }
}

/* 2) Убираем стандартные подложки landing.css */
.body-wrap {
    background: transparent !important;
}

/* 3) Жёстко глушим диагонали/оверлеи (как на /login) */
.body-wrap,
.hero,
.site-header,
main,
.site-footer,
.hero-inner,
.container {
    background: transparent !important;
}

.hero::before,
.hero::after,
.body-wrap::before,
.body-wrap::after,
.site-footer::before,
.site-footer::after,
body.is-boxed::before,
body.is-boxed::after,
.site-header::before,
.site-header::after,
main::before,
main::after,
.hero-inner::before,
.hero-inner::after,
.container::before,
.container::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* на всякий случай убираем рамки/подложки футера из landing */
#footer.site-footer {
    background: transparent !important;
    border-top: none !important;
    padding-top: 0 !important;
}

/* 4) Шапка-картинка */
.site-header-inner {
    justify-content: center;
}

.brand.header-brand {
    display: block;
    width: min(920px, 92vw);
    aspect-ratio: 1831 / 301;
    margin: 10px auto 0;
    background-image: var(--ge-header);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

/* 5) Убираем квадраты */
.hero-figure {
    display: none !important;
}

/* 6) Карточка с текстом */
.hero {
    padding-top: 24px;
}

.hero-copy {
    max-width: 920px;
}

.ge-privacy-card {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 22px 22px 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Заголовок */
.ge-privacy-card .hero-title {
    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.ge-privacy-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
}

.ge-privacy-text p {
    margin: 0 0 12px 0;
}

/* Кнопка — ваши цвета */
.ge-privacy-btn.button.button-primary {
    background: #D86A2C !important;
    border-color: #D86A2C !important;
}
.ge-privacy-btn.button.button-primary:hover {
    background: #C85F25 !important;
    border-color: #C85F25 !important;
}

/* 7) Футер — ровно как на /login */
#footer .footer-social-links {
    display: none !important;
}
#footer .github-button {
    display: none !important;
}

#footer .ge-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

#footer .ge-footer-left {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

#footer .ge-online {
    color: #2ecc71;
    font-weight: 700;
}

#footer .ge-footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#footer .ge-footer-link {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

#footer .ge-footer-link:hover {
    text-decoration: underline;
}

/* Мобилка: всё по центру */
@media (max-width: 640px) {
    #footer .ge-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    #footer .ge-footer-left {
        white-space: normal;
    }

    #footer .ge-footer-right {
        justify-content: center;
    }

    .ge-privacy-card {
        padding: 18px 16px 14px;
    }
}
