* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 30%, #1b2735, transparent 40%),
                radial-gradient(circle at 80% 70%, #2c5364, transparent 40%),
                linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-side {
    width: 50%;
    position: relative;
}

.left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-side {
    width: 50%;
    background: linear-gradient(160deg, #0f1c2e, #14253d, #1b3358);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-box {
    position: relative;
    background: rgba(17, 27, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-shadow: 
        0 0 40px rgba(0,0,0,0.6),
        0 0 80px rgba(88, 101, 242, 0.1);
    animation: fadeIn 1s ease;
}

.dev-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.6);
    animation: pulseDev 2s infinite;
}

.logo {
    width: 200px;
    max-width: 80%;
    margin-bottom: 25px;
    animation: floatLogo 3s ease-in-out infinite;
}

.login-box h2 {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffcc00, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 2s infinite ease-in-out;
}

.login-box p {
    color: #aaa;
    margin-bottom: 35px;
    font-size: 14px;
}

#discordLogin {
    background: #5865F2;
    border: none;
    padding: 15px 20px;
    width: 100%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

#discordLogin img {
    width: 20px;
}

#discordLogin:hover {
    background: #4752C4;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

@keyframes glowText {
    0% { text-shadow: 0 0 5px rgba(255, 165, 0, 0.3); }
    50% { text-shadow: 0 0 25px rgba(255, 165, 0, 0.9); }
    100% { text-shadow: 0 0 5px rgba(255, 165, 0, 0.3); }
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes pulseDev {
    0% { box-shadow: 0 0 5px rgba(255, 87, 34, 0.4); }
    50% { box-shadow: 0 0 15px rgba(255, 87, 34, 0.9); }
    100% { box-shadow: 0 0 5px rgba(255, 87, 34, 0.4); }
}

@media (max-width: 1024px) {
    .login-box {
        padding: 40px;
    }

    .login-box h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-side {
        width: 100%;
        height: 40vh;
    }

    .right-side {
        width: 100%;
        height: 60vh;
        padding: 20px;
    }

    .login-box {
        padding: 30px;
        border-radius: 15px;
    }

    .logo {
        width: 160px;
    }

    .login-box h2 {
        font-size: 20px;
    }

    .login-box p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .left-side {
        height: 35vh;
    }

    .right-side {
        height: 65vh;
    }

    .login-box {
        padding: 25px;
    }

    .logo {
        width: 140px;
    }

    .login-box h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    #discordLogin {
        font-size: 14px;
        padding: 12px;
    }
}
