@keyframes spin-berry {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(calc(360deg * var(--spin-count, 1)));
  }
}

.berry-spin:hover {
  animation: spin-berry 0.6s ease-in-out;
}

.app-card:hover .card-features {
  opacity: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.app-card {
  animation: float 3s ease-in-out infinite;
}

.app-card:nth-child(odd) {
  animation-delay: 0.3s;
}

.app-card:nth-child(even) {
  animation-delay: 0.6s;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #FF1493, #9333EA);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #E01080, #7C2DC7);
}