/* Modernized badge styles */
/* Adjusted badge for top-right and smaller size for card compatibility */
.badge-modern {
  position: absolute;
  top: 4.2px;
  right: 5.6px;
  z-index: 2;
  min-width: 50.4px;
  max-width: 84px;
  padding: 0.175em 0.56em 0.175em 0.49em;
  border-radius: 0.84em;
  font-size: 0.644rem;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1.4px 5.6px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  gap: 0.28em;
  background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  pointer-events: auto;
  user-select: none;
  border: none;
}
.badge-modern span {
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.badge-modern i {
  font-size: 1em;
  vertical-align: middle;
}
/* Specific badge types */
.badge-modern-new {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 2px 12px rgba(67,233,123,0.13);
  animation: badge-pulse 1.2s infinite alternate;
}
.badge-modern-recent {
  background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
  box-shadow: 0 2px 12px rgba(54,209,196,0.13);
}
.badge-modern-coming {
  background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
  color: #333;
  box-shadow: 0 2px 12px rgba(255,179,71,0.13);
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(67,233,123,0.25); }
  100% { box-shadow: 0 0 0 8px rgba(67,233,123,0.05); }
}
/* Responsive badge */
@media (max-width: 600px) {
  .badge-modern {
    font-size: 0.546rem;
    min-width: 39.2px;
    max-width: 63px;
    padding: 0.126em 0.35em 0.126em 0.28em;
    top: 2.8px;
    right: 3.5px;
  }
}
/* Ensure parent is positioned for absolute badge */
.card, .feature-card {
  position: relative;
}
