/* Fonte personalizada */
@font-face {
  font-family: 'MinhaFonte';
  src: url('/minecraftia/Minecraftia-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base do corpo */
body {
  font-family: sans-serif;
  margin: 0;
  background-color: #f0f0f0;
  color: #333;
  background-image: url('/imagens/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
header {
  font-family: 'MinhaFonte', sans-serif;
  background-color: black;
  color: #DECD31;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Navegação */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #ddd;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #DECD31;
  color: #202020;
  font-weight: bold;
}

/* Conteúdo principal */
.main {
  background-color: #1f1a1a;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 0 auto;
  max-width: 900px;
  height: 100%;
  margin-left: 360px;
  margin-right: 180px;
  box-sizing: border-box;
}

.main h1 {
  font-family: 'MinhaFonte', sans-serif;
  color: #DECD31;
}

.main p,
.main li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
}

.main img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

/* Linha divisória */
hr {
  border: none;
  height: 0.5px;
  background-color: white;
  margin: 2rem 0;
  width: 100%;
}

/* Produto */
.produto {
  background-color: #121212;
  border: 2px solid #DECD31;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  width: 90%;
  max-width: 700px;
}

.produto h1 {
  font-family: 'MinhaFonte', sans-serif;
  font-size: 2rem;
  color: #DECD31;
  margin-bottom: 1rem;
}

.produto h3 {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 1.5rem;
}

.produto img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin: 1rem auto;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.produto button {
  background-color: #DECD31;
  color: #202020;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.produto button:hover {
  background-color: #ffeb3b;
  color: #000;
}

.produto a {
  text-decoration: none;
  color: inherit;
}

/* Anúncios laterais */
.ads-lateral-esquerda,
.ads-lateral-direita {
  position: fixed;
  width: 160px;
  z-index: 999;
  padding: 0.5rem;
}

/* Esquerda */
.ads-lateral-esquerda.topo {
  top: 120px;
  left: 0;
}
.ads-lateral-esquerda.meio {
  top: 360px;
  left: 0;
}

/* Direita */
.ads-lateral-direita.topo {
  top: 120px;
  right: 0;
}
.ads-lateral-direita.meio {
  top: 360px;
  right: 0;
}
/* Contato — versão desktop */


/* Mobile */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .main {
    margin: 0 auto;
    padding: 1rem;
    max-width: 100%;
  }

  .main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  header,
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  nav ul li {
    font-size: 18px;
    word-break: break-word;
    margin: 0.5rem 0;
  }

  .ads-lateral-esquerda,
  .ads-lateral-direita {
    display: none;
  }
  video {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  iframe {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

/* Contato */
