/* =========================================
   COOKIES.CSS - DISEÑO ARTIC TECH + AEPD
   ========================================= */

/* Animación de entrada */
@keyframes cookieFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px); /* Aparece desde un poco más abajo */
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 950px;
    background: rgba(3, 7, 18, 0.98); /* Negro profundo de la marca */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 30px;
    z-index: 10000;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
    
    /* Aplicación de la animación */
    animation: cookieFadeIn 0.6s ease-out forwards;
}

.cookie-banner[style*="display: block"] {
    display: block !important;
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-title {
    display: block;
    color: #00b4d8;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.cookie-text p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Botones */
.btn-cookie {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.btn-cookie-primary {
    background: #00b4d8;
    color: #ffffff;
    border: none;
}

.btn-cookie-primary:hover {
    background: #00d4ff;
    transform: translateY(-2px);
}

.btn-cookie-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 850px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
}