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

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

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

body {
  background: radial-gradient(ellipse at 50% 0%, #1a0a3e 0%, #0a0520 40%, #050210 100%);
  font-family: 'Cinzel', serif;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
}

.star {
  position: fixed;
  background: #fff;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes twinkle {
  from { opacity: 0.1; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1.3); }
}

.shooter {
  position: fixed;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8));
  animation: shoot linear infinite;
  opacity: 0;
  z-index: 2;
}

@keyframes shoot {
  0%   { opacity: 0; transform: translate(0,0) rotate(var(--angle)); }
  5%   { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--angle)); }
}

.orbit {
  position: fixed;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  animation: orbit-spin linear infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes orbit-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.orbit-ball {
  position: absolute;
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.particle {
  position: fixed;
  border-radius: 50%;
  animation: float-particle ease-in-out infinite;
  opacity: 0;
  z-index: 2;
}

@keyframes float-particle {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(var(--py)) translateX(var(--px)); }
}

.rune {
  position: fixed;
  font-size: 18px;
  color: rgba(160,140,255,0.4);
  animation: rune-fade ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes rune-fade {
  from { opacity: 0.1; }
  to   { opacity: 0.5; }
}

.site-title {
  position: fixed;
  top: 6%;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: rgba(200,190,255,0.9);
  text-shadow: 0 0 20px rgba(160,140,255,0.8);
  z-index: 10;
}

.subtitle {
  position: fixed;
  top: 14%;
  width: 100%;
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(160,150,220,0.5);
  z-index: 10;
}

.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: rgba(200,190,255,0.8);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  margin-top: 8px;
  opacity: 0.7;
  text-align: center;
  font-family: 'Cinzel', serif;
}

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

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

.mirrored img { transform: scaleX(-1); }

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-center 5s ease-in-out infinite;
}

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