#cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    color: white;
    padding: 15px 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999999;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.9);
    transition: bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

#cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.5px;
    max-width: 70%;
}

.cookie-buttons { display: flex; gap: 10px; }

.cookie-buttons button {
    font-family: 'Oswald', sans-serif;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.btn-rechazar {
    background-color: #333;
    color: white;
}

.cookie-buttons button:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .cookie-text { max-width: 100%; font-size: 0.85rem; }
}
#cookie-banner.banner-index {
    width: 90%;
    max-width: 450px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -200px;
    border-radius: 16px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

#cookie-banner.banner-index.show {
    bottom: 30px;
}

#cookie-banner.banner-index .cookie-text {
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.5;
}

#cookie-banner.banner-index .cookie-buttons {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}
/* --- BOTÓN GALLETA FLOTANTE (Solo para el Index) --- */
#cookie-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 999999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
#cookie-toggle-btn:hover { transform: scale(1.1); }
#cookie-banner.banner-index {
    width: 90%;
    max-width: 320px;
    left: auto;
    right: 20px;
    bottom: 80px;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    border-radius: 12px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
}
#cookie-banner.banner-index.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
#cookie-banner.banner-index .cookie-buttons {
    flex-direction: column;
    margin-top: 15px;
}
#cookie-banner.banner-index .cookie-buttons button {
    width: 100%;
}
