html, body {
  overflow-x: hidden;
}

body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

#main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 2vw 0 2vw;
  box-sizing: border-box;
}

.filme-destaque {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2vw;
  margin-bottom: 2vw;
}

.filme-cartaz {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  border-radius: 6px;
}

.cartaz-placeholder img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.filme-sinopse {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  border-radius: 6px;
}

.sinopse-placeholder {
  font-size: 1.5rem;
  color: #111;
}

.filme-diretor-area {
  display: flex;
  gap: 2vw;
  margin-top: 2vw;
}

.diretor-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 240px;
  gap: 1vw;
}

.diretor-foto-placeholder {
  background: #ddd;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: 6px;
}

.diretor-nome-placeholder {
  background: #ddd;
  width: 90%;
  margin-top: 0.5vw;
  text-align: center;
  padding: 0.5em 0;
  border-radius: 4px;
  font-size: 1rem;
}

.diretor-filmes {
  display: flex;
  gap: 1vw;
  flex: 1;
  align-items: flex-start;
  justify-content: flex-start;
}

.diretor-filme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  background: none;
  gap: 0.5vw;
}

.diretor-filme-cartaz {
  background: #ddd;
  width: 100%;
  aspect-ratio: 1/1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1rem;
}

.diretor-filme-nome {
  background: #eee;
  width: 100%;
  text-align: center;
  padding: 0.3em 0;
  border-radius: 3px;
  font-size: 1rem;
}

.diretor-filme-genero {
  background: #eee;
  width: 90%;
  text-align: center;
  padding: 0.2em 0;
  border-radius: 3px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .filme-destaque {
    grid-template-columns: 1fr;
    gap: 1vw;
  }
  .filme-diretor-area {
    flex-direction: column;
    align-items: stretch;
  }
  .diretor-filmes {
    flex-wrap: wrap;
    justify-content: center;
  }
  .diretor-filme-card {
    width: 45vw;
    min-width: 120px;
    max-width: 180px;
  }
  #main-content {
    padding: 90px 1vw 0 1vw;
  }
}

@media (max-width: 600px) {
  .filme-destaque {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .filme-cartaz, .filme-sinopse {
    min-height: 120px;
    width: 100%;
    max-width: 100vw;
  }
  .cartaz-placeholder img {
    width: 100%;
    max-width: 100vw;
    height: auto;
  }
  .filme-diretor-area {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
  }
  .diretor-foto {
    min-width: 80px;
    max-width: 100vw;
  }
  .diretor-filmes {
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
  }
  .diretor-filme-card {
    width: 100%;
    min-width: 80px;
    max-width: 100vw;
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .diretor-filme-cartaz {
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 1/1.3;
  }
  .diretor-filme-nome, .diretor-filme-genero {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  #main-content {
    padding: 70px 0.2rem 0 0.2rem;
  }
  .filme-cartaz, .filme-sinopse {
    min-height: 120px;
  }
  .sinopse-placeholder {
    font-size: 0.85rem;
  }
  .diretor-foto {
    min-width: 80px;
    max-width: 120px;
  }
  .diretor-filme-card {
    width: 98vw;
    min-width: 80px;
    max-width: 99vw;
    font-size: 0.9rem;
  }
  .diretor-filme-nome, .diretor-filme-genero {
    font-size: 0.85rem;
  }
  .cartaz-placeholder img {
    max-width: 98vw;
  }
}
