.robot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  scale: 140%;
}

.robot {
  position: relative;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0px 0px 50px rgba(147, 51, 234, 0.3));
}

/* Animação de flutuação */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Cabeça do robô - formato oval cinza claro */
.head {
  position: relative;
  width: 140px;
  height: 100px;
  background-color: #d1d5db;
  border-radius: 50px;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  margin: 0 auto 10px;
  border: 3px solid #9ca3af;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conectores laterais */
.connector {
  position: absolute;
  width: 20px;
  height: 35px;
  background-color: #9ca3af;
  border-radius: 3px;
  top: 60%;
  transform: translateY(-50%);
  z-index: -1;
}

.connector-left {
  border-left: 3px solid #374151;
  left: -12px;
}

.connector-right {
  border-right: 3px solid #374151;
  right: -12px;
}

/* Tela/Face - área escura no centro */
.face {
  width: 110px;
  height: 70px;
  background-color: #4b5563;
  border-radius: 35px;
  border-top-left-radius: 110px;
  border-top-right-radius: 110px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 2px solid #374151;
}

/* Olhos - círculos azuis */
.eye {
  width: 22px;
  height: 22px;
  background-color: #06b6d4;
  border-radius: 50%;
  animation: blink 4s infinite;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Animação de piscar */
@keyframes blink {
  0%,
  90%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

/* Corpo - círculo cinza claro */
.body {
  width: 135px;
  height: 140px;
  background-color: #e5e7eb;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 70%;
  border-bottom-right-radius: 70%;
  margin: 0 auto;
  border: 3px solid #9ca3af;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 15px;
}

/* Faixa superior do corpo */
.body-stripe {
  width: 120px;
  height: 12px;
  background-color: #9ca3af;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Triângulo laranja no peito */
.chest-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #f59e0b;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.2);
  }
}

/* Braços - simples e pequenos */
.arm {
  position: absolute;
  width: 30px;
  height: 60px;
  background-color: #e5e7eb;
  border-radius: 20px;
  border: 3px solid #9ca3af;
  top: 120px;
}

.arm-left {
  left: -40px;
  rotate: calc(55deg);
  animation: wave-left 3s ease-in-out infinite;
}

.arm-right {
  right: -40px;
  rotate: calc(-55deg);
  animation: wave-right 3s ease-in-out infinite;
}

/* Animação dos braços */
@keyframes wave-left {
  0%,
  100% {
    transform: rotate(-35deg);
  }
  50% {
    transform: rotate(-25deg);
  }
}

@keyframes wave-right {
  0%,
  100% {
    transform: rotate(35deg);
  }
  50% {
    transform: rotate(25deg);
  }
}

@keyframes shadow-pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.3;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .robot {
    transform: scale(0.8);
  }
}

@media (max-width: 480px) {
  .robot-container {
    scale: 100%;
    height: 75%;
  }
  .robot {
    transform: scale(0.6);
  }
}

/* Estilos para interações JavaScript */
.robot.excited .eye {
  background-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
}

.robot.excited .chest-triangle {
  border-top-color: #f97316;
  filter: brightness(1.3);
}

/* Animação de dança */
@keyframes dance {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(-5deg) scale(1.05);
  }
  50% {
    transform: translateY(-25px) rotate(0deg) scale(1.1);
  }
  75% {
    transform: translateY(-15px) rotate(5deg) scale(1.05);
  }
}
