/* =========================================
   Cookie Notice — Crea Studio
   Banner informativo (no consent, solo trasparenza)
   ========================================= */

.cookie-notice {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 10000;
    max-width: 720px;
    margin: 0 auto;
    background: #0a0a0a;
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-notice.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-notice__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-notice__text {
    flex: 1;
    font-size: clamp(12px, 0.85vw, 13px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.cookie-notice__text strong {
    color: #ffffff;
    font-weight: 600;
}

.cookie-notice__text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.cookie-notice__text a:hover {
    color: #3fa9f5;
}

.cookie-notice__btn {
    font-family: inherit;
    font-size: clamp(11px, 0.75vw, 12px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    background: #ffffff;
    color: #0a0a0a;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cookie-notice__btn:hover {
    background: #3fa9f5;
    color: #ffffff;
}

.cookie-notice__btn:active {
    transform: scale(0.97);
}

@media (max-width: 640px) {
    .cookie-notice {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }

    .cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-notice__btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 20px;
    }
}

@media (max-width: 380px) {
    .cookie-notice {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .cookie-notice__text {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .cookie-notice__btn {
        font-size: 10.5px;
        padding: 10px 16px;
    }
}
