html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #101922;
}
::-webkit-scrollbar-thumb {
  background: #324d67;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #137fec;
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}
.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Seletor de idioma (PT / EN / ES) no topo */
.lang-switch button {
  min-width: 2.1rem;
  padding: 0.3rem 0.55rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgb(156 163 175);
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch button:hover {
  color: #fff;
}
.lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.lang-switch button:focus-visible {
  outline: 2px solid #137fec;
  outline-offset: 1px;
}
@media (max-width: 480px) {
  .lang-switch button {
    min-width: 1.75rem;
    padding: 0.25rem 0.35rem;
    font-size: 10px;
  }
}
