/* Reset e fonte padrão */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* Fundo dinâmico e overlay escuro */
.fundo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: background-image 1s ease-in-out;
  filter: blur(8px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: -1;
}

/* Cabeçalho fixo */
header {
  width: 100%;
  padding: 12px 30px;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.logo {
  height: 40px;
}

.topo-direita {
  display: flex;
  align-items: center;
  gap: 12px;
}

select#idioma {
  padding: 6px;
  border-radius: 4px;
  background-color: #111;
  color: #fff;
  border: none;
}

/* Botões do topo */
.btn-topo {
  background-color: #e50914;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  display: inline-block;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.btn-topo:hover {
  background-color: #f6121d;
}

/* Conteúdo principal */
main {
  padding-top: 120px;
  padding-bottom: 60px;
}
.fala-robo {
  position: fixed;
  bottom: 140px;
  right: 130px;
  background: #222;
  color: #0f0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,255,0,0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  z-index: 1001;
}
.fala-robo.mostrar {
  opacity: 1;
  transform: scale(1);
}

/* Destaque principal */
.destaque-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px 20px;
  border-radius: 10px;
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.destaque-box h1 {
  font-size: 26px;
  margin-bottom: 16px;
}

.destaque-box p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Botão de destaque */
.btn-vamos {
  background-color: #e50914;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  font-size: 16px;
}

.btn-vamos:hover {
  background-color: #f6121d;
}

/* Seção de filmes */
.card-filmes {
  background-color: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto 60px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  overflow-x: auto;
}

.filmes-scroll {
  display: flex;
  justify-content: center; /* centraliza os filmes */
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}


.filme {
  flex: 0 0 auto;
  width: 160px;
  background-color: #111;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.filme img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Modal de trailer */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  overflow: auto;
}

.modal-content {
  background-color: #111;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  text-align: center;
}

.modal-content h2 {
  margin-top: 20px;
  font-size: 24px;
}

.modal-content p {
  margin: 15px 0;
  font-size: 16px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

/* Formulário de cadastro */
.cadastro-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: 60px auto;
  text-align: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.cadastro-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
}

.cadastro-box button {
  background-color: #e50914;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cadastro-box button:hover {
  background-color: #f6121d;
}

.cadastro-box p {
  font-size: 14px;
  margin-top: 10px;
}

.cadastro-box a {
  color: #00ffcc;
  text-decoration: none;
}

.cadastro-box a:hover {
  text-decoration: underline;
}

/* Rodapé */
footer {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  padding: 20px 16px;
  background-color: rgba(0,0,0,0.8);
  margin-top: auto;
  line-height: 1.4;
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 8px;
  background-color: rgba(0,0,0,0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.logo {
  height: 36px;
}

.topo-direita {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
input, select, button, a {
  font-size: 16px;
}

.btn-topo {
  font-size: 16px; /* evita zoom automático */
  padding: 10px 16px;
  min-width: 100px;
  max-width: 140px;
  white-space: nowrap;
  flex: 1 1 auto;
  background-color: #e50914;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: background-color 0.3s ease;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

input, select, button, a {
  font-size: 16px;
}

.btn-topo:hover {
  background-color: #f6121d;
}

select#idioma {
  font-size: 14px;
  padding: 6px 10px;
  max-width: 100px;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
}

/* Responsivo para celular */
@media (max-width: 600px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
  }
  
@media (max-width: 600px) {
  body {
    transform: scale(1.05);
    transform-origin: top center;
  }
}

  .logo {
    height: 32px;
  }

  .topo-direita {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-topo {
    font-size: 14px;
    padding: 8px 12px;
    max-width: 120px;
    white-space: nowrap;
    flex: 1 1 auto;
  }

  select#idioma {
    font-size: 14px;
    padding: 6px 10px;
    max-width: 100px;
  }
}


  .btn-topo {
    width: 100%;
    text-align: center;
  }

  .filmes-scroll {
    padding: 10px 16px;
  }

  .filme {
    width: 130px;
    padding: 8px;
  }

  .filme img {
    max-height: 140px;
  }
}
