/* Demo Button with Waves Effect */
.demo-button-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.demo-button-glow {
  position: relative;
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, #FCBF0D 0%, #FFD700 50%, #FFA500 100%);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 0 30px rgba(252, 191, 13, 0.6),
              0 0 60px rgba(252, 191, 13, 0.4),
              0 0 90px rgba(252, 191, 13, 0.2),
              inset 0 2px 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.demo-button-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
  opacity: 0;
  z-index: 1;
}

.demo-button-glow:hover {
  transform: scale(0.98);
  color: #ffffff !important;
}

.demo-button-glow:hover::before {
  left: 100%;
  opacity: 1;
}

.demo-button-text {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
  transition: none;
}

.demo-button-glow:hover .demo-button-text {
  color: #ffffff !important;
}

.demo-button-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(50% + 5px);
  height: calc(100% + 5px);
  border: 0.5px solid #FCBF0D;
  border-radius: 50px;
  opacity: 0;
  animation: wave-pulse 3s ease-out infinite;
  pointer-events: none;
}

.demo-button-waves:nth-of-type(2) {
  animation-delay: 0.8s;
}

.demo-button-waves:nth-of-type(3) {
  animation-delay: 1.6s;
}

.demo-button-waves:nth-of-type(4) {
  animation-delay: 2.4s;
}

@keyframes wave-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
    border-width: 0.5px;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
    border-width: 0.3px;
  }
}

@media (max-width: 767px) {
  .demo-button-glow {
    padding: 15px 30px;
    font-size: 16px;
  }
}

