body {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #000428, #004e92);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

#ui-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
  max-width: 400px;
}

.ui-panel {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.controls-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.control-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: #00ffff;
}

.reset-btn {
  background: linear-gradient(45deg, #f093fb, #f5576c);
}

.planet-selector {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 2px solid #00ffff;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: inherit;
  font-size: 16px;
}

#info {
  font-size: 18px;
  font-weight: bold;
  color: #00ff00;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

#time-display {
  font-size: 16px;
  color: #ffff00;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

#instructions {
  font-size: 14px;
  line-height: 1.6;
}

#instructions h3 {
  color: #00ffff;
  margin-top: 0;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

#instructions p {
  margin: 8px 0;
  color: #ccc;
}

/* Planet Info Panel */
#planet-info {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  transform: translateX(0);
}

.planet-info-hidden {
  transform: translateX(350px);
  opacity: 0;
}

#planet-name {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b6b;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

#planet-details {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 15px;
}

#moon-info {
  font-size: 14px;
  color: #a0a0ff;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #ui-overlay {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .ui-panel {
    padding: 15px;
  }
  
  #planet-info {
    right: 10px;
    left: 10px;
    width: auto;
  }
  
  .controls-panel {
    flex-direction: column;
  }
}