* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
}

h1 {
  margin-bottom: 25px;
  font-size: 2rem;
  letter-spacing: 1px;
}

.input-section {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

input {
  padding: 12px;
  border-radius: 15px;
  border: none;
  width: 70%;
  margin-right: 10px;
  outline: none;
  font-size: 1rem;
}

input:focus {
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

button {
  padding: 12px 18px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(45deg, #ff758c, #ff7eb3);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s, background 0.2s, opacity 0.3s;
  opacity: 0;
}

li.show {
  opacity: 1;
}

li.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

.delete-btn {
  background: #ff6b6b;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.delete-btn:hover {
  background: #ff3b3b;
}

.complete-btn {
  background: #6bff95;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-right: 5px;
  color: #fff;
  transition: background 0.2s;
}

.complete-btn:hover {
  background: #2ee64b;
}