/* ========================================
   Game Likes - 좋아요 버튼 스타일
   ======================================== */

/* ========================================
   Game Page: Header Like Button
   (ranking-btn과 동일 패턴, 핑크 색상)
   ======================================== */
.like-btn {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    color: #ff6b9d;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.like-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 107, 157, 0.3);
}

.like-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.like-btn.liked {
    background: rgba(255, 107, 157, 0.25);
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.like-btn.liked svg {
    fill: #ff6b9d;
}

/* 좋아요 클릭 bounce 애니메이션 */
.like-btn.like-bounce svg {
    animation: likeBounce 0.4s ease;
}

@keyframes likeBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* 게임 페이지 좋아요 카운트 배지 */
.like-btn .like-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff6b9d;
    color: #fff;
    font-size: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

/* ========================================
   Portal Page: Card Like Button
   ======================================== */
.card-like-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.25);
    color: #ff6b9d;
    border-radius: 20px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.card-like-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
    transform: scale(1.08);
}

.card-like-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.card-like-btn.liked {
    background: rgba(255, 107, 157, 0.25);
    border-color: #ff6b9d;
}

.card-like-btn.liked svg {
    fill: #ff6b9d;
}

.card-like-btn .card-like-count {
    min-width: 8px;
    text-align: center;
}

/* 카드 좋아요 bounce */
.card-like-btn.like-bounce svg {
    animation: likeBounce 0.4s ease;
}

/* ========================================
   Mobile
   ======================================== */
@media (max-width: 600px) {
    .card-like-btn {
        padding: 3px 8px;
        font-size: 11px;
    }

    .card-like-btn svg {
        width: 12px;
        height: 12px;
    }
}
