:root {
    --cookie-accent: #8280ff;
    --cookie-bg: rgba(10, 10, 12, 0);
    --cookie-card: rgba(20, 20, 26, 0.95);
    --cookie-text: rgba(255, 255, 255, 0.88);
    --cookie-muted: rgba(255, 255, 255, 0.65);
    --cookie-border: rgba(255, 255, 255, 0.10);
    --cookie-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    padding: 16px;
    display: none;
    /* shown via JS */
    z-index: 9999;
    background: var(--cookie-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-consent.is-visible {
    display: block;
    animation: cookieSlideUp 260ms ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(18px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent__card {
    max-width: 980px;
    margin: 0 auto;
    background: var(--cookie-card);
    border: 1px solid var(--cookie-border);
    box-shadow: var(--cookie-shadow);
    border-radius: 16px;
    padding: 16px 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent__content {
    min-width: 0;
}

.cookie-consent__title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
}

.cookie-consent__text {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--cookie-text);
}

.cookie-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.cookie-consent__links a {
    font-size: 13px;
    color: var(--cookie-muted);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    padding-bottom: 2px;
}

.cookie-consent__links a:hover {
    color: #fff;
    border-bottom-color: rgba(130, 128, 255, 0.65);
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    appearance: none;
    border: 1px solid var(--cookie-border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
    color: #fff;
    background: transparent;
}

.cookie-btn:active {
    transform: translateY(1px);
}

.cookie-btn--primary {
    border-color: rgba(130, 128, 255, 0.55);
    background: linear-gradient(135deg, rgba(130, 128, 255, 0.95), rgba(130, 128, 255, 0.55));
}

.cookie-btn--primary:hover {
    border-color: rgba(130, 128, 255, 0.8);
    opacity: 0.98;
}

.cookie-btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

/* Mobile */
@media (max-width: 720px) {
    .cookie-consent__card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}