.cookie-consent {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: 1180px;
    margin: 0 auto;
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .28s ease, transform .28s ease;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__inner {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(91, 143, 255, .42);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(8, 22, 50, .97), rgba(25, 20, 59, .96));
    box-shadow: 0 18px 54px rgba(2, 7, 20, .52), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.cookie-consent__copy {
    min-width: 0;
}

.cookie-consent__title {
    margin: 0 0 6px;
    color: #fff;
    font: 800 16px/1.25 Montserrat, Arial, sans-serif;
}

.cookie-consent__text {
    max-width: 760px;
    margin: 0;
    color: rgba(235, 241, 255, .78);
    font: 400 13px/1.55 Inter, Arial, sans-serif;
}

.cookie-consent__text a {
    color: #79a4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
}

.cookie-consent__button {
    min-width: 126px;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    font: 700 13px/1 Montserrat, Arial, sans-serif;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
}

.cookie-consent__button:focus-visible {
    outline: 3px solid rgba(121, 164, 255, .42);
    outline-offset: 3px;
}

.cookie-consent__button--reject {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .86);
}

.cookie-consent__button--reject:hover {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .11);
}

.cookie-consent__button--accept {
    background: linear-gradient(120deg, #3478ef, #5b8fff 62%, #75d99d 135%);
    box-shadow: 0 10px 24px rgba(52, 120, 239, .28);
    color: #fff;
}

.cookie-consent__button--accept:hover {
    box-shadow: 0 13px 28px rgba(52, 120, 239, .4);
}

@media (max-width: 700px) {
    .cookie-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .cookie-consent__inner {
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        border-radius: 18px;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent__button {
        min-width: 0;
        width: 100%;
    }
}

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