@keyframes rotate-gradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-border-gradient {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.animate-border-gradient::before {
  content: '';
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, #22c55e, #3b82f6, transparent 70%);
  animation: rotate-gradient 3s linear infinite;
}


.animate-border-gradient::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 3px; 
  top: 3px;
  right: 3px;
  bottom: 3px;
  background: #1f2937; 
  border-radius: 9999px;
}