:root {
  --background: #0f0c29;
  --seconderybakground: #292e5a;
  --text: #ffffff;
  --purple: #a87ffb;
  --teal: #00ffd0;
  --transition: all 0.3s ease;
}

.quote {
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  color: #ff9e9e;
  text-align: center;
  margin-top: 12px;
  padding: 30px 20px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(36, 254, 238, 0.3);
  animation: fadeIn 1s ease-in-out;
  transition: var(--transition);
}

.quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(36, 254, 238, 0.4);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background);
  color: var(--text);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0 auto;
  max-width: 500px;
}

.nice {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-container {
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--purple);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: rgba(168, 127, 251, 0.05);
  transition: var(--transition);
}

.stats-container:hover {
  border-color: var(--teal);
  box-shadow: 0 5px 15px rgba(168, 127, 251, 0.2);
  transform: translateY(-2px);
}

#numbers {
  width: 100px;
  height: 100px;
  background-color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  transition: var(--transition);
}

#numbers:hover {
  transform: scale(1.05);
  background-color: var(--teal);
}

#progressBar {
  width: 100%;
  height: 10px;
  background-color: var(--seconderybakground);
  border-radius: 5px;
  margin-top: 20px;
  overflow: hidden;
}

#progress {
  width: 0%;
  height: 10px;
  background-color: var(--teal);
  border-radius: 10px;
  transition: width 0.4s ease-out;
}

form {
  margin-top: 60px;
  width: 100%;
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 16px;
  background: var(--seconderybakground);
  border: 1px solid var(--purple);
  border-radius: 10px;
  color: beige;
  transition: var(--transition);
}

input:focus {
  outline: none;
  border-color: var(--teal);
}

button {
  padding: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--purple);
  color: white;
  font-size: 30px;
  font-weight: bold;
  outline: none;
  transition: var(--transition);
}

button:hover {
  background-color: var(--teal);
  transform: rotate(90deg) scale(1.1); /* Rotation + scale */
}

#task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  width: 100%;
  list-style: none;
}

.taskItem {
  width: 100%;
  display: flex;
  background-color: var(--seconderybakground);
  padding: 10px;
  border-radius: 10px;
  justify-content: space-between;
  transition: var(--transition);
}

.taskItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.task input {
  width: 20px;
  height: 20px;
}

.task.completed p {
  text-decoration: line-through;
  color: var(--teal);
}

.taskItem img {
  width: 24px;
  height: 24px;
  margin: 0 10px;
  cursor: pointer;
  transition: var(--transition);
}

.taskItem img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

@keyframes fall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(100px) rotate(10deg); }
}

.fall-out {
  animation: fall 0.5s forwards;
}
