/* 基础过渡动画 */
.transition-all {
    transition: all 0.3s ease;
}

/* 作者信息 hover 效果 */
.share-author:hover .avatar-img {
    transform: scale(1.05);
}
.share-author.hover\:text-primary:hover {
    color: #0d6efd !important;
}

/* 分享按钮美化 */
.custom-share-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}
.custom-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a6edb 0%, #6b4098 100%);
}
.custom-share-btn i {
    font-size: 12px;
}

/* 点赞按钮美化 */
.custom-like-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
    transition: all 0.3s ease;
}
.custom-like-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.5);
    background: linear-gradient(135deg, #ee82e8 0%, #f44366 100%);
}
.custom-like-btn i {
    font-size: 12px;
}
/* 点赞数徽章美化 */
.custom-like-btn .count.badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: normal;
}

/* 已点赞状态样式（配合JS交互） */
.post-like-btn.liked {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}
.post-like-btn.liked i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* 实心爱心 */
}

/* 响应式适配 */
@media (max-width: 576px) {
    .custom-share-btn, .custom-like-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    .share-author .avatar {
        width: 40px;
        height: 40px;
    }
}