/* Overlay con fondo blur oscuro */
.aniversario-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(147, 65, 224, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Para Safari */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.aniversario-popup-overlay.show {
    opacity: 1;
}

/* Contenedor del popup */
.aniversario-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popupZoom 0.5s ease-out;
}

@keyframes popupZoom {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Botón de cierre */
.aniversario-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); */
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aniversario-popup-close:hover {
    background: #f44336;
    color: #fff;
    transform: rotate(90deg);
}

/* Contenedor de la imagen */
.aniversario-popup-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagen del popup */
.aniversario-popup-image {
    max-width: 100%;
    max-height: 85vh;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(5px 5px 5px #fff);
    /* box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5); */
}

/* Botón Ver Ofertas Yamaha */
.aniversario-popup-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0066cc, #004999);
    color: #fff !important;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    z-index: 10002;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
}

.aniversario-popup-btn:hover {
    /* background: linear-gradient(135deg, #0052a3, #003875); */
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
    transform: translateX(-50%) translateY(-2px);
    color: #fff !important;
}

/* Canvas de confeti */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .aniversario-popup-content {
        max-width: 95%;
        padding: 10px;
    }

    .aniversario-popup-image {
        max-height: 80vh;
        border-radius: 8px;
    }

    .aniversario-popup-close {
        top: -10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .aniversario-popup-btn {
        bottom: 15px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .aniversario-popup-content {
        max-width: 98%;
    }

    .aniversario-popup-image {
        max-height: 75vh;
    }

    .aniversario-popup-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .aniversario-popup-btn {
        bottom: 10px;
        padding: 10px 20px;
        font-size: 13px;
    }
}
