/* Vídeo de fundo */
.video-background {
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto; /* maior espaçamento em cima/baixo */
  max-width: 900px;  /* container com largura máxima */
  height: auto;
  padding: 0 1rem;
}

.video-container video {
  max-width: 80%;    /* ocupa até 80% da largura do container */
  max-height: 450px; /* altura máxima para não ocupar a tela toda */
  border-radius: 16px;
  box-shadow: 0 0 30px #00ffbf;
  object-fit: contain;
  background: #000;
  outline: none;
  display: block;
  margin: 0 auto;    /* garante centralização */
}


/* Outros estilos básicos */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #00ffbf;
  background: #0a0a0a;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

nav a {
  color: #00ffbf;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
}

nav a.active {
  border-bottom: 2px solid #00ffbf;
  padding-bottom: 0.2rem;
}

main {
  max-width: 900px;
  margin: 6rem auto 3rem;
  padding: 0 1rem;
  text-align: center;
}

main h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

main p {
  font-size: 1.2rem;
  margin-top: 0;
  color: #66ffd9cc;
}

/* Botão flutuante Telegram */
.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00ffbf;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px #00ffbf;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.telegram-float:hover {
  background-color: #00cc99;
}

.telegram-float svg {
  fill: #0a0a0a;
  width: 28px;
  height: 28px;
}
.menu-toggle {
  display: none; /* no desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2001;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    flex-direction: column;
    background-color: #111;
    position: fixed;
    top: 0;
    right: -250px; /* hidden off-screen */
    width: 250px;
    height: 100vh;
    padding-top: 60px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 8px rgba(0,0,0,0.7);
    z-index: 2000;
  }

  nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #222;
    color: white;
    text-decoration: none;
  }

  nav.show {
    right: 0; /* menu visible */
  }
}
