/* Favorite Icon next to H1 */
.favorite-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    background: transparent;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.favorite-icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.favorite-icon-btn:hover::before {
    width: 100px;
    height: 100px;
}

.favorite-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Active state */
.favorite-icon-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.favorite-icon-btn.active:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.favorite-icon-btn.active::before {
    background: rgba(255, 255, 255, 0.1);
}

.favorite-icon-btn.active i {
    animation: heartbeat 0.6s ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.4); }
    50% { transform: scale(1.2); }
}

/* Not logged in state */
.favorite-icon-btn.not-logged-in {
    border-color: #64748b;
    color: #64748b;
}

.favorite-icon-btn.not-logged-in:hover {
    border-color: #94a3b8;
    color: #94a3b8;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .favorite-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

