body, html {
    height: 100vh;
    margin: 0;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    position: relative;
    font-family: Arial, sans-serif;
}
/* Splash Container */
.splash-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px; /* Espaço superior opcional */
    padding: 10px 0;
    position: sticky; /* Fixa no topo da tela ao rolar */
    top: 0;
    z-index: 1000; /* Certifica que a logo está sobre outros elementos */
}

.logo {
    max-width: 330px; /* Tamanho máximo da logo */
    width: 20%; /* Responsivo */
    height: auto; /* Mantém a proporção */
}
/* Botões acima do footer */
.buttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
.buttons button:hover {
    background: rgba(255, 255, 255, 0.3);
}
    /* Tela de carregamento */
    .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 1;
        transition: opacity 0.5s ease-out;
    }
    .loading-screen.fade-out {
        opacity: 0;
        pointer-events: none;
    }

    /* Spinner (círculo giratório) */
    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(255, 255, 255, 0.3); /* Cor externa */
        border-top: 5px solid #fff; /* Cor giratória */
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    /* Animação de rotação */
    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }
/* Botões fixos à esquerda */
.fixed-buttons {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fixed-buttons a {
    background-color: #444;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.fixed-buttons a:hover {
    background-color: #666;
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: 1;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.70); /* Aumento de opacidade para 80% */
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Footer */
.footer {
    position: fixed; /* Mudado para fixed para estar sempre visível */
    bottom: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 14px;
    z-index: 4; /* Garante que o rodapé esteja acima dos outros elementos */;
}
.footer a {
    color: #0d6efd;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.image-container img {
    border-radius: 10px; /* Bordas arredondadas */
    margin: 2px;         /* Espaçamento entre imagens */
    height: 65px;        /* Altura fixa */
    width: 125px;        /* Largura fixa */
    transition: transform 0.2s; /* Animação para hover opcional */
}

.image-container img:hover {
    transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

.ad-item {
    display: none;
    transition: opacity 0.5s ease-in-out;
}
.ad-item.active {
    display: block;
    opacity: 1;
}

/* Para telas maiores (ex.: monitores widescreen) */
@media (min-width: 1920px) {
    .logo {
        max-width: 400px;
        width: 25%; /* Aumenta a logo */
    }

    .buttons button {
        padding: 15px 30px; /* Botões maiores */
        font-size: 18px;
    }

    .spinner {
        width: 70px;
        height: 70px;
        border: 7px solid rgba(255, 255, 255, 0.3);
        border-top: 7px solid #fff;
    }
	
    .image-container img {
        height: 75px; /* Reduz tamanho da imagem */
        width: 150px;
    }	
}

/* Para telas pequenas (ex.: smartphones) */
@media (max-width: 767px) {
    .logo {
        max-width: 250px;
        width: 30%; /* Menor logo */
    }

    .buttons {
        flex-direction: column; /* Botões em coluna */
        gap: 10px;
    }

    .buttons button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(255, 255, 255, 0.3);
        border-top: 5px solid #fff;
    }

    .fixed-buttons a {
        padding: 8px 15px; /* Botões laterais menores */
        font-size: 14px;
    }

    .image-container img {
        height: 35px; /* Reduz tamanho da imagem */
        width: 80px;
    }
}

