/* =============================================================================
   Cookie Banner GDPR — Axiscreativa
   Stile tech-glass coerente col resto del sito.
   ============================================================================= */

.axis-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1.25rem 1rem;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 217, 255, 0.15), 0 -4px 16px rgba(0, 0, 0, 0.6);
    color: #E2E8F0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.axis-cookie-banner.show {
    transform: translateY(0);
}

.axis-cookie-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .axis-cookie-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.axis-cookie-banner__text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #CBD5E1;
}

.axis-cookie-banner__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #00D9FF;
    margin-bottom: 0.5rem;
}

.axis-cookie-banner__title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 12px #10B981;
    animation: axis-cookie-pulse 2s infinite;
}

@keyframes axis-cookie-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.axis-cookie-banner__text a {
    color: #00D9FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.axis-cookie-banner__text a:hover {
    color: #38BDF8;
}

.axis-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.axis-cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.axis-cookie-btn--primary {
    background: linear-gradient(135deg, #00D9FF 0%, #8B5CF6 100%);
    color: #0F172A;
    border-color: rgba(0, 217, 255, 0.5);
}

.axis-cookie-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.axis-cookie-btn--secondary {
    background: transparent;
    color: #CBD5E1;
    border-color: rgba(255, 255, 255, 0.2);
}

.axis-cookie-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .axis-cookie-banner,
    .axis-cookie-btn {
        transition: none;
    }
    .axis-cookie-banner__title::before {
        animation: none;
    }
}
