html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.nuvora-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #071545;
  animation: pageFadeIn 1s ease forwards;
}

.background {
  position: absolute;
  inset: 0;
  background-image: url("/images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
}

.hero-content h1 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 90px;
  font-weight: 700;
  line-height: 0.88;
  color: white;
  text-shadow:
    0 4px 10px rgba(0,0,0,0.25),
    0 0 25px rgba(255,255,255,0.25);
}

.hero-content h1 span {
  color: #9b5cff;
  -webkit-text-fill-color: #9b5cff;
  text-shadow:
    0 0 12px rgba(155, 92, 255, 0.8),
    0 0 24px rgba(88, 214, 255, 0.5),
    0 0 40px rgba(88, 214, 255, 0.3);
}

.hero-content p {
  font-family: 'Baloo 2', cursive;
  font-size: 26px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);

  text-shadow:
    0 2px 8px rgba(0,0,0,0.25);
}

.platform {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 1000px;
  transform: translateX(-50%);
  animation: floatSlow 6s ease-in-out infinite;
  z-index: 3;
}

.portal-glow {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: 420px;
  height: 130px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(120, 240, 255, 0.9) 0%,
    rgba(155, 92, 255, 0.45) 45%,
    rgba(155, 92, 255, 0) 75%
  );
  filter: blur(10px);
  z-index: 4;
  pointer-events: none;
  animation: portalPulse 3s ease-in-out infinite;
}

.robot-wrap {
  position: absolute;
  left: 23%;
  bottom: 6%;
  width: 330px;
  height: 330px;
  z-index: 6;
  animation: robotFloat 4s ease-in-out infinite;
}

.robot-frame {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

.robot-open {
  opacity: 1;
}

.robot-closed {
  opacity: 0;
  animation: blink 5s infinite;
}

.background {
  position: absolute;
  inset: -40px;
  background-image: url("/images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  animation: backgroundMove 18s ease-in-out infinite alternate;
}
.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 120px;
    z-index: 100;
    cursor: pointer;

    animation: logoFloat 4s ease-in-out infinite;
}

.speech-bubble {
  position: absolute;
  left: 8%;
  bottom: 45%;
  background: white;
  padding: 20px;
  border-radius: 22px;
  max-width: 330px;
  font-family: 'Baloo 2', cursive;
  font-size: 20px;
  line-height: 1.25;
  color: #222;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 30;
}

@keyframes logoFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes backgroundMove {
  0% {
    transform: scale(1.02) translate(0, 0);
  }

  100% {
    transform: scale(1.07) translate(-10px, -8px);
  }
}
@keyframes blink {
  0%, 92%, 100% {
    opacity: 0;
  }

  94%, 96% {
    opacity: 1;
  }
}

@keyframes robotFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.enter-button {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 360px;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
  animation: buttonGlowFloat 3s ease-in-out infinite;
}

.enter-button:hover {
  animation: none;
  transform: translateX(-50%) scale(1.05);
  filter:
    drop-shadow(0 0 12px rgba(155,92,255,.7))
    drop-shadow(0 0 24px rgba(88,214,255,.7));
}

.mobile-blocker {
  display: none;
}

@media (max-width: 768px) {
  .mobile-blocker {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #071545, #3b1c85);
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
  }

  .mobile-card {
    background: white;
    padding: 28px;
    border-radius: 24px;
    max-width: 360px;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
  }

  .mobile-card h2 {
    margin: 0 0 12px;
    color: #6c3cff;
    font-size: 26px;
  }

  .mobile-card p {
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.3;
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes robotFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes portalPulse {
  0%, 100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.12);
  }
}

@keyframes buttonGlowFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
    filter: drop-shadow(0 0 10px rgba(124, 60, 255, 0.6));
  }
  50% {
    transform: translateX(-50%) translateY(-5px) scale(1.01);
    filter: drop-shadow(0 0 22px rgba(0, 207, 255, 0.85));
  }
}