:root {
  --primary-color: #7b2cbf; /* Vibrant purple */
  --secondary-color: #00bbf9; /* Electric blue */
  --accent-color: #f15bb5; /* Hot pink */
  --background-color: #f8f9fa;
  --text-color: #212529;
  --progress-bg: #e9ecef;
  --container-bg: #ffffff;
  --stats-bg: linear-gradient(135deg, #7b2cbf, #9b5de5);
  --task-bg: rgba(123, 44, 191, 0.05);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-image: radial-gradient(circle at 10% 20%, rgba(241, 91, 181, 0.05) 0%, rgba(0, 187, 249, 0.05) 90%);
}

.container {
  width: 100%;
  max-width: 500px;
  background-color: var(--container-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(241, 91, 181, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.statsContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--stats-bg);
  padding: 25px;
  border-radius: 16px;
  color: white;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.statsContainer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.details h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
}

.details h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.details p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 15px;
}

#progressBar {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 15px;
}

#progress {
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, #f15bb5, #fee440);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(241, 91, 181, 0.5);
  transition: width 0.5s ease;
}

#numbers {
  width: 80px;
  height: 80px;
  background-color: white;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

#numbers::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f15bb5, #00bbf9);
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  position: relative;
}

form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgba(233, 236, 239, 0.5);
  font-weight: 500;
}

form input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 187, 249, 0.2);
  background-color: white;
}

form input::placeholder {
  color: #adb5bd;
}

form button {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(241, 91, 181, 0.4);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 91, 181, 0.6);
}

form button:active {
  transform: translateY(0);
}

.taskList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.taskItem {
  width: 100%;
  display: flex;
  background-color: var(--task-bg);
  padding: 16px 20px;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(123, 44, 191, 0.1);
}

.taskItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(123, 44, 191, 0.1);
}

.task {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.task input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ced4da;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.task input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.task input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.task p {
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.completed p {
  text-decoration: line-through;
  color: #adb5bd;
}

.taskItem img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.taskItem:hover img {
  opacity: 1;
}

.taskItem img:hover {
  transform: scale(1.1);
}

/* Add some floating decorative elements */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.circle-1 {
  width: 100px;
  height: 100px;
  background-color: rgba(241, 91, 181, 0.1);
  top: -30px;
  left: -30px;
}

.circle-2 {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 187, 249, 0.1);
  bottom: -20px;
  right: -20px;
}
/* Emoji Mood Meter */
.mood-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.mood-meter .emoji {
    font-size: 28px;
    transition: transform 0.3s;
}

.mood-meter .progress-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: bolds;
}

/* Step Progress */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    position: relative;
}

.step-progress::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #999;
    transition: all 0.3s;
}

.step.active {
    color: #7b2cbf;
    font-weight: bold;
}

/* Confetti (will be triggered via JS) */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}