@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: radial-gradient(ellipse at 50% 30%, #2a2a3e 0%, #141420 40%, #0a0a14 100%);
  font-family: 'Orbitron', monospace;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
}

.ceiling {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: radial-gradient(ellipse at 50% 0%, #303048 0%, transparent 70%);
  z-index: 0;
}

.floor {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: radial-gradient(ellipse at 50% 100%, #2a2a3a 0%, #18181f 60%, transparent 100%);
  z-index: 0;
}

.floor-grid {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background-image:
    linear-gradient(rgba(180,180,220,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,180,220,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(400px) rotateX(40deg);
  transform-origin: bottom center;
  z-index: 1;
}

.stripe {
  position: fixed;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,210,255,0.15), rgba(200,210,255,0.3), rgba(200,210,255,0.15), transparent);
  z-index: 2;
}

.panel {
  position: fixed;
  border: 0.5px solid rgba(180,180,220,0.2);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(180,180,220,0.02));
  animation: panel-pulse ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes panel-pulse {
  from { border-color: rgba(180,180,220,0.15); }
  to   { border-color: rgba(180,180,220,0.35); box-shadow: 0 0 8px rgba(180,180,255,0.1); }
}

.light {
  position: fixed;
  border-radius: 50%;
  background: #d0e0ff;
  box-shadow: 0 0 12px #a0c0ff, 0 0 30px rgba(160,200,255,0.3);
  animation: light-pulse ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes light-pulse {
  from { opacity: 0.5; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1.05); }
}

.scan {
  position: fixed;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,210,255,0.5), transparent);
  box-shadow: 0 0 8px rgba(180,200,255,0.3);
  animation: scan linear infinite;
  z-index: 3;
}

@keyframes scan {
  from { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  to   { top: 100%; opacity: 0; }
}

.ring {
  position: fixed;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(200,210,255,0.2);
  animation: pulse-ring ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes pulse-ring {
  from { transform: translate(-50%,-50%) scale(0.97); opacity: 0.3; }
  to   { transform: translate(-50%,-50%) scale(1.03); opacity: 0.9; border-color: rgba(200,210,255,0.4); box-shadow: 0 0 20px rgba(180,200,255,0.1); }
}

.orb {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #d0d8f0 25%, #8090b0 65%, #303050 100%);
  box-shadow: 0 0 15px rgba(180,200,255,0.4), 0 0 40px rgba(180,200,255,0.15);
  animation: float-orb ease-in-out infinite alternate;
  z-index: 3;
}

@keyframes float-orb {
  from { transform: translate(0,0); }
  to   { transform: translate(var(--dx),var(--dy)); }
}

.site-title {
  position: fixed;
  top: 6%;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  background: linear-gradient(180deg, #ffffff, #a0b0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 10;
}

.subtitle {
  position: fixed;
  top: 14%;
  width: 100%;
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: rgba(180,200,240,0.6);
  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(180,200,240,0.8);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  margin-top: 8px;
  opacity: 0.7;
  text-align: center;
}

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


.page-transition {
  position: fixed;
  inset: 0;
  background: #0a0a14;
  z-index: 999;
  animation: fadein 0.6s ease 0.1s forwards;
  pointer-events: none;
  opacity: 1;
}

@keyframes fadein {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes fadeout {
  from { opacity: 0; }
  to   { opacity: 1; }
}