/* 500x Vision — poucos ajustes que o Tailwind (CDN) não cobre bem. O visual mora
   nas utilidades do Tailwind e no tema em index.html; aqui ficam o fundo animado
   do app original, o overlay de carregamento e o estado da nav inferior. */

body {
  background: #0a0a0a;
}

/* Gradiente radial usado no overlay do fundo (from-/via-/to- do Tailwind). */
.bg-gradient-radial {
  background-image: radial-gradient(var(--tw-gradient-stops));
}

/* Orbs coloridos que respiram no fundo. */
@keyframes orb1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 20px) scale(1.1);
  }
}
@keyframes orb2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-25px, -15px) scale(1.15);
  }
}
@keyframes orb3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(15px, -25px) scale(1.05);
  }
}
.animate-orb-1 {
  animation: orb1 14s ease-in-out infinite;
}
.animate-orb-2 {
  animation: orb2 18s ease-in-out infinite;
}
.animate-orb-3 {
  animation: orb3 16s ease-in-out infinite;
}

/* Overlay de carregamento: três anéis girando + ícone no centro. */
.loading-animation {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
}
.loading-circle {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 3px solid transparent;
}
.loading-circle:nth-child(1) {
  border-top-color: #00ff88;
  animation: girar 1s linear infinite;
}
.loading-circle:nth-child(2) {
  inset: 10px;
  border-right-color: #22d3ee;
  animation: girar 1.4s linear infinite reverse;
}
.loading-circle:nth-child(3) {
  inset: 20px;
  border-bottom-color: #a855f7;
  animation: girar 1.8s linear infinite;
}
.loading-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff88;
  font-size: 1.75rem;
}
@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

/* Nav inferior: item ativo vira verde neon, inativo fica apagado. */
.nav-item .pastilha {
  background: #1f2937;
  border: 1px solid rgba(55, 65, 81, 0.5);
  color: #9ca3af;
}
.nav-item .rotulo {
  color: #9ca3af;
}
.nav-item.on .pastilha {
  background: rgba(0, 255, 136, 0.2);
  border: 2px solid #00ff88;
  color: #00ff88;
}
.nav-item.on .rotulo {
  color: #00ff88;
  font-weight: 600;
}

/* Barra de rolagem discreta no tema escuro. */
* {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 8px;
}
