body {
  font-family: 'Nova Mono', monospace;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.6s ease, color 0.6s ease;
}

/* Light theme */
body.light {
  background: linear-gradient(135deg, #ffeb3b, #ffc107, #ff9800);
  color: #222;
}

/* Dark theme */
body.dark {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #eee;
}

/* Toggle button */
#toggle-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: bold;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

#toggle-btn:hover {
  transform: scale(1.05);
}

body.light #toggle-btn {
  background: #333;
  color: #fff;
}

body.dark #toggle-btn {
  background: #fff;
  color: #333;
}

/* Countdown styling */
#countdown {
  font-size: 3em;
  display: flex;
  gap: 20px;
  margin-top: 60px;
}

.time-section {
  padding: 20px 25px;
  border-radius: 15px;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s;
}

/* Light mode countdown cards */
body.light .time-section {
  background: #fffbe7;
  color: #222;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.6);
}

/* Dark mode countdown cards */
body.dark .time-section {
  background: rgba(0, 0, 0, 0.4);
  color: #eee;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.time-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.time-section span {
  display: block;
  font-size: 0.5em;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Message text */
#message {
  font-size: 2em;
  margin-top: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  padding: 5px 0;
}

body.light footer {
  color: #333;
  background: transparent;
}

body.dark footer {
  color: #ddd;
  background: transparent;
}