.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 3000;
    max-width: 780px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(10, 8, 22, 0.93);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    color: #f1f1f1;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-consent__text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(245, 245, 245, 0.92);
}

.cookie-consent__text a {
    color: #d4af37;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: transparent;
    color: #f6f6f6;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.cookie-btn--primary {
    border-color: rgba(212, 175, 55, 0.55);
    background: linear-gradient(120deg, rgba(197, 165, 114, 0.9), rgba(212, 175, 55, 0.98));
    color: #171717;
}

.cookie-btn--primary:hover {
    filter: brightness(1.04);
}

.cookie-consent__prefs {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
}

.cookie-consent__prefs.is-open {
    display: block;
}

.cookie-consent__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.cookie-consent__toggle label {
    font-size: 0.88rem;
}

.cookie-consent__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: #171717;
    background: rgba(212, 175, 55, 0.95);
}


@media (max-width: 760px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px;
        border-radius: 14px;
    }

    .cookie-consent__row {
        flex-direction: column;
        align-items: flex-start;
    }
}
