.card {
  border-radius: 12px;
  padding: 12px;
  background-color: var(--color-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popular {
  border: 2px solid var(--color-primary);
}

.bestValue {
  border: 2px solid var(--color-gold, #FFD700);
}

.badge {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.popularBadge {
  background-color: var(--color-primary);
}

.bestValueBadge {
  background-color: var(--color-gold, #FFD700);
  color: #333;
}

.title {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: bold;
}

.tokenInfo {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.tokenIcon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.tokenCount {
  display: flex;
  align-items: center;
  gap: 4px;
}

.baseTokens {
  font-size: 18px;
  font-weight: bold;
}

.bonusTokens {
  color: var(--color-success, #4CAF50);
  font-weight: bold;
}

.stickersCount {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.description {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--color-text);
  opacity: 0.8;
}

.priceSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: bold;
}

.buyButton {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}


.card.compact {
  padding: 8px;
  width: 150px; /* Adjust as needed */
  height: 250px; /* Adjust as needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align items to the top */
}

.card.compact .title {
  font-size: 14px;
  margin-bottom: 4px;
  text-align: center; /* Center the title */
}

.card.compact .tokenInfo {
  margin-bottom: 4px;
  justify-content: center; /* Center the token info */
  flex-direction: column;
  align-items: center;
}

.card.compact .tokenIcon {
  width: 20px;
  height: 20px;
  margin-right: 0;
}

.card.compact .tokenCount {
  flex-direction: column; /* Stack tokens and bonus tokens */
  align-items: center; /* Center the items */
}

.card.compact .baseTokens {
  font-size: 16px;
}

.card.compact .bonusTokens {
  font-size: 12px;
}

.card.compact .stickersCount {
  font-size: 12px;
  margin-bottom: 8px;
  text-align: center; /* Center the stickers count */
}

.card.compact .description {
  font-size: 12px;
  margin-bottom: 8px;
  text-align: center; /* Center the description */
}

.card.compact .priceSection {
  flex-direction: column;
  align-items: center; /* Center the price section */
  margin-top: auto; /* Push price section to the bottom */
}

.card.compact .price {
  font-size: 14px;
  margin-bottom: 4px;
  text-align: center; /* Center the price */
}

.card.compact .buyButton {
  padding: 6px 12px;
  font-size: 12px;
  width: 100%; /* Make the button full width */
}
