/* --- ESTILOS PARA A ANIMAÇÃO DE ABERTURA --- */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* CORREÇÃO AQUI: Usando a cor AREIA (#FDF3E7) com transparência */
    background-color: rgba(253, 243, 231, 0.95); 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.video-container {
    width: 70vmin;
    height: 70vmin;
    background-color: #000;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    aspect-ratio: 1 / 1;
}

#loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: auto;
}

#loading-text-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 30px;
    height: 50px;
}

.loading-text {
    position: absolute;
    top: 0; left: 0; right: 0;
    font-size: 1.4em;
    font-weight: 100;
    color: #4A3F35;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Esconde o conteúdo principal inicialmente */
#main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in 0.3s;
}

/* --- LÓGICA PARA NÃO REPETIR ANIMAÇÃO --- */

/* Esconde o overlay imediatamente se a animação já foi vista */
body.splash-seen #loading-overlay {
    display: none;
}

/* Mostra o conteúdo imediatamente se a animação já foi vista */
body.splash-seen #main-content {
    opacity: 1;
    transition: none;
}