@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #0d0019;
  font-family: 'Orbitron', monospace;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    #0d0019 0%,
    #2d0a4e 55%,
    rgba(255,113,206,0.3) 100%
  );
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent, transparent 40px,
      rgba(123,47,255,0.5) 40px,
      rgba(123,47,255,0.5) 42px
    ),
    repeating-linear-gradient(
      to right,
      transparent, transparent 60px,
      rgba(123,47,255,0.4) 60px,
      rgba(123,47,255,0.4) 61px
    );
  transform: perspective(300px) rotateX(30deg);
  transform-origin: top center;
}

.site-title {
  position: fixed;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  white-space: nowrap;
  background: linear-gradient(90deg, #ff71ce, #7b2fff, #05ffa1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 10;
}

.star {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e0cfff;
  z-index: 1;
  animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.15; }
  to   { opacity: 1; }
}

.planet {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 10;
  animation: float 5s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.zoomable:hover { transform: scale(1.15) !important; }

.zoomable {
  z-index: 20;
}

.planet img {
  display: block;
}

.planet-label {
  color: #e0cfff;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  margin-top: 8px;
  opacity: 0.7;
  text-align: center;
}

.zoomable:hover .planet-label {
  opacity: 1;
  color: #05ffa1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-15px); }
}

