/* WIBE RUSSIA — общий слой: маркировка 12+, реквизиты оператора, cookie-баннер,
   чекбокс согласия, плейсхолдеры «заполнить перед публикацией».
   Подключается ПЕРЕД css/index.css или css/donate.css. */

:root {
    --accent: #00E0FF;
    --accent-2: #7DF0FF;
    --accent-ink: #04141C;
    --accent-soft: rgba(0, 224, 255, 0.10);
    --accent-glow: rgba(0, 224, 255, 0.35);

    --bg: #08090B;
    --bg-2: #0D1014;
    --surface: #14181E;
    --surface-2: #1B2129;
    --line: rgba(255, 255, 255, 0.12);

    --text: #FFFFFF;
    --muted: #9AA4B0;
    --muted-2: #6E7885;
    --dim: #454E59;

    --ok: #5FE3A1;
    --warn: #FFC24B;

    --ui-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ! плейсхолдеры реквизитов — их нужно заполнить перед публикацией */
.ph {
    display: inline-block;
    padding: 1px 8px;
    border: 1px dashed rgba(255, 194, 75, .55);
    border-radius: 4px;
    background: rgba(255, 194, 75, .08);
    color: var(--warn);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
}

/* ! маркировка возрастного рейтинга */
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 6px;
    background: linear-gradient(180deg, #1C222A 0%, #141A21 100%);
    color: #fff;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
}

.hero .actions .age-badge {
    height: 48px;
    min-width: 48px;
    font-size: 15px;
}

/* ! реквизиты оператора в футере */
.majestic-footer .company .footer-operator {
    margin: 0 0 14px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.majestic-footer .company .footer-operator b {
    color: #fff;
    font-weight: 700;
}

.majestic-footer .company .footer-operator .footer-mail {
    color: var(--muted-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}

.majestic-footer .company .footer-operator .footer-mail:hover {
    color: #fff;
}

/* ! нижняя правовая полоса под футером */
.footer-strip {
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: var(--bg);
    color: var(--muted-2);
}

.footer-strip__inner {
    width: min(100%, 1520px);
    margin: 0 auto;
    padding: 20px 56px 26px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-strip__inner p {
    margin: 0;
    font-size: 11px;
    line-height: 1.65;
}

.footer-strip__inner a {
    color: var(--muted-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-strip__inner a:hover {
    color: var(--accent);
}

.footer-strip .age-badge {
    flex: 0 0 auto;
    height: 28px;
    min-width: 30px;
    font-size: 12px;
}

@media (max-width: 1520px) {
    .footer-strip__inner {
        width: min(100%, 1180px);
        padding: 18px 32px 22px;
    }
}

@media (max-width: 720px) {
    .footer-strip__inner {
        padding: 16px 18px 20px;
    }
}

/* ! согласие на обработку персональных данных (форма пополнения) */
.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    cursor: pointer;
    color: var(--muted-2);
    font-size: 13px;
    line-height: 1.5;
}

.consent-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-check a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-check.is-error {
    color: #ff8080;
}

.consent-check.is-error input {
    outline: 1px solid #ff8080;
    outline-offset: 2px;
}

/* ! уведомление под формой оплаты */
.form-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted-2);
}

.form-note.is-error {
    color: #ff8080;
}

.form-note.is-ok {
    color: var(--ok);
}

/* ! cookie / localStorage-баннер */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    padding: 18px 20px;
    background: rgba(10, 13, 17, .96);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 -18px 44px rgba(0, 0, 0, .55);
    transform: translateY(120%);
    transition: transform .45s cubic-bezier(.22, .7, .26, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner__text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.cookie-banner__text b {
    color: #fff;
}

.cookie-banner__text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.cookie-banner__btn {
    padding: 11px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: transparent;
    color: #fff;
    font-family: var(--ui-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    white-space: nowrap;
}

.cookie-banner__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cookie-banner__btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.cookie-banner__btn--primary:hover {
    color: var(--accent-ink);
    opacity: .88;
}

@media (max-width: 820px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}
