/* ===================================
   COOKIES BANNER
   =================================== */

.cookies {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 230;
    width: min(1120px, calc(100% - 48px));
    max-width: 100%;
    margin: 0;
    transform: translateX(-50%);
    font-size: 10px;
}

.cookies .cookies-warning-box {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #279BB1 0%, #005284 100%);
    box-shadow: 0 22px 52px rgba(1, 74, 110, 0.24);
    text-align: left;
}

.cookies .cookies-warning-box::after {
    content: '';
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 23px;
    pointer-events: none;
}

.cookies-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 28px 24px 32px;
}

.cookies-copy {
    min-width: 0;
}

.cookies-kicker {
    display: block;
    margin: 0 0 7px;
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6FDAEF;
}

.cookies .cookies-warning-text {
    max-width: 720px;
    margin: 0;
    font-family: 'Exo', sans-serif !important;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
    color: #FFFFFF;
}

.cookies-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-shrink: 0;
}

.cookies-policy-link {
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookies-policy-link:hover {
    color: #6FDAEF;
}

.cookies-accept-btn {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 48px;
    overflow: hidden;
    border: none;
    border-radius: 64px;
    background: linear-gradient(180deg, #F29120 0%, #EC6608 100%);
    font-family: 'ClashDisplay', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: box-shadow 0.4s ease, color 0.4s ease;
}

.cookies-accept-btn span {
    position: relative;
    z-index: 1;
    display: block;
    transition: transform 0.5s var(--ease-animation, cubic-bezier(0.22, 1, 0.36, 1));
}

.cookies-accept-btn::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    transform: translateY(0%);
    transition: transform 0.5s var(--ease-animation, cubic-bezier(0.22, 1, 0.36, 1));
}

.cookies-accept-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 64px;
    background: linear-gradient(180deg, #6FDAEF 0%, #279BB1 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookies-accept-btn:hover {
    color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
}

.cookies-accept-btn:hover span {
    transform: translateY(-250%);
}

.cookies-accept-btn:hover::before {
    transform: translateY(-100%);
}

.cookies-accept-btn:hover::after {
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    .cookies {
        bottom: 18px;
        width: calc(100% - 32px);
    }

    .cookies .cookies-warning-box {
        border-radius: 22px;
    }

    .cookies .cookies-warning-box::after {
        border-radius: 21px;
    }

    .cookies-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 24px 22px;
    }

    .cookies .cookies-warning-text {
        max-width: none;
        font-size: 14px;
        line-height: 21px;
    }

    .cookies-actions {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .cookies-policy-link {
        font-size: 12px;
    }

    .cookies-accept-btn {
        width: 138px;
        height: 44px;
        font-size: 13px;
    }
}

@media only screen and (max-width: 420px) {
    .cookies-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookies-accept-btn {
        width: 100%;
    }
}