/* Cookie popup */
.cookie-popup {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 8, 18, 0.72);
    backdrop-filter: blur(7px);
}
.cookie-popup.show {
    display: flex;
}
.cookie-popup-open {
    overflow: hidden;
}
.cookie-popup__box {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    background: linear-gradient(145deg, rgba(4, 20, 39, 0.98), rgba(9, 34, 63, 0.97));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    outline: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 22px;
    transform: translateY(10px) scale(0.985);
    opacity: 0;
    transition: 0.22s ease;
}
.cookie-popup.show .cookie-popup__box {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.cookie-popup__visual {
    position: relative;
    min-height: 178px;
    border-radius: 15px;
    background-image: url('../images/cookie-popup.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    overflow: hidden;
}
.cookie-popup__content {
    align-self: center;
}
.cookie-popup__eyebrow {
    margin: 0 0 8px 0;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.72;
}
.cookie-popup__box h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.2;
}
.cookie-popup__box p {
    margin: 0 0 14px 0;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.92;
}
.cookie-popup__note {
    font-size: 13px !important;
    opacity: 0.72 !important;
}
.cookie-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 6px;
}
.cookie-popup__button {
    appearance: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cookie-popup__button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.cookie-popup__button--accept {
    border: 1px solid rgba(255, 255, 255, 0.88);
    background: #ffffff;
    color: #071529;
}
.cookie-popup__button--decline {
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
.cookie-video-blocked img {
    filter: grayscale(1) brightness(0.48);
}
.cookie-video-badge {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    padding: 7px 8px;
    border-radius: 8px;
    background: rgba(2, 10, 22, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    pointer-events: none;
}
.cookie-video-notice {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px;
    text-align: center;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(12, 38, 70, 0.94), rgba(2, 10, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.cookie-video-notice__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    font-size: 25px;
    line-height: 1;
}
.cookie-video-notice h3 {
    margin: 0;
    font-size: 23px;
}
.cookie-video-notice p {
    max-width: 520px;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.88;
}
.cookie-video-notice__button {
    appearance: none;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: #ffffff;
    color: #071529;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
@media only screen and (max-width: 700px) {
    .cookie-popup__box {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .cookie-popup__visual {
        min-height: 132px;
    }
    .cookie-popup__actions {
        justify-content: stretch;
    }
    .cookie-popup__button {
        flex: 1 1 100%;
    }
}
