* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.scene {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.8s ease, color 0.6s ease;
}

.scene.day {
  background: linear-gradient(#87ceeb, #ffffff);
  color: #222;
}

.scene.night {
  background: linear-gradient(#0f2027, #203a43, #2c5364);
  color: #f1f1f1;
}

.sun {
  position: absolute;
  top: 80px;
  left: 80px;
  width: 120px;
  height: 120px;
  background: #ffd93d;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 217, 61, 0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.moon {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 100px;
  height: 100px;
  background: #f1f1f1;
  border-radius: 50%;
  box-shadow: -15px 0 0 5px #0f2027;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scene.day .sun {
  opacity: 1;
  transform: translateY(0);
}

.scene.day .moon {
  opacity: 0;
  transform: translateY(20px);
}

.scene.night .sun {
  opacity: 0;
  transform: translateY(20px);
}

.scene.night .moon {
  opacity: 1;
  transform: translateY(0);
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header {
  margin-top: 2rem;
}

.title {
  font-size: 3rem;
  font-weight: 700;
}

.tagline {
  margin-top: 0.5rem;
  opacity: 0.85;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

.greeting {
  font-size: 2rem;
}

.current-time {
  font-size: 1.2rem;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.6s ease, color 0.6s ease;
}

.scene.night .current-time {
  background: rgba(255, 255, 255, 0.15);
  color: #f1f1f1;
}

.status {
  opacity: 0.9;
}

.toggle-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: #ff9800;
  color: white;
  transition: transform 0.2s ease, background 0.3s ease;
}

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

.scene.night .toggle-btn {
  background: #90caf9;
  color: #222;
}

.quote {
  margin-top: 2rem;
  font-style: italic;
}

.quote-author {
  display: block;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.footer {
  margin-bottom: 1rem;
  opacity: 0.7;
}

.scene * {
  transition: color 0.6s ease;
}
