.coin-category-section {
  margin: 40px auto;
  padding: 20px;
  width: 95%;
  background: linear-gradient(135deg, #000, #1a0d00);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.coin-category-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #FFD700;
  text-transform: uppercase;
}

/* ✅ Responsive Grid */
.coin-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Coin Card */
.coin-category-card {
  background: #111;
  border: 1px solid gold;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 180px;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* content + button */
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
}

.coin-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(255,215,0,0.7);
}

/* Image */
.coin-category-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Title */
.coin-category-card h4 {
  font-size: 1rem;
  font-weight: bold;
  margin: 5px 0;
  color: #FFD700;
}

/* Description */
.coin-category-card .desc {
  font-size: 0.85rem;
  color: #ccc;
  margin: 5px 0;
}

/* Current Bid */
.coin-category-card .bid {
  font-size: 0.9rem;
  font-weight: bold;
  color: #00ff99;
  margin: 6px 0 10px;
}

/* Bid Now Button */
.bid-now-btn {
  background: #2357f5;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.bid-now-btn:hover {
  background: #003ed1;
}

/* Empty Box */
.coin-category-card.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 1.5rem;
}

/* Animate Current Bid */
.coin-category-card .bid {
  font-size: 0.9rem;
  font-weight: bold;
  color: #00ff99;
  margin: 6px 0 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { color: #00ff99; }
  50% { color: #00ffaa; text-shadow: 0 0 8px #00ff99; }
  100% { color: #00ff99; }
}
