@font-face {
    font-family: 'GAU_cube_R';
    src: url('fonts/GAU_cube_R.TTF') format('truetype');
}

body {
    background-color: #122222;
    /* Fundo da tela inteira */
    color: #b44f00;

    /* Centralização Flexbox (mantém o que você já tinha) */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza horizontalmente */
    justify-content: center;
    /* Centraliza verticalmente */
    height: 100vh;
    margin: 0;
    font-family: 'GAU_cube_R', sans-serif;
}

@keyframes ellipsis {
    0% {
        content: '';
    }

    25% {
        content: '>';
    }

    50% {
        content: '';
    }

    75% {
        content: '>';
    }
}

.paragrafo-principal::after {
    content: '';
    animation: ellipsis 1s infinite;
    display: inline-block;
    width: 1em;
    text-align: left;
}

/* Estado normal do span (invisível para o layout não quebrar) */
.-char {
    display: inline;
    /* Garante que não quebre linha */
}

/* O estado "piscando" */
.active-blink {
    opacity: 0;
    /* Faz sumir momentaneamente (efeito glitch) */
    transition: opacity 0.1s;
    /* Rapidez do piscar */
}

/* --- Base do Caractere --- */
.ascii-char {
    /* NECESSÁRIO para que o transform funcione sem quebrar o fluxo do texto */
    display: inline-block;
    /* Suaviza o movimento de ida e volta */
    transition: transform 0.05s ease-in-out, opacity 0.1s;
    /* Garante que fiquem alinhados na base da linha */
    vertical-align: baseline;
}

/* --- Efeito 1: Piscar (O que você já tinha) --- */
.active-blink {
    color: #b44f00;
    /* Cor neon opcional */
    opacity: 0.2;
    /* Fica quase invisível */
}

/* --- Efeito 2: Movimento (Novos) --- */
/* Define um valor padrão caso o JS falhe, mas o JS vai sobrescrever isso */
:root {
    --shift-amount: 2px;
}

.glitch-left {
    /* Move para a esquerda usando o valor negativo da variável */
    transform: translateX(calc(var(--shift-amount) * -1));
    /* Opcional: muda a cor ligeiramente quando move */
    color: #b44f00
}

.glitch-right {
    /* Move para a direita */
    transform: translateX(var(--shift-amount));
    /* Opcional: muda a cor ligeiramente quando move */
    color: #b44f00
}

.nav-button {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #b44f00;
    display: block;
    cursor: help;
    box-sizing: border-box;
}

.nav-button.outline {
    background-color: transparent;
    border: 2px solid #b44f00;
    z-index: 2;
}

#ascii-art {
    font-size: 10px;
    line-height: 10px;

    position: relative; /* Mantém no fluxo */
    margin-bottom: 40px; /* Empurra o conteúdo de baixo */
    white-space: pre; /* Garante que a arte não quebre linhas indevidamente */
    text-align: center;

    min-height: 300px; /* A ASCII art 1 tem umas 22 linhas. 22*10px = 220px. Mas testando, só 300 funcionou bem */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    white-space: pre; /* Mantém os espaços em branco */
    text-align: center;

    pointer-events: visiblePainted;
    z-index: 1;

}

#ascii-art2 {
    font-size: 5px;
    line-height: 5px;

    position: relative;
    margin-bottom: 40px;
    white-space: pre;
    text-align: center;

    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: visiblePainted;
    z-index: 1;
}

.about-text {
    width: 100%;
    max-width: 600px;
    /* Limita a largura para leitura ficar confortável */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: justify;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    /* Ocupa a largura disponível da moldura */
    max-width: 800px;
    /* Limite máximo para não ficar gigante em monitores */

    /* A Mágica Moderna: define a proporção do vídeo automaticamente */
    aspect-ratio: 16 / 9;

    /* Estilo para combinar com seu site */
    border: 2px solid #b44f00;
    /* Sua cor laranja */
    margin: 20px auto;
    /* Espaçamento e centralização */
    box-sizing: border-box;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.moldura-principal {
    border: 2px solid #b44f00;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.beta-text {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #b44f00;
    opacity: 1.0;
    z-index: 1000;
}