/* Electric Button Styles */
.electric-btn {
  position: relative;
  padding: 18px 45px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(45deg, #0f0c29, #302b63, #24243e);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 
    0 10px 30px rgba(59, 43, 255, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: 1;
  margin: 51px;
  display: inline-block;
}

.btn-text {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #ff00cc, #3333ff, #00ccff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* Electric border pulse */
.electric-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    #ff00cc, #3333ff, #00ccff, #ff00cc);
  background-size: 400%;
  border-radius: 14px;
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: electricPulse 4s linear infinite;
}

/* Electric sparks */
.electric-spark {
  position: absolute;
  width: 3px;
  height: 20px;
  background: linear-gradient(to top, 
    rgba(255,255,255,0), 
    #00ccff, 
    rgba(255,255,255,0));
  filter: blur(1px);
  bottom: 0;
  z-index: 2;
  animation: electricSpark 0.6s forwards;
  opacity: 0;
}

/* Hover effects */
.electric-btn:hover {
  transform: scale(1.05);
  box-shadow: 
    0 15px 40px rgba(59, 43, 255, 0.6),
    0 0 0 3px rgba(255, 255, 255, 0.2);
}

.electric-btn:hover .btn-text {
  text-shadow: 0 0 15px rgba(0, 204, 255, 0.7);
}

.electric-btn:hover::after {
  opacity: 0.8;
}

/* Animations */
@keyframes electricPulse {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

@keyframes electricSpark {
  0% { 
    transform: translateY(0) rotate(10deg); 
    opacity: 1;
  }
  100% { 
    transform: translateY(-100px) rotate(10deg); 
    opacity: 0;
  }
}