.card {
  width: 140px;
  height: 200px;
  border: 2px solid;
  border-radius: 12px;
  background: linear-gradient(180deg, #111827, #1f2933);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.05);
}

/* Rarezas */
.rarity-common { }
.rarity-rare { box-shadow: 0 0 6px #3b82f6; }
.rarity-epic { box-shadow: 0 0 10px #8b5cf6; }
.rarity-legendary {
  box-shadow: 0 0 14px gold;
}

/* Header */
.card-header {
  text-align: right;
  font-size: 12px;
}

/* Icono central */
.card-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* Footer */
.card-footer h3 {
  font-size: 14px;
  margin: 0;
}

.card-footer small {
  opacity: 0.7;
}
