/* ===== NOVA THE MASCOT ===== */
#mascot {
  position: fixed;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #3b82f6 0%, #1e3a8a 70%);
  box-shadow: 0 0 25px #3b82f6, 0 0 50px #3b82f6;
  position: relative;
  animation: orbFloat 4s ease-in-out infinite alternate;
}

/* Glow */
.orb-glow {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.4), transparent 70%);
  filter: blur(12px);
  animation: orbPulse 3s ease-in-out infinite alternate;
}

/* Eyes */
.eye {
  position: absolute;
  width: 10px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: 28px;
}

.eye.left { left: 22px; }
.eye.right { right: 22px; }

/* Blink animation */
.eye.blink {
  height: 2px;
  top: 34px;
}

/* Mouth */
.mouth {
  position: absolute;
  width: 26px;
  height: 12px;
  border-bottom: 3px solid white;
  border-radius: 0 0 20px 20px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Sleep Z */
.sleep-z {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: #93c5fd;
  font-size: 18px;
  opacity: 0;
  animation: floatZ 2s ease-in-out infinite;
}

@keyframes floatZ {
  from { transform: translate(-50%, 0); opacity: 0.4; }
  to { transform: translate(-50%, -15px); opacity: 0; }
}

/* Orb animations */
@keyframes orbFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes orbPulse {
  from { opacity: 0.4; }
  to { opacity: 0.8; }
}

/* Sleep mode */
.sleeping .eye {
  height: 2px;
  top: 34px;
}

.sleeping .mouth {
  opacity: 0;
}

.sleeping .sleep-z {
  opacity: 1;
}

.sleeping .orb {
  animation: none;
  transform: rotate(-8deg);
  box-shadow: 0 0 10px #1e3a8a;
}
