/* Exceptional Card Styling - Bottom Label with Hover Shadow */

.card.exceptional {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

/* Add extra padding to meta for exceptional cards to prevent badge overlap */
.card.exceptional .meta {
  padding-bottom: 28px;
}

/* Remove all golden overlays and borders */
.card.exceptional::before {
  display: none;
}

/* Golden blurred shadow on hover */
.card.exceptional:hover {
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4),
              0 4px 16px rgba(255, 165, 0, 0.3),
              0 2px 8px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

/* Exceptional badge moved to bottom */
.card.exceptional .exceptional-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  white-space: nowrap;
}

/* Enhanced badge on card hover */
.card.exceptional:hover .exceptional-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFCC00 50%, #FFA500 100%);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.6),
              0 2px 8px rgba(255, 165, 0, 0.4);
  transform: translateX(-50%) scale(1.05);
}

/* Smooth transitions */
.card.exceptional .exceptional-badge {
  transition: all 0.3s ease;
}

/* Highlight exceptional XP cost */
.card.exceptional .stats span:first-child {
  color: #FFD700;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card.exceptional,
  .card.exceptional .exceptional-badge {
    transition: none;
  }
  
  .card.exceptional:hover {
    transform: none;
  }
  
  .card.exceptional:hover .exceptional-badge {
    transform: translateX(-50%);
  }
}