@keyframes sparkle {
    0% {
        background-position: 
            -100% -100%, 
            200% 200%, 
            0 0, 
            100% 100%;
    }
    100% {
        background-position: 
            100% 100%, 
            -200% -200%, 
            0 0, 
            100% 100%;
    }
}

.glitter-button {
    position: relative;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    
    /* Intense gradient base */
    background: linear-gradient(
        45deg, 
        #2ecc71, 
        #dadada, 
        #ff8c00
    );
    color: white;
    
    /* Multiple layered sparkle effects */
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.8) 0%, transparent 50%, rgba(255,255,255,0.8) 100%),
        radial-gradient(circle at top left, #ff8c00 0%, transparent 50%),
        radial-gradient(circle at bottom right, #2ecc71 0%, transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 100%);
    
    background-size: 200% 200%, 100% 100%, 100% 100%, 200% 200%;
    background-position: 0 0, 0 0, 0 0, 0 0;
    
    /* Sparkle animation */
    animation: 
        sparkle 3s linear infinite,
        pulse 2s infinite alternate;
    
    /* Glittery border */
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 30px;
    
    /* Intense glow */
    box-shadow: 
        0 0 15px rgba(255,0,255,0.7),
        0 0 25px rgba(0,255,255,0.5),
        inset 0 0 10px rgba(255,255,255,0.3);
    
    /* Transition effects */
    transition: 
        padding 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    /* Pseudo-element for extra sparkle */
    overflow: hidden;
}
.glitter-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0.5;
    animation: rotate 5s linear infinite;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}
.glitter-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 25px rgba(255,0,255,0.9),
        0 0 35px rgba(0,255,255,0.7),
        inset 0 0 15px rgba(255,255,255,0.5);
}
.glitter-button:active {
    transform: scale(0.95);
    background: linear-gradient(
        45deg, 
        #ff00ff, 
        #00ffff, 
        #ffff00
    );
}
