/* Estilos para el Banner Flotante */
.floating-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.floating-banner.show {
    display: flex;
}

.banner-content {
    position: relative;
    width: 450px;
    height: 250px;
    /* Background será aplicado dinámicamente por JavaScript */
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    animation: slideIn 0.4s ease-out;
}

.banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.banner-body h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-body p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.banner-cta {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
}

.floating-banner.closing .banner-content {
    animation: slideOut 0.3s ease-in;
}

/* Responsive */
@media (max-width: 480px) {
    .banner-content {
        width: 90%;
        max-width: 400px;
        height: auto;
        min-height: 220px;
        margin: 20px;
        padding: 25px 20px;
    }
    
    .banner-body h3 {
        font-size: 20px;
    }
    
    .banner-body p {
        font-size: 14px;
    }
    
    .banner-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
}
