/**
 * Cookie Consent Banner
 * =====================
 * Минималистичный баннер для GDPR-совместимости
 */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 20px;
    background: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

.cookie-consent.is-visible {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent__text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__text a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-consent__text a:hover {
    color: #e8c55b;
}

.cookie-consent__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent__btn--accept {
    background: #d4af37;
    color: #000;
}

.cookie-consent__btn--accept:hover {
    background: #e8c55b;
    transform: translateY(-1px);
}

.cookie-consent__btn--reject {
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
}

.cookie-consent__btn--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .cookie-consent__text {
        min-width: auto;
    }

    .cookie-consent__buttons {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}