/* --------------------------------------------------------------------------
   Cookie consent banner (js/cookie-consent.js)
   -------------------------------------------------------------------------- */
.cc-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* Above Zendesk web widget launcher (typically ~999999). */
    z-index: 1000001;
    padding: 20px 24px;
    pointer-events: none;
    box-sizing: border-box;
}

/* Soft scrim under the banner so it doesn't melt into the page —
   stronger / taller on mobile where the dark hero sits behind it. */
.cc-cookie-banner::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 240px;
    background: -webkit-linear-gradient(bottom, rgba(12, 10, 32, 0.72) 0%, rgba(12, 10, 32, 0.28) 55%, rgba(12, 10, 32, 0) 100%);
    background: linear-gradient(to top, rgba(12, 10, 32, 0.72) 0%, rgba(12, 10, 32, 0.28) 55%, rgba(12, 10, 32, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.cc-cookie-banner[hidden] {
    display: none !important;
}

.cc-cookie-banner *,
.cc-cookie-banner *::before,
.cc-cookie-banner *::after {
    box-sizing: border-box;
}

.cc-cookie-banner__inner {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    max-width: 720px;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 18px 28px;
    padding: 22px 26px;
    background: rgba(12, 10, 32, 0.96);
    color: #f4f2fb;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow:
        0 4px 10px rgba(12, 10, 40, 0.18),
        0 22px 56px rgba(12, 10, 40, 0.42),
        0 40px 80px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cc-cookie-banner__text {
    margin: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(244, 242, 251, 0.92);
}

.cc-cookie-banner__text a {
    color: #f0abfc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cc-cookie-banner__actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    gap: 10px;
}

.cc-cookie-banner__btn {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    -webkit-transition: background-color .15s ease, color .15s ease, border-color .15s ease, -webkit-transform .15s ease;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.cc-cookie-banner__btn:active {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
}

.cc-cookie-banner__btn--ghost {
    background: transparent;
    color: rgba(244, 242, 251, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.cc-cookie-banner__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.36);
}

.cc-cookie-banner__btn--primary {
    background-image: -webkit-linear-gradient(335deg, #7928ca 0%, #c026d3 45%, #ff0080 100%);
    background-image: linear-gradient(115deg, #7928ca 0%, #c026d3 45%, #ff0080 100%);
    color: #fff;
}

.cc-cookie-banner__btn--primary:hover {
    -webkit-filter: brightness(1.06);
    filter: brightness(1.06);
}

@media screen and (max-width: 640px) {
    /* Sit closer to the bottom; z-index keeps it above the Zendesk launcher. */
    .cc-cookie-banner {
        padding: 12px 12px 16px;
    }

    .cc-cookie-banner::before {
        height: 360px;
        background: -webkit-linear-gradient(bottom, rgba(12, 10, 32, 0.88) 0%, rgba(12, 10, 32, 0.55) 40%, rgba(12, 10, 32, 0.18) 72%, rgba(12, 10, 32, 0) 100%);
        background: linear-gradient(to top, rgba(12, 10, 32, 0.88) 0%, rgba(12, 10, 32, 0.55) 40%, rgba(12, 10, 32, 0.18) 72%, rgba(12, 10, 32, 0) 100%);
    }

    .cc-cookie-banner__inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        padding: 20px;
    }

    .cc-cookie-banner__actions {
        width: 100%;
    }

    .cc-cookie-banner__btn {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 0;
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
        text-align: center;
    }
}

