/**
 * Cookie Banner Styles
 *
 * Lightweight, minimal cookie consent banner matching the site's dark aesthetic.
 * Positioned fixed at bottom, mobile responsive with fade animations.
 */

.mecena-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(4px);
    z-index: 9999;
    padding: 20px 0;
    animation: mecena-cookie-fade-in 0.4s ease-in-out;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mecena-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mecena-cookie-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.mecena-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mecena-cookie-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.mecena-cookie-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.mecena-cookie-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    font-size: 13px;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
}

.mecena-cookie-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 1);
}

.mecena-cookie-button:active {
    transform: scale(0.98);
}

/**
 * Animations
 */
@keyframes mecena-cookie-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mecena-cookie-fade-out {
    animation: mecena-cookie-fade-out 0.4s ease-in-out forwards;
}

@keyframes mecena-cookie-fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/**
 * Mobile Responsive (< 768px)
 */
@media (max-width: 767px) {
    .mecena-cookie-banner {
        padding: 16px 0;
    }

    .mecena-cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .mecena-cookie-text {
        font-size: 13px;
    }

    .mecena-cookie-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .mecena-cookie-link {
        font-size: 12px;
    }

    .mecena-cookie-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/**
 * Tablet (768px - 1024px)
 */
@media (max-width: 1024px) {
    .mecena-cookie-content {
        padding: 0 16px;
    }

    .mecena-cookie-text {
        font-size: 13px;
    }
}
