/* Cookie consent banner — shared marketing + app surfaces */
.cookie-banner {
    position: fixed;
    z-index: 10000;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    pointer-events: none;
}

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

.cookie-banner__inner {
    pointer-events: auto;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: flex-end;
    justify-content: space-between;
    background: #0f0f16;
    color: #f7f8fc;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 15, 22, 0.28);
    animation: cookie-banner-in 0.35s ease-out;
}

@keyframes cookie-banner-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner__copy {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-banner__title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(247, 248, 252, 0.82);
}

.cookie-banner__meta {
    margin: 8px 0 0;
    font-size: 0.8125rem;
}

.cookie-banner__meta a {
    color: #bcc3f6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.cookie-banner__btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-banner__btn--primary {
    background: #585dfe;
    color: #fff;
}

.cookie-banner__btn--primary:hover {
    background: #4549e8;
}

.cookie-banner__btn--primary:focus-visible {
    outline: 2px solid #bcc3f6;
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .cookie-banner {
        padding: 12px;
    }

    .cookie-banner__inner {
        padding: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}
