body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a192f;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a192f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.escondido {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: girar 1s linear infinite;
}

@keyframes girar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fundo-imponente {
    background-image: url('logo-com-fundo-melhorada.png');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; 
    position: relative;
    box-sizing: border-box;
}

.camada-leitura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.caixa-aviso {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    background: rgba(10, 25, 47, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.destaque {
    color: #d4af37;
    font-weight: bold;
}

@media (max-width: 768px) {
    .caixa-aviso {
        padding: 20px;
        width: 92%;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
        padding: 0 10px;
    }
}