.glowing-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.glowing-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.glowing-button:hover::before {
    opacity: 1;
    animation: glow-effect 1.5s infinite;
}

.glowing-button:hover {
    box-shadow: 0 0 20px rgba(76, 175, 255, 0.7), 0 0 40px rgba(76, 175, 255, 0.5);
}

@keyframes glow-effect {
    0% { transform: rotate(45deg) scale(0.8); opacity: 0; }
    50% { transform: rotate(45deg) scale(1.1); opacity: 0.8; }
    100% { transform: rotate(45deg) scale(0.8); opacity: 0; }
}

/* Enhanced Gradient Colors for the Button */
.btn-primary-glow {
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%); /* Deeper purple to a vibrant blue */
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary-glow:hover {
    background-image: linear-gradient(to right, #2575fc 0%, #6a11cb 100%); /* Reverse gradient on hover for a subtle change */
    box-shadow: 0 0 25px rgba(37, 117, 252, 0.7), 0 0 50px rgba(106, 17, 203, 0.5); /* Enhanced glow effect */
}

.btn-primary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 9999px; /* Matches rounded-full */
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.0) 100%); /* Subtle overlay for shimmer */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary-glow:hover::after {
    opacity: 1;
} 