.login-container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #36467a91;
}

.login-container::before, .login-container::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(90, 74, 156, 0.507), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(88, 130, 255, 0.493), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(24, 120, 255, 0.473), transparent 45%);
    filter: blur(60px);
    animation: floatLights 18s linear infinite alternate;
}

.login-container::after {
    animation: floatLights2 22s linear infinite alternate;
    opacity: 0.7;
}

.login-container > * {
    position: relative;
    z-index: 1;
}

@keyframes floatLights {
    0% {
        transform: translate(0%, 0%) scale(1);
    }
    25% {
        transform: translate(-3%, 2%) scale(1.05);
    }
    50% {
        transform: translate(3%, -2%) scale(1.1);
    }
    75% {
        transform: translate(-2%, -3%) scale(1.05);
    }
    100% {
        transform: translate(2%, 3%) scale(1);
    }
}

@keyframes floatLights2 {
    0% {
        transform: translate(0%, 0%) scale(1);
    }
    25% {
        transform: translate(2%, -3%) scale(1.1);
    }
    50% {
        transform: translate(-3%, 2%) scale(1.05);
    }
    75% {
        transform: translate(3%, 3%) scale(1.1);
    }
    100% {
        transform: translate(-2%, -2%) scale(1);
    }
}

.login-blur {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.644);
}

.login-box {
    height: 25vh;
    width: 100%;
    max-width: 550px;
    background: rgba(25, 25, 25, 0.281);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.login-box h2 {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
}

.discord-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #5865f2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.discord-btn:hover {
    background-color: #2d3592;
}

.error {
    margin-top: 30px;
    color: #ff5555;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}