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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Gemini-inspired deep space background */
  background: radial-gradient(circle at top left, #1a1a2e, #16213e, #0f0f0f);
  overflow: hidden;
}

/* Glass Container with Animated Glow */
.container {
  width: 420px;
  padding: 40px;
  border-radius: 24px;
  backdrop-filter: blur(25px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 20px rgba(0, 198, 255, 0.1); /* Subtle blue glow */
  color: #e2e8f0;
  position: relative;
}

/* Animated Gradient Header */
h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #706fd3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

/* Input Box Styling */
.input-box {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* The "Gemini Blue" Button */
button {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #4facfe 0%, #0072ff 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
  filter: brightness(1.1);
}

/* Task List Styling */
ul {
  margin-top: 25px;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Task Items */
li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  animation: fadeIn 0.4s ease forwards;
}

li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
  border-color: rgba(79, 172, 254, 0.3);
}

/* Status: Completed */
li.completed {
  text-decoration: line-through;
  opacity: 0.4;
  filter: grayscale(1);
}

/* Sleek Delete Button */
.delete {
  background: rgba(255, 61, 113, 0.15);
  color: #ff3d71;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.delete:hover {
  background: #ff3d71;
  color: white;
}

/* Custom Scrollbar for list */
ul::-webkit-scrollbar {
  width: 5px;
}
ul::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}