body {
  background-color: #2c2b2b;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: sans-serif;
  overflow: hidden;
}

.main-container {
  position: relative;
  width: 1280px; /* Largura da imagem de fundo do frame */
  height: 720px; /* Altura da imagem de fundo do frame */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Alinha os botões na parte inferior */
  padding: 40px 60px;
  box-sizing: border-box;
}

.hud-image {
  width: 100%;
  height: auto;
  display: block; /* Remove espaços extras abaixo da imagem */
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: absolute;
  top: 55px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1050px;
  z-index: 10;
}

.logo-corner {
  width: 70px;
  height: auto;
}

.top-nav {
  display: flex;
  gap: 40px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.top-nav a:hover {
  color: #00fefe; /* Cor do logo */
}



.content-area {
  /* Esta classe pode ser usada para sobrepor conteúdo ao vídeo, se necessário */
  /* Por enquanto, pode ficar vazia ou ser usada para um overlay */
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.content-image {
  display: none;
}

.buttons-container {
  position: relative;
  z-index: 10; /* Garante que os botões fiquem sobre o frame */
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.btn-history,
.btn-google-play,
.btn-swords {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 110px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.btn-history:hover,
.btn-google-play:hover,
.btn-swords:hover {
  transform: scale(1.05);
}

.btn-history {
  background-image: url("../img/home/btnLore.png");
  width: 300px;
  justify-content: flex-end;
  padding-right: 40px;
}

.btn-google-play {
  background-image: url("../img/home/btnGooglePlay.png");
  width: 400px;
  height: 130px; /* Um pouco maior */
}

.btn-swords {
  background-image: url("../img/home/btnSwords.png");
  width: 300px;
  justify-content: flex-end;
  padding-right: 40px;
}

.btn-history span,
.btn-swords span {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
  padding-right: 10%;
}

.btn-history:hover{
    background-image: url("../img/home/btnLoreHover.png");
}
.btn-swords:hover {
    background-image: url("../img/home/btnSwordsHover.png");
}


.video-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%); /* Mantém o ajuste fino que você já tinha */
  width: 76%;
  height: 58%;
  z-index: 2;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsividade */
@media (max-width: 1300px) {
  .main-container {
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    padding: 20px 30px;
  }

  .header {
    max-width: 90%;
    top: 3vw;
  }

  .content-area {
    width: 81.6%; /* (980/1200) */
    height: 62.5%; /* (450/720) */
  }

  .buttons-container {
    max-width: 91.6%; /* (1100/1200) */
  }

  .btn-history,
  .btn-swords {
    width: 25%;
    height: 9.1vw;
    padding-right: 3.3vw;
  }

  .btn-google-play {
    width: 33.3%;
    height: 10.8vw;
  }

  .btn-history span,
  .btn-swords span,
  .top-nav a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .header {
    justify-content: center;
  }
  .logo-corner {
    display: none; /* Oculta o logo do canto para dar espaço */
  }
  .top-nav {
    gap: 20px;
  }
  .top-nav a {
    font-size: 0.8rem;
  }
  .buttons-container {
    flex-direction: column;
    bottom: 2vw;
    gap: 2vw;
  }
  .btn-history,
  .btn-google-play,
  .btn-swords {
    width: 60%;
    height: 15vw;
    background-position: center;
    justify-content: center;
    padding: 0;
  }
  .btn-history span,
  .btn-swords span {
    font-size: 1rem;
    text-align: center;
    width: 100%;
    padding-left: 30%; /* Ajuste para centralizar o texto no espaço vazio */
  }
}

.mainVideo {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  /* A altura será definida pela proporção da imagem/vídeo */
  aspect-ratio: 16 / 9; 
}

.hud-image,
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hud-image {
  object-fit: contain;
  z-index: 5; /* Coloca a imagem do HUD na frente */
}

.video-container {
  z-index: 1; /* Coloca o vídeo atrás */
  /* Ajusta o vídeo para caber na área transparente do HUD */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  width: 90%;
  height: 58%;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
