    /* --- CSS embutido adaptado do Porão Nerd --- */
@font-face {
    font-family: 'MinhaFonte';
    src: url('/minecraftia/Minecraftia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    color: #fff;
    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 {
    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%;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

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;
}

.main {
    background-color: #1f1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.main h1 {
    font-family: 'MinhaFonte', sans-serif;
    color: #DECD31;
    text-align: center;
    margin-bottom: 1rem;
}

.main h2 {
    color: #DECD31;
    margin-top: 2rem;
}

.main p, .main li {
    font-size: 20px;
    line-height: 1.6;
}

.main ul {
    padding-left: 1.5rem;
}

.main table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #121212;
}

.main table th, .main table td {
    border: 1px solid #DECD31;
    padding: 0.5rem;
    color: #fff;
    text-align: left;
}

hr {
    border: none;
    height: 0.5px;
    background-color: white;
    margin: 2rem 0;
    width: 100%;
}

@media screen and (max-width: 768px) {
    body {
    overflow-x: hidden;
    }

    header, nav ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    }
    header {
        height: 150px; /* ou o tamanho que quiser mostrar inicialmente */
        overflow-y: auto;
        padding: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        scroll-behavior: smooth;
    }

    nav ul {
        max-height: 30px; /* altura inicial */
        overflow-y: hidden; /* esconde o conteúdo extra */
        transition: max-height 0.5s ease-in-out;
    }

    header:focus-within nav ul,
    header:hover nav ul {
        max-height: 300px; /* revela mais itens ao interagir */
    }

    nav ul li {
        font-size: 25px;
    }

    .main {
        margin: 0 auto;
        padding: 1rem;
    }

    .main table, .main table th, .main table td {
        font-size: 14px;
    }
}
.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;
}

/* Responsivo: oculta anúncios em mobile */
.adsbygoogle {
    display: block;
    width: 100%;
    min-width: 300px;
    min-height: 100px;
    margin: 1rem auto;
    text-align: center;
}


/* Estilização adicional para evitar quebra no layout */
.ads-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

/* Versão horizontal adaptada */
.ads-horizontal {
    max-width: 100%;
    min-height: 100px;
}
button {
    color: white;
    background-color: #14F561;
    border-radius: 25px;
    width: 200px;
    height: 50px;
}
img {
    width: 600px;
}
/* Oculta apenas se realmente quiser esconder */
@media screen and (max-width: 480px) {
    .adsbygoogle {
        max-width: 100%;
    }
    video {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    iframe {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    img {
        max-width: 300px;
        height: auto;
        width: 100%;
    }
}
/* Contato */
/* Contato — versão desktop */