









.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 0);
    z-index: 1200; 
    width: min(720px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(16, 16, 22, .92);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
    color: #f7f5fb;
    font-family: 'Inter', system-ui, sans-serif;
    


    opacity: 1;
    transition: opacity .28s ease, transform .28s ease;
}


.cookie-bar--hidden {
    opacity: 0;
    transform: translate(-50%, 14px);
}

.cookie-bar__text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: .84rem;
    line-height: 1.5;
    color: #c9c5d6;
}

.cookie-bar__text a {
    color: #c6b5ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-bar__text a:hover {
    color: #fff;
}

.cookie-bar__accept {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6, #6d5bff);
    color: #fff;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}

.cookie-bar__accept:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.cookie-bar__accept:focus-visible {
    outline: 2px solid #c6b5ff;
    outline-offset: 2px;
}






@media (max-width: 980px) {
    .cookie-bar {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
    }

    .cookie-bar__accept {
        width: 100%;
        padding: 12px 22px;
    }
}






@media (max-width: 980px) {
    .cookie-bar--low {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}


@media (prefers-reduced-motion: reduce) {
    .cookie-bar {
        transition: none;
    }
}
