:root {
    --cb-bg: rgba(28, 28, 30, 0.8);
    --cb-accent: #00b4d8;
    --cb-accent-hover: #0096c7;
    --cb-text: #ffffff;
    --cb-text-muted: #d1d1d6;
}

.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    /* Preparado para animación */
    background-color: var(--cb-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    max-width: 550px;
    width: calc(100% - 2rem);
    display: none;
    /* Se activa con JS */
    opacity: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clase para mostrarlo con animación */
.cookie-banner.is-visible {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    text-align: center;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--cb-text-muted);
}

.cookie-banner a {
    color: var(--cb-accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.cookie-banner a:hover {
    border-color: var(--cb-accent);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.cookie-banner button {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-accept {
    background-color: var(--cb-accent);
    color: white;
}

.btn-accept:hover {
    background-color: var(--cb-accent-hover);
    transform: translateY(-1px);
}

.btn-settings {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cb-text);
}

.btn-settings:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile */
@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }

    .btn-settings {
        order: 2;
        /* El de ajustes abajo en móvil */
    }
}