@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700;900&display=swap');

* {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.category-card {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.3);
}

.item-card {
  animation: pulse 2s ease-in-out infinite;
}

.item-card:hover {
  animation: none;
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.4);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.95;
  }
}

.item-card.deleting {
  animation: deleteAnimation 0.6s ease-out forwards;
}

@keyframes deleteAnimation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  25% {
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(0.9) rotate(5deg);
    opacity: 0.5;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.delete-btn {
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.delete-btn:hover {
  box-shadow: 0 6px 12px rgba(220, 38, 38, 0.5);
  transform: scale(1.05);
}

.animate-bounce {
  animation: bounce 1s ease-in-out 3;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-20px);
  }
}