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

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(to bottom, #1a0b0f, #12070a);
  color: #fff5f7;
  min-height: 100vh;
  padding: 40px 20px;
}

main {
  max-width: 900px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 50px;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #ffe4ea;
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.motto {
  color: #d8a7b3;
  font-size: 1.05rem;
}

#add-task {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 50px;
}

.task-row {
  display: flex;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #4b1f2b;
  background: rgba(255, 255, 255, 0.04);
  color: #fff5f7;
  font-size: 1rem;
  outline: none;
  backdrop-filter: blur(10px);
}

input::placeholder,
textarea::placeholder {
  color: #b98b96;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #d14b72;
  box-shadow: 0 0 0 4px rgba(209, 75, 114, 0.15);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

#addBtn {
  background: linear-gradient(135deg, #b3123f, #7a102d);
  color: white;
  box-shadow: 0 6px 20px rgba(179, 18, 63, 0.25);
}

#addBtn:hover {
  transform: translateY(-2px) scale(1.02);
}

section {
  margin-bottom: 40px;
}

section h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #ffd6df;
}

ul {
  list-style: none;
}

li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 14px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 125, 160, 0.3);
  box-shadow: 0 10px 30px rgba(122, 16, 45, 0.2);
}

.task-content {
  flex: 1;
}

.task-content h3 {
  margin-bottom: 12px;
  color: #fff0f3;
  font-size: 1.1rem;
}

.task-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.time-badge,
.load-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.time-badge {
  background: rgba(255, 255, 255, 0.08);
}

.load-badge.low {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.load-badge.medium {
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
}

.load-badge.high {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.task-notes {
  color: #d8a7b3;
  line-height: 1.5;
  margin-top: 6px;
}

.task-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.task-actions button {
  background: rgba(255, 255, 255, 0.06);
  color: #ffe7ed;
  min-width: 42px;
}

.task-actions button:hover {
  background: #7a102d;
}

footer {
  text-align: center;
  margin-top: 80px;
  color: #b98b96;
  font-size: 0.95rem;
}

@media (max-width: 700px) {

  h1 {
    font-size: 3rem;
  }

  .task-row {
    flex-direction: column;
  }

  li {
    flex-direction: column;
  }

  .task-actions {
    width: 100%;
  }
}