/* Estilos para los botones de compartir flotantes */
.share-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.share-buttons.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.main-share-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #ff5722;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.main-share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.main-share-button.active {
    background-color: #e64a19;
    transform: rotate(45deg);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.telegram {
    background-color: #0088cc;
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-buttons:not(.hidden) .share-button:nth-child(1) {
    animation: slideIn 0.3s ease forwards;
}

.share-buttons:not(.hidden) .share-button:nth-child(2) {
    animation: slideIn 0.3s 0.1s ease forwards;
    animation-fill-mode: both;
}

.share-buttons:not(.hidden) .share-button:nth-child(3) {
    animation: slideIn 0.3s 0.2s ease forwards;
    animation-fill-mode: both;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .share-container {
        bottom: 90px;
        right: 15px;
    }
    
    .share-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .main-share-button {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .share-container {
        bottom: 90px;
        right: 10px;
    }
    
    .share-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .main-share-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
