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

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(
        -45deg,
        #0f172a,
        #1e3a8a,
        #2563eb,
        #0f172a
    );
    background-size:400% 400%;
    animation:bgMove 12s ease infinite;
    overflow:hidden;
    position:relative;
}

/* Animated Background */
@keyframes bgMove{
    0%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
    100%{
        background-position:0% 50%;
    }
}

/* Floating Circles */
.bg-animation span{
    position:absolute;
    display:block;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    animation:float 18s linear infinite;
}

.bg-animation span:nth-child(1){
    width:220px;
    height:220px;
    left:10%;
    top:15%;
}

.bg-animation span:nth-child(2){
    width:300px;
    height:300px;
    right:10%;
    bottom:5%;
    animation-duration:25s;
}

.bg-animation span:nth-child(3){
    width:120px;
    height:120px;
    left:20%;
    bottom:15%;
    animation-duration:15s;
}

.bg-animation span:nth-child(4){
    width:180px;
    height:180px;
    right:25%;
    top:10%;
    animation-duration:20s;
}

@keyframes float{
    0%{
        transform:translateY(0) rotate(0deg);
    }
    50%{
        transform:translateY(-40px) rotate(180deg);
    }
    100%{
        transform:translateY(0) rotate(360deg);
    }
}

/* Login Box */
.login-box{
    width:400px;
    padding:45px 35px;
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.20);
    border-radius:25px;
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    text-align:center;
    z-index:10;
    animation:fadeUp 1s ease;
}

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

/* Logo */
.logo i{
    font-size:55px;
    color:#fff;
    margin-bottom:15px;
}

.logo h2{
    color:#fff;
    font-size:32px;
    letter-spacing:2px;
    margin-bottom:5px;
}

.logo p{
    color:#e5e7eb;
    font-size:14px;
    margin-bottom:35px;
}

/* Input Fields */
.input-box{
    position:relative;
    margin-bottom:20px;
}

.input-box i{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#d1d5db;
    font-size:16px;
}

.input-box input{
    width:100%;
    padding:15px 15px 15px 50px;
    border:none;
    outline:none;
    border-radius:12px;
    background:rgba(255,255,255,0.15);
    color:#fff;
    font-size:15px;
    transition:0.3s;
}

.input-box input::placeholder{
    color:#d1d5db;
}

.input-box input:focus{
    background:rgba(255,255,255,0.20);
    box-shadow:0 0 15px rgba(37,99,235,0.4);
}

/* Login Button */
button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.4s;
}

button i{
    margin-right:8px;
}

button:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(37,99,235,0.4);
}

/* Footer */
.footer-text{
    margin-top:25px;
    color:#d1d5db;
    font-size:13px;
}

/* Mobile */
@media(max-width:480px){

    .login-box{
        width:92%;
        padding:35px 25px;
    }

    .logo h2{
        font-size:28px;
    }

    .logo i{
        font-size:45px;
    }
}