*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#1e293b,#334155);
}

.container{
    width:420px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(20px);
    padding:30px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.4);
    animation:pop .7s ease;
}

@keyframes pop{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

h1{
    color:white;
    text-align:center;
    margin-bottom:20px;
}

.input-box{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.input-box input{
    flex:1;
    padding:14px;
    border:none;
    outline:none;
    border-radius:12px;
    font-size:16px;
}

.input-box button{
    padding:14px 18px;
    border:none;
    border-radius:12px;
    background:#22c55e;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.input-box button:hover{
    transform:translateY(-3px);
    background:#16a34a;
}

ul{
    list-style:none;
}

li{
    background:rgba(255,255,255,.12);
    color:white;
    margin:12px 0;
    padding:15px;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    animation:slide .3s ease;
}

@keyframes slide{
    from{
        transform:translateX(-20px);
        opacity:0;
    }
    to{
        transform:translateX(0);
        opacity:1;
    }
}

.completed{
    text-decoration:line-through;
    opacity:.6;
}

.actions{
    display:flex;
    gap:8px;
}

.actions button{
    border:none;
    cursor:pointer;
    border-radius:8px;
    padding:8px 12px;
    color:white;
    transition:.3s;
}

.complete-btn{
    background:#3b82f6;
}

.complete-btn:hover{
    background:#2563eb;
}

.delete-btn{
    background:#ef4444;
}

.delete-btn:hover{
    background:#dc2626;
}