.btn-glow {
    padding: 15px 40px;
    border: none;
    outline: none;
    color: #fff;
    /* background: linear-gradient(
        45deg, 
        #ff0000, #ff7300, #ffeb00, #00ff00, 
        #00ffff, #002bff, #ff00c8, #ff0000
    ); */
    cursor: pointer;
    position: relative;
    /* background-color: transparent; */
    z-index: 0;
    border-radius: 12px;
    animation: appear 0.8s ease-out forwards;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
}

.btn-glow::before {
    content: "";
    background: linear-gradient(
        45deg, 
        #ff0000, #ff7300, #ffeb00, #00ff00, 
        #00ffff, #002bff, #ff00c8, #ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    opacity: 1;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:hover::after {
    background-color: transparent;
}

.btn-glow:active {
    color: #000;
    font-weight: bold;
}

.btn-glow:active::before {
    opacity: 0.5;
}
