/* Glow Animation */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 15px #a855f7, 0 0 30px #9333ea;
  }
  50% {
    box-shadow: 0 0 25px #c084fc, 0 0 50px #c084fc;
  }
}
.card-glow:hover {
  animation: neonPulse 1.5s infinite alternate;
  border-color: #c084fc !important;
}

/* Button Glow */
.btn-neon {
  background: linear-gradient(to right, #9333ea, #2563eb);
  box-shadow: 0 0 15px #9333ea, 0 0 25px #2563eb;
  transition: all 0.3s ease;
}
.btn-neon:hover {
  animation: neonPulse 1.5s infinite alternate;
  background: linear-gradient(to right, #a855f7, #3b82f6);
}

/* Search Glow */
.search-neon:focus {
  outline: none;
  box-shadow: 0 0 15px #9333ea, 0 0 30px #2563eb;
  border: 1px solid #9333ea;
}

/* Icon Glow */
.icon-neon {
  transition: all 0.3s ease;
}
.icon-neon:hover {
  color: #a855f7;
  text-shadow: 0 0 10px #9333ea, 0 0 20px #2563eb;
}

/* Background Grid Animation */
body {
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(90deg, rgba(168,85,247,0.1) 1px, transparent 1px),
    linear-gradient(rgba(37,99,235,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes moveGrid {
  from { transform: translate(0, 0); }
  to { transform: translate(-50px, -50px); }
}

/* Particle Canvas */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Konten di atas background */
header, main, footer, #cardModal, .bg-[#1a1446] {
  position: relative;
  z-index: 10;
}

/* Fade In Modal */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}
.price {
  color: #39ff14; /* hijau neon */
}
/* Neon Green Text Glow */
.text-neon-green {
  color: #39ff14; /* hijau neon */
  text-shadow: 
    0 0 5px #39ff14,
    0 0 10px #39ff14,
    0 0 20px #39ff14,
    0 0 40px #39ff14;
}

