/* 게시물 좋아요 버튼 공통 스타일 */

.like-btn {
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 4px;
}

.like-btn:hover {
    transform: scale(1.05);
}

.like-btn:active {
    transform: scale(0.95);
}

.like-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* 좋아요 카운트 스타일 */
.like-count {
    font-size: 16px;
    font-weight: 600;
    padding: 0 8px 0 2px;
    color: #8e8e93;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 좋아요 애니메이션 */
.like-btn.liked svg {
    fill: #00aff0;
    stroke: #00aff0;
    filter: drop-shadow(0 0 3px rgba(0, 175, 240, 0.3));
}

.like-btn.unliked svg {
    fill: none;
    stroke: #8e8e93;
}

/* 하트 펄스 효과 */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.like-btn.pulse {
    animation: heartPulse 0.3s ease-in-out;
}

/* 카운트 애니메이션 */
@keyframes countBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.like-count.bounce {
    animation: countBounce 0.3s ease-in-out;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .like-btn {
        padding: 8px;
        margin: 0 2px;
    }
    
    .like-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .like-count {
        font-size: 14px;
        padding: 0 4px 0 2px;
    }
}

/* 다크 테마 지원 */
@media (prefers-color-scheme: dark) {
    .like-count {
        color: #a1a1a6;
    }
    
    .like-btn.unliked svg {
        stroke: #a1a1a6;
    }
}
