﻿button {
    font-size: 27px;
    position: relative;
    width: 150px;
    height: 50px;
    background-color: #36383B;
    display: flex;
    align-items: center;
    color: white;
    flex-direction: column;
    justify-content: center;
    border: none;
    padding: 12px;
    gap: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
}

button::before {
    content: "";
    position: absolute;
    inset: 0;
    left: -5px;
    margin: auto;
    width: 160px;
    height: 60px;
    border-radius: 12px;
    animation: gradient 20s ease infinite;
    background: linear-gradient(-45deg, #A000C7, #40c9ff, #A000C7, #40c9ff, #A000C7, #40c9ff, #A000C7, #40c9ff);
    background-size: 900% 900%;
    z-index: -1;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    animation: gradient 20s ease infinite;
    background: linear-gradient(-45deg, #A000C7, #40c9ff, #A000C7, #40c9ff, #A000C7, #40c9ff, #A000C7, #40c9ff);
    background-size: 900% 900%;
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(15px);
}

button:hover::after {
    filter: blur(30px);
}

button:hover::before {
    transform: rotate(-180deg);
}

button:active::before {
    scale: 0.7;
}

button:hover {
    background-color: #23252B;
    transition-delay: 0.6s;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}