+
+
{card.name}
-
+
${card.market_price}
+
+ {/* TCG-Specific Info */}
+ {card.game === 'MTG' && (
+
+ {card.mana_cost && (
+
+ Cost:
+
+ {card.mana_cost}
+
+
+ )}
+ {card.power && card.toughness && (
+
+ P/T:
+
+ {card.power}/{card.toughness}
+
+
+ )}
+
+ )}
-
-
{card.set_name}
-
{card.rarity} • {card.card_type}
-
+ {card.game === 'Pokemon' && card.power && (
+
+
+ HP:
+
+ {card.power}
+
+
+
+ )}
- {/* Game Badge */}
-
-
+ {card.game === 'Lorcana' && card.cmc && (
+
+
+ Cost:
+
+ {card.cmc}
+
+
+ {card.power && card.toughness && (
+
+ Str/Will:
+
+ {card.power}/{card.toughness}
+
+
+ )}
+
+ )}
+
+
+
{card.game}
+ {card.set_name}
- {/* Bottom Section - Actions */}
-
- {/* Primary Actions */}
-
-
+ {/* Panel Body */}
+
+
+ {/* Card Details */}
+
+
+
+
Rarity
+
{card.rarity}
+
+
+
Type
+
{card.card_type}
+
+
-
+ {/* Oracle Text */}
+ {card.oracle_text && (
+
+
Description
+
+ {card.oracle_text}
+
+
+ )}
+
+ {/* Colors for MTG */}
+ {card.game === 'MTG' && card.colors && card.colors.length > 0 && (
+
+
Colors
+
+ {card.colors.map((color, index) => (
+
+ {color}
+
+ ))}
+
+
+ )}
+
+
- {/* Secondary Actions */}
-
-
+ {/* Panel Footer - Actions */}
+
+
+ {/* Primary Actions */}
+
+
-
+
+
-
+ {/* Secondary Actions */}
+
+
+
+
+
+
+
+
+
diff --git a/pages/cards.js b/pages/cards.js
index 344ebab..8f39d26 100644
--- a/pages/cards.js
+++ b/pages/cards.js
@@ -699,7 +699,7 @@ export default function Cards() {
) : (
<>
-