.like-button, .share-button, .share-x-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    padding: 0 18px;
    height: 42px;
    min-width: 120px;
    font-size: 15px;
    font-weight: 500;
    margin-left: 10px;
    background: #4267B2;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(66,103,178,0.08);
    text-decoration: none;
    letter-spacing: 0.1px;
    outline: none;
    position: relative;
}
.like-button { background: #1877f2; }
.like-button.liked { background: #42a5f5; }
.share-x-button {
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.like-button i, .share-button i, .share-x-button i {
    margin-right: 8px;
    font-size: 20px;
    display: flex;
    align-items: center;
}
.like-count {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #fff;
    color: #1877f2;
    border-radius: 50%;
    font-size: 12px;
    padding: 2px 5px;
    min-width: 18px;
    text-align: center;
    border: 1px solid #eee;
    font-weight: bold;
}
@media (max-width: 600px) {
    .like-button, .share-button, .share-x-button {
        min-width: 80px;
        font-size: 13px;
        height: 34px;
        padding: 0 8px;
    }
    .like-button i, .share-button i, .share-x-button i {
        font-size: 15px;
        margin-right: 5px;
    }
    .share-text, .share-x-text {
        font-size: 12px;
    }
    .like-count {
        font-size: 10px;
        min-width: 14px;
        padding: 1px 3px;
        bottom: -6px;
        right: -6px;
    }
}
@media (max-width: 400px) {
    .like-button, .share-button, .share-x-button {
        min-width: 38px;
        padding: 0;
        justify-content: center;
    }
}

.like-button:hover, .share-button:hover, .like-x-button:hover, .share-x-button:hover {
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08);
    box-shadow: 0 4px 16px rgba(66,103,178,0.18);
    text-decoration: none;
    color: #fff;
}
.share-x-button:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.share-text, .share-x-text {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.like-message {
    color: #4caf50;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

@keyframes thumbsUp {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.4) rotate(5deg);
    }
    75% {
        transform: scale(1.2) rotate(-5deg);
    }
    100% {
        transform: scale(1.2) rotate(0deg);
    }
}

/* Share Button */
.share-button i {
    margin-right: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.share-button:hover i {
    transform: scale(1.1);
}

.share-text {
    font-weight: 500;
}

.share-button:hover .facebook-icon {
    animation: facebookPulse 0.3s ease-in-out;
}

@keyframes facebookPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Nút Like X */
.like-x-button i {
    margin-right: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.like-x-button.liked i {
    animation: xLike 0.6s ease-in-out;
    color: #000;
}
@keyframes xLike {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(-10deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* Nút Share X */
.share-x-button i {
    margin-right: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.share-x-button:hover .x-icon {
    animation: xShare 0.3s ease-in-out;
}
@keyframes xShare {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}
.share-x-text {
    font-weight: 500;
}
.like-x-text {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .like-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .like-button i {
        font-size: 14px;
    }
    
    .like-count {
        font-size: 12px;
    }
    
    .share-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .share-button i {
        font-size: 14px;
    }
    .like-x-button, .share-x-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .like-x-button .x-icon, .share-x-button .x-icon {
        font-size: 14px;
    }
} 

.pr-social {
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 600px) {
    .pr-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
}