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

body{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color:#fff;
}

.container{
  width:420px;
  padding:25px;
  border-radius:20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(99,102,241,0.4);
  border:1px solid rgba(255,255,255,0.1);
}

h2{
  text-align:center;
  margin-bottom:15px;
  font-weight:600;
  letter-spacing:1px;
}

.input-group{
  display:flex;
  gap:10px;
  margin-bottom:12px;
}

input{
  flex:1;
  padding:10px;
  border-radius:10px;
  border:none;
  outline:none;
  background:#111827;
  color:#fff;
}

button{
  padding:10px 12px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:white;
  cursor:pointer;
  transition:0.2s;
}

button:hover{
  transform:scale(1.05);
  box-shadow:0 0 10px #6366f1;
}

.filters{
  display:flex;
  gap:6px;
  margin:10px 0;
}

.filters button{
  flex:1;
  background:#1f2937;
}

ul{list-style:none;margin-top:10px}

li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  margin-top:8px;
  border-radius:12px;
  background:rgba(255,255,255,0.06);
  transition:0.2s;
}

li:hover{
  transform:translateY(-2px);
  box-shadow:0 0 10px rgba(99,102,241,0.4);
}

.task-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.completed{
  text-decoration:line-through;
  opacity:0.5;
}

.actions button{
  margin-left:5px;
  padding:5px 8px;
  font-size:12px;
}

.clear-btn{
  margin-top:10px;
  width:100%;
  background:#ef4444;
}

.clear-btn:hover{
  box-shadow:0 0 10px #ef4444;
}