/* ==========================================================================
   9. BANNER DE COOKIES PREMIUM
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 850px;
    background-color: rgba(18, 20, 24, 0.9); /* Fondo a juego con las tarjetas */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2); /* Sutil borde dorado */
    border-radius: 4px;
    padding: 1.8rem 2.5rem;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clase para ocultar el banner con suavidad */
.cookie-banner.hidden {
    opacity: 0;
    transform: translate(-50%, 30px);
    pointer-events: none;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cookie-text h4 {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--text-light);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--gold);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

/* Botones del Banner */
.btn-cookie-primary, .btn-cookie-secondary {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
    border: none;
}

.btn-cookie-primary:hover {
    background-color: var(--gold-light);
}

.btn-cookie-secondary {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cookie-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

/* Adaptabilidad para móviles */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 20px;
        padding: 1.5rem;
    }
    .cookie-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    .btn-cookie-primary, .btn-cookie-secondary {
        flex: 1;
        text-align: center;
    }
}