/* Animated Banner Pro - Frontend Styles */

.abp-banner-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin: 20px auto;
}

/* Formas del banner */
.abp-shape-rectangular {
    border-radius: 0;
}

.abp-shape-rounded {
    border-radius: 15px;
}

.abp-shape-circular {
    border-radius: 50%;
}

/* Botón de cerrar */
.abp-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.abp-close-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Animaciones */
@keyframes swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.abp-animation-swing {
    animation: swing 3s ease-in-out infinite;
    transform-origin: center top;
}

.abp-animation-vibrate {
    animation: vibrate 0.3s linear infinite;
}

.abp-animation-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.abp-animation-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .abp-banner-wrapper {
        max-width: 100%;
        height: auto;
    }
    
    .abp-banner-wrapper img {
        width: 100%;
        height: auto;
    }
}