@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: #000;
  font-family: 'Orbitron', monospace;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
}

.ink {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  animation: drift ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(var(--dx), var(--dy)) scale(var(--ds)); }
}

.swirl {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(180,40,0,0.15);
  top: 50%;
  left: 50%;
  animation: spin linear infinite;
}

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

@keyframes spin2 {
  from { transform: translate(-50%,-50%) rotate(0deg) scaleX(0.6) scaleY(1.4); }
  to   { transform: translate(-50%,-50%) rotate(-360deg) scaleX(0.6) scaleY(1.4); }
}

.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  opacity: 0;
  z-index: 2;
  animation: spiral linear infinite;
}

@keyframes spiral {
  0%   { opacity: 0; transform: rotate(0deg) translateX(var(--r)) scale(1); }
  15%  { opacity: 0.8; }
  100% { opacity: 0; transform: rotate(540deg) translateX(8px) scale(0); }
}

.glitch-text {
  position: fixed;
  bottom: 8%;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: #cc4400;
  z-index: 10;
  animation: glitch 5s infinite;
}

@keyframes glitch {
  0%,88%,100% { text-shadow: none; transform: none; opacity: 1; }
  89% { transform: translateX(-3px); text-shadow: 3px 0 #ff2200; opacity: 0.8; }
  90% { transform: translateX(3px);  text-shadow: -3px 0 #ffaa00; }
  91% { transform: translateX(-2px); opacity: 0.6; }
  92% { transform: none; text-shadow: none; 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: #cc4400;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  margin-top: 8px;
  opacity: 0.7;
  text-align: center;
}

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

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

.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); }
}


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