Refactored card to use enum for rarity