/* Styles pour le bouton J'aime - Version créative */
.like-button-container {
    display: inline-block;
    margin: 0 0.5rem;
}

.like-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FE9696 0%, #FF6B6B 100%);

    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.2);
    position: relative;
    overflow: hidden;
}

.like-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.like-button:hover::before {
    opacity: 1;
}

.like-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.like-button:active {
    transform: scale(0.95);
}

.heart-icon {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 3;
    transition: all 0.3s ease;
    animation: heartbeat 0.8s ease-in-out;
}

/* Animation du cœur lors du clic */
.like-button.liked .heart-icon {
    fill: white;
    stroke: white;
    animation: heartbeat 0.8s ease-in-out;

}

.like-count {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Animation de battement de cœur */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.35);
    }
    30% {
        transform: scale(1.2);
    }
    45% {
        transform: scale(1.35);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* État actif du bouton */
.like-button.liked {
    background: linear-gradient(135deg, #FF8E8E 0%, #FF5252 100%);
}

/* Effet de particules lorsqu'on clique sur J'aime (à ajouter via JS plus tard) */
.heart-particles {
    position: absolute;
    pointer-events: none;
}

.like-button-small {
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
}

.like-button-small .heart-icon {
    width: 16px;
    height: 16px;
}