.solar-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

.solar-viewport {
  width: 100%;
  max-width: 640px;
  height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 80% 15%, rgba(160, 200, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255, 220, 180, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 25% 80%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 180, 200, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(180, 255, 220, 0.5), transparent),
    radial-gradient(2px 2px at 15% 55%, rgba(255, 235, 160, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 70% 40%, rgba(200, 190, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 90%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 95% 85%, rgba(160, 220, 255, 0.5), transparent);
}

.solar-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translate(-50%, -50%);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.sun-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6c0, #ffd166 45%, #ef476f 100%);
  box-shadow: 0 0 40px 12px rgba(255, 209, 102, 0.55);
}

.planet {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.planet-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 45%);
}

.planet-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  font-size: 11px;
  white-space: nowrap;
  color: #e8ebff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.sun .planet-label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: bold;
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230%;
  height: 85%;
  border: 2px solid rgba(230, 210, 160, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  pointer-events: none;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.control-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #ffd166, #ef476f);
  color: #1b1035;
  font-weight: bold;
  cursor: pointer;
}

.speed-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speed-label {
  color: #cfd8ff;
  font-size: 0.9rem;
  margin-right: 4px;
}

.speed-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #cfd8ff;
  cursor: pointer;
}

.speed-btn.active {
  background: linear-gradient(90deg, #06d6a0, #4d7cff);
  color: #1b1035;
  border-color: transparent;
  font-weight: bold;
}

.info-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: rgba(15, 12, 35, 0.97);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding: 72px 24px 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.info-panel.open {
  transform: translateX(0);
}

.info-panel h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.info-panel p {
  margin: 0;
  color: #cfd8ff;
  line-height: 1.5;
}

.info-row {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.info-row.visible {
  display: flex;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8f9ac9;
}

.info-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #cfd8ff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
