No. You are buying it for your personal use.
As long as you are not buying it for him because he could not otherwise be allowed to purchase one, then there is no issue. The store does not need to know it is a gift.
This. And don't tell the numnut behind the counter what you are doing. I've seen and heard plenty of stories about the guys behind the big box gun counter not selling a gun that was going to be gifted because of a misunderstanding of the straw buyer problem. It's legal, just buy it and gift it as intended. If you know what he'd want or what you want to give, I see no reason to buy a gift card.