@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  margin: 0;
  min-height: 100vh;
  color: white;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

nav {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

#welcome-section {
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  text-align: center;
}

.progress-bar-container {
  background: rgba(0, 0, 0, 0.2);
  height: 15px;
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

#progress-fill {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  height: 100%;
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

.task-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.task-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.task-card.completed {
  border: 1px solid #2ecc71;
  background: rgba(46, 204, 113, 0.2);
}

.task-info h4 {
  margin: 0;
  font-size: 1.2rem;
}
.task-info p {
  margin: 5px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

button {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

button:hover {
  transform: scale(1.05);
}

button.completed-btn {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}
