/* ============================================================= */
/* Cookie Banner — EmpireKINO.RU
/* Файл: /templates/Torrent-King/css/cookie-banner.css
/* ============================================================= */

/* Контейнер баннера */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(37, 50, 65, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0e0e0;
    padding: 18px 24px;
    display: none; /* скрыт по умолчанию, показывается через JS */
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner.cookie-banner--visible {
    display: flex;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Текст баннера */
.cookie-banner__text {
    flex: 1;
    min-width: 280px;
    max-width: 700px;
}

.cookie-banner__text a {
    color: #2bb42b;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-banner__text a:hover {
    color: #3dd63d;
}

/* Кнопки */
.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: #2bb42b;
    color: #fff;
}

.cookie-banner__btn--accept:hover {
    background: #239a23;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(43, 180, 43, 0.35);
}

.cookie-banner__btn--reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

.cookie-banner__btn--reject:hover {
    border-color: #999;
    color: #fff;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .cookie-banner__text {
        min-width: auto;
    }

    .cookie-banner__buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner__btn {
        flex: 1;
        min-width: 120px;
    }
}
