Read the following article and answer the question.

Hermione opened her door with a curious look . " Harry , what are you doing here ? " " I came to give you the rest of your birthday gift . " She smiled . " The rest of it ?

Why did Harry put so much thought into the gift for Hermione .
Harry seems to believe that Hermione is a close friend .