/* home.css – Futuristic swipe and click styles */

.card {
  position: relative;
  overflow: hidden;
}

/* 🔷 Swipe overlay */
.swipe-glass {
  position: absolute;
  top: 0;
  right: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(99, 102, 241, 0.2),
    rgba(99, 102, 241, 0.35),
    rgba(0, 212, 255, 0.2)
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  pointer-events: none;
  transition: right 0.5s ease-in-out;
  border-radius: inherit;
  z-index: 2;
}

.swipe-glass.animate {
  right: 0;
}

/*  Click effect */
.click-effect {
  width: 120%;
  height: 100%;
  animation: futuristic-blue-swipe 0.5s forwards;
  z-index: 3;
}

/* 💫 Keyframes for swipe */
@keyframes futuristic-blue-swipe {
  from {
    right: -120%;
  }
  to {
    right: 0;
  }
}
