body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #fce4ec);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  width: 320px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

h1 {
  color: #b34766;
  margin-bottom: 15px;
}

.input-area {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

#taskInput {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

#taskInput:focus {
  border-color: #ff80aa;
  box-shadow: 0 0 5px #ff80aa;
  outline: none;
}

button {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #ff80aa;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

button:hover {
  background: #e66794;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: #fff0f5;
  padding: 10px;
  margin: 6px 0;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s, background 0.3s;
  cursor: pointer;
}

li:hover {
  background: #ffe6f0;
  transform: translateX(5px);
}

li.completed {
  text-decoration: line-through;
  color: #888;
  transform: scale(0.98);
}
