.cookie-notification {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 2000;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 24px));
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 22px 24px;
    border: 1px solid rgba(199, 29, 29, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(159, 38, 38, 0.16), rgba(8, 0, 19, 0.97)),
        #080013;
    color: #dedee0;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 30px rgba(159, 38, 38, 0.22);
    backdrop-filter: blur(12px);
    animation: cookie-notification-slide-up 0.35s ease-out;
}

.cookie-notification_hidden_yes {
    display: none;
}

.cookie-notification__header {
    color: aliceblue;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.cookie-notification__body {
    color: #c5c5c5;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-notification__body p {
    margin: 0 0 10px;
}

.cookie-notification__body p:last-child {
    margin-bottom: 0;
}

.cookie-notification__body a {
    color: #ff6868;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notification__body a:hover,
.cookie-notification__body a:focus-visible {
    color: #ffffff;
}

.cookie-notification__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-notification__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid #c71d1d;
    border-radius: 999px;
    background: linear-gradient(180deg, #d33131, #9f2626);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(159, 38, 38, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cookie-notification__button:hover,
.cookie-notification__button:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #e24a4a, #b74343);
    box-shadow: 0 16px 34px rgba(183, 67, 67, 0.38);
}

.cookie-notification__button:active {
    transform: translateY(0);
}

@keyframes cookie-notification-slide-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-notification {
        animation: none;
    }

    .cookie-notification__button {
        transition: none;
    }
}

@media only all and (max-width: 700px) {
    .cookie-notification {
        bottom: 10px;
        width: calc(100% - 12px);
        padding: 18px 16px;
        border-radius: 15px;
    }

    .cookie-notification__header {
        font-size: 19px;
    }

    .cookie-notification__body {
        font-size: 14px;
    }

    .cookie-notification__button {
        width: 100%;
    }
}