body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #121212;
  color: #ffffff;
}

header {
  background-color: #1f1f1f;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #007bff;
}

header h1 {
  margin: 0;
  font-size: 2em;
  font-family: "Roboto", sans-serif;
  color: #007bff;
}

nav {
  background-color: #1f1f1f;
  padding: 10px;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  display: inline-block;
  padding: 15px 25px;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

nav ul li a i {
  margin-right: 8px;
}

nav ul li a:hover {
  background-color: #0056b3;
}

.search-section {
  padding: 20px;
  text-align: center;
}

.search-container {
  position: relative;
  display: inline-block;
}

.search-section input {
  padding: 15px;
  width: 85%;
  max-width: 500px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  padding-right: 40px; 
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none; 
}


main {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.game-item {
  position: relative;
  background-color: #1f1f1f;
  margin: 10px;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 300px;
  box-sizing: border-box;
}

.game-item img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-top: 40px; /* Adiciona mais espaçamento acima da imagem */
}

.game-item .console {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff4500;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2em; /* Aumenta o tamanho do texto */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
}

.game-item .console i {
  margin-right: 5px;
}

.game-item span {
  margin-bottom: 10px;
  font-size: 1.4em;
  color: #ffa500;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.download-button {
  padding: 10px 20px;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%; /* Faz o botão ocupar toda a largura do container */
  text-align: center;
  margin-top: auto; /* Empurra o botão para o fundo do container */
}

.download-button:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.5em;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .search-section input {
    width: calc(100% - 40px);
  }

  .game-item {
    width: calc(100% - 40px);
    height: auto;
  }

  .game-item img {
    width: 100%;
    height: auto;
  }

  .game-item .console {
    top: 0;
    font-size: 1em;
  }

  .download-button {
    width: 100%;
  }
}

#install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #007bff;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.install-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.install-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

#install-button,
#dismiss-button {
  background-color: white;
  color: #007bff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}

#install-button:hover,
#dismiss-button:hover {
  background-color: #0056b3;
  color: white;
}

/* Estilo atualizado para o banner de aviso */
.aviso-link {
  background-color: #333; /* cor de fundo escura para combinar com o site */
  color: #fff; /* cor do texto clara para contraste */
  padding: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 40%;
}

@media (max-width: 768px) {
  .aviso-link {
    font-size: 14px;
    padding: 15px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .aviso-link {
    font-size: 14px;
    padding: 10px;
    max-width: 80%;
  }
}
