/* ============================================
   COOKIE BANNER STYLES — FINAL
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1500px;

    z-index: 9999;
    background: linear-gradient(22deg, #FF006E, #8338EC, #3A86FF);
    padding: 24px 20px;
    border-radius: 30px;

    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Анимация БЕЗ transform */
@keyframes slideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 20px;
        opacity: 1;
    }
}

.cookie-banner__container {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* Контент */
.cookie-banner__content {
    flex: 1;
}

.cookie-banner__description {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 4px;
    font-weight: 200;
}

.cookie-banner__link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cookie-banner__link:hover {
    opacity: 0.8;
}

/* Кнопки */
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 24px;
    min-height: 44px;

    border: none;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;

    transition: all 0.2s ease;
}

.cookie-banner__btn--primary {
    background-color: #ffffff;
    color: #478CC4;
}

.cookie-banner__btn--primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.cookie-banner__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-banner__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ADAPTIVE
   ============================================ */

/* ≤ 1500 — делаем резиновым */
@media (max-width: 1500px) {
    .cookie-banner {
        width: calc(100% - 32px);
    }
}

/* ≤ 1200 */
@media (max-width: 1200px) {
    .cookie-banner__container {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ≤ 768 — во всю ширину */
@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        padding: 16px 12px;
        border-radius: 0;
    }

    .cookie-banner__container {
        gap: 12px;
    }

    .cookie-banner__description {
        font-size: 13px;
    }

    .cookie-banner__actions {
        flex-wrap: wrap;
        gap: 8px;
    }

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

/* ≤ 480 */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }

    .cookie-banner__description,
    .cookie-banner__link {
        font-size: 12px;
    }

    .cookie-banner__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
