/* CSS EMBUTIDO - PALETA: #000 (Preto), #FF0000 (Vermelho), #FFF (Branco) */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Courier New', Courier, monospace; /* Terminal Estética */
        }

        body {
            background-color: #000;
            color: #FFF;
            height: 100vh;
            display: flex;
            overflow: hidden;
            border: 2px solid #FF0000;
            position: relative;
        }

        /* GLITCH EFFECT OVERLAY - MAIS INTENSO */
        body.glitch::before {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(255,0,0,0.3) 0%, rgba(0,0,0,0.9) 50%, rgba(255,0,0,0.3) 100%);
            z-index: 9998;
            pointer-events: none;
            animation: glitchOverlay 0.05s infinite;
            mix-blend-mode: multiply;
        }

        body.glitch::after {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(0deg, rgba(255,0,0,0.2) 0px, rgba(0,0,0,0.9) 2px, transparent 3px);
            z-index: 9997;
            pointer-events: none;
            animation: scanline 0.1s linear infinite;
        }

        /* GLITCH MAIS AGRESSIVO */
        body.glitch-intense::before {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(255,0,0,0.6) 0%, rgba(0,0,0,0.9) 50%, rgba(255,0,0,0.6) 100%);
            z-index: 9999;
            pointer-events: none;
            animation: glitchIntense 0.02s infinite;
            mix-blend-mode: multiply;
        }

        body.glitch-intense::after {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(45deg, rgba(255,0,0,0.4) 0px, rgba(0,255,0,0.2) 2px, rgba(0,0,255,0.2) 4px, transparent 6px);
            z-index: 9999;
            pointer-events: none;
            animation: glitchShift 0.03s infinite;
        }

        @keyframes glitchOverlay {
            0% { opacity: 0.5; transform: translate(0); }
            10% { opacity: 0.8; transform: translate(-4px, 2px); }
            20% { opacity: 0.5; transform: translate(4px, -2px); }
            30% { opacity: 0.9; transform: translate(-3px, 3px); }
            40% { opacity: 0.5; transform: translate(3px, -3px); }
            50% { opacity: 0.7; transform: translate(-5px, 1px); }
            60% { opacity: 0.5; transform: translate(5px, -1px); }
            70% { opacity: 0.8; transform: translate(-2px, 4px); }
            80% { opacity: 0.5; transform: translate(2px, -4px); }
            90% { opacity: 0.6; transform: translate(-1px, 1px); }
            100% { opacity: 0.5; transform: translate(0); }
        }

        @keyframes glitchIntense {
            0% { opacity: 0.7; transform: translate(0) scale(1); filter: hue-rotate(0deg); }
            20% { opacity: 1; transform: translate(-10px, 5px) scale(1.02); filter: hue-rotate(90deg); }
            40% { opacity: 0.7; transform: translate(10px, -5px) scale(0.98); filter: hue-rotate(180deg); }
            60% { opacity: 1; transform: translate(-8px, 8px) scale(1.01); filter: hue-rotate(270deg); }
            80% { opacity: 0.7; transform: translate(8px, -8px) scale(0.99); filter: hue-rotate(360deg); }
            100% { opacity: 0.7; transform: translate(0) scale(1); filter: hue-rotate(0deg); }
        }

        @keyframes glitchShift {
            0% { background-position: 0 0; }
            100% { background-position: 20px 20px; }
        }

        @keyframes scanline {
            0% { background-position: 0 0; }
            100% { background-position: 0 20px; }
        }

        /* INTERFERÊNCIA - ESTÁTICA (agora apenas durante glitches) */
        .static-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-radial-gradient(circle at 50% 50%, rgba(255,0,0,0.1) 0px, transparent 2px);
            z-index: 9996;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.1s;
        }

        .static-overlay.active {
            animation: staticFlicker 0.1s infinite;
        }

        @keyframes staticFlicker {
            0% { opacity: 0.1; }
            25% { opacity: 0.3; }
            50% { opacity: 0.1; }
            75% { opacity: 0.4; }
            100% { opacity: 0.1; }
        }

        /* TELA DE TRAVAMENTO/INTERFERÊNCIA */
        .crash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #FF0000;
            font-family: 'Courier New', Courier, monospace;
            border: 10px solid #FF0000;
            animation: crashPulse 0.1s infinite;
        }

        @keyframes crashPulse {
            0% { border-color: #FF0000; opacity: 1; }
            25% { border-color: #00FF00; opacity: 0.9; transform: skew(1deg); }
            50% { border-color: #0000FF; opacity: 1; transform: skew(-1deg); }
            75% { border-color: #FF00FF; opacity: 0.8; transform: skew(2deg); }
            100% { border-color: #FF0000; opacity: 1; transform: skew(0deg); }
        }

        .crash-text {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 30px;
            animation: textFlicker 0.05s infinite;
            text-shadow: 5px 5px 0 #00FF00, -5px -5px 0 #0000FF;
        }

        @keyframes textFlicker {
            0% { opacity: 1; text-shadow: 5px 5px 0 #00FF00, -5px -5px 0 #0000FF; }
            25% { opacity: 0.8; text-shadow: -5px 5px 0 #FF0000, 5px -5px 0 #0000FF; }
            50% { opacity: 1; text-shadow: 5px -5px 0 #00FF00, -5px 5px 0 #FF0000; }
            75% { opacity: 0.7; text-shadow: -5px -5px 0 #0000FF, 5px 5px 0 #FF0000; }
            100% { opacity: 1; text-shadow: 5px 5px 0 #00FF00, -5px -5px 0 #0000FF; }
        }

        .crash-sub {
            font-size: 1.2rem;
            color: #660000;
            margin-top: 50px;
            animation: subFlicker 0.2s infinite;
        }

        @keyframes subFlicker {
            0% { opacity: 0.5; }
            50% { opacity: 1; }
            100% { opacity: 0.5; }
        }

        .crash-dump {
            margin-top: 30px;
            color: #330000;
            font-size: 0.8rem;
            white-space: pre;
            border-top: 1px solid #330000;
            padding-top: 20px;
            width: 80%;
            text-align: center;
            animation: dumpScroll 0.5s linear infinite;
        }

        @keyframes dumpScroll {
            0% { background-position: 0 0; }
            100% { background-position: 0 20px; }
        }

        /* ERROR MESSAGES - MAIS ASSUSTADORES */
        .error-popup {
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #000;
            border: 5px solid #FF0000;
            color: #FF0000;
            padding: 25px;
            z-index: 10000;
            font-size: 1.5rem;
            text-align: center;
            box-shadow: 0 0 50px rgba(255,0,0,0.8);
            animation: errorTerror 0.1s infinite;
            max-width: 90%;
            pointer-events: none;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        @keyframes errorTerror {
            0% { opacity: 1; border-color: #FF0000; transform: translateX(-50%) scale(1); }
            20% { opacity: 0.8; border-color: #00FF00; transform: translateX(-48%) scale(1.02) skew(2deg); }
            40% { opacity: 1; border-color: #0000FF; transform: translateX(-52%) scale(0.98) skew(-2deg); }
            60% { opacity: 0.7; border-color: #FF00FF; transform: translateX(-50%) scale(1.01) skew(1deg); }
            80% { opacity: 1; border-color: #FFFF00; transform: translateX(-50%) scale(0.99) skew(-1deg); }
            100% { opacity: 1; border-color: #FF0000; transform: translateX(-50%) scale(1); }
        }

        /* CORRUPTED TEXT - MAIS INTENSO */
        .corrupted {
            position: relative;
            display: inline-block;
        }

        .corrupted::before,
        .corrupted::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
        }

        .corrupted::before {
            color: #ff0000;
            z-index: -1;
            animation: glitchText 0.05s infinite;
        }

        .corrupted::after {
            color: #00ff00;
            z-index: -2;
            animation: glitchText2 0.03s infinite;
        }

        @keyframes glitchText {
            0% { transform: translate(0); }
            20% { transform: translate(-5px, 2px); }
            40% { transform: translate(5px, -2px); }
            60% { transform: translate(-3px, 4px); }
            80% { transform: translate(3px, -4px); }
            100% { transform: translate(0); }
        }

        @keyframes glitchText2 {
            0% { transform: translate(0); }
            20% { transform: translate(4px, -2px); }
            40% { transform: translate(-4px, 2px); }
            60% { transform: translate(2px, -4px); }
            80% { transform: translate(-2px, 4px); }
            100% { transform: translate(0); }
        }

        /* BARRA LATERAL */
        nav {
            width: 300px;
            border-right: 2px solid #FF0000;
            background-color: #000;
            display: flex;
            flex-direction: column;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        nav::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(0deg, rgba(255,0,0,0.02) 0px, transparent 2px);
            pointer-events: none;
            z-index: 1;
        }

        nav h1 {
            color: #FF0000;
            font-size: 1.2rem;
            margin-bottom: 30px;
            text-align: center;
            border-bottom: 1px solid #FF0000;
            padding-bottom: 10px;
            position: relative;
        }

        nav ul {
            list-style: none;
            position: relative;
            z-index: 2;
        }

        nav ul li {
            margin-bottom: 15px;
        }

        nav ul li a {
            color: #FFF;
            text-decoration: none;
            font-size: 0.9rem;
            display: block;
            padding: 10px;
            border: 1px solid transparent;
            transition: all 0.3s;
        }

        nav ul li a:hover {
            background-color: #FF0000;
            color: #000;
        }

        nav ul li a.active {
            border: 1px solid #FF0000;
            color: #FF0000;
        }

        /* PRINCIPAL */
        main {
            flex-grow: 1;
            padding: 50px;
            overflow-y: auto;
            position: relative;
        }

        /* ESTILIZAÇÃO DAS TAGS DE TEXTO */
        .content-header h2 {
            color: #FF0000;
            font-size: 2rem;
            text-transform: uppercase;
            margin-bottom: 25px;
            border-left: 5px solid #FF0000;
            padding-left: 15px;
        }

        .content-body {
            line-height: 1.6;
            font-size: 1.1rem;
            max-width: 800px;
        }

        .content-body p {
            margin-bottom: 20px;
        }

        .content-body ul {
            margin-left: 20px;
            margin-bottom: 20px;
            color: #FF0000; /* Destaque nas listas */
        }

        .content-body li {
            margin-bottom: 10px;
        }

        .content-body strong {
            color: #FF0000;
            text-transform: uppercase;
        }

        /* ESTILO PARA PÁGINA FINAL*/
        .status-terminal {
            background-color: #000;
            border: 1px solid #FF0000;
            padding: 20px;
            margin-top: 30px;
            color: #FF0000;
        }

        .footer-tag {
            margin-top: 50px;
            font-style: italic;
            border-top: 1px solid #333;
            padding-top: 20px;
            color: #666;
        }

        /* EFEITO DE SCANLINE*/
        body::before {
            content: " ";
            display: block;
            position: absolute;
            top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            z-index: 10;
            background-size: 100% 2px, 3px 100%;
            pointer-events: none;
        }

        .log-entry {
    opacity: 0;
    animation: fadeInLog 0.25s ease-out forwards;
}

@keyframes fadeInLog {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BOTÃO ARCHIVE ACCESS */

.archive-btn {
    position: relative;
    margin-top: 25px;
    background-color: #000;
    color: #FF0000;
    border: 1px solid #FF0000;
    padding: 12px 18px;
    font-size: 0.85rem;
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
}

.archive-btn:hover {
    background-color: #FF0000;
    color: #000;
}

.archive-btn.hidden {
    display: none !important;
}

.archive-btn.visible {
    display: block;
}
/* MIRROR BOX */

.mirror-box {
    border: 1px solid #FF0000;
    padding: 25px;
    margin-top: 30px;
    max-width: 500px;
    background: #000;
    position: relative;
}

.mirror-title {
    color: #FF0000;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.mirror-sub {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.mirror-btn {
    background: #000;
    color: #FF0000;
    border: 1px solid #FF0000;
    padding: 12px 18px;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
}

.mirror-btn:hover {
    background: #FF0000;
    color: #000;
}

/* TEXTO QUE APARECE NO HOVER */

.mirror-hint {
    margin-top: 20px;
    color: #555;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity .4s ease;
}

.mirror-box:hover .mirror-hint {
    opacity: 1;
}

/* LOGIN FAKE */

.fake-login {
    border: 1px solid #FF0000;
    padding: 25px;
    margin-top: 40px;
    max-width: 500px;
    background: #000;
}

.login-sub {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.auth-btn {
    background: #000;
    color: #FF0000;
    border: 1px solid #FF0000;
    padding: 12px 18px;
    cursor: pointer;
    font-family: inherit;
}

.auth-btn:hover {
    background: #FF0000;
    color: #000;
}

.login-field {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login-field label {
    font-size: 0.7rem;
    color: #FF0000;
}

.login-field input {
    background: #000;
    border: 1px solid #FF0000;
    color: #FFF;
    padding: 8px;
    font-family: inherit;
    outline: none;
}

.login-field input:focus {
    box-shadow: 0 0 6px #FF0000;
}

.login-status {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #FF0000;
    min-height: 18px;
}

/* ATMOSPHERIC ADDITIONS */
.system-init-line {
    color: #333;
    font-size: 0.7rem;
    margin-bottom: 8px;
    border-left: 2px solid #330000;
    padding-left: 8px;
}

.archive-marker {
    color: #550000;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.revision-note {
    color: #442222;
    font-size: 0.7rem;
    margin-top: 25px;
    border-top: 1px dashed #330000;
    padding-top: 10px;
}

.instance-log {
    color: #833;
    font-size: 0.8rem;
    margin: 15px 0;
    padding: 8px;
    border-left: 3px solid #440000;
    background: rgba(100,0,0,0.05);
}

.inconsistency-note {
    color: #660000;
    font-size: 0.7rem;
    text-decoration: line-through 1px #330000;
    opacity: 0.7;
}

.legacy-warning {
    color: #440000;
    font-size: 0.7rem;
    margin-top: 10px;
    font-style: italic;
}

.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #FFF;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    border: 4px solid #FF0000;
    box-shadow: inset 0 0 30px rgba(255,0,0,0.2);
}

.boot-content {
    width: 100%;
    max-width: 90%;
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    background-color: #000;
    padding: 30px;
    box-shadow: 10px 10px 0 rgba(255,0,0,0.1);
}

.boot-line {
    color: #bb0000;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    min-height: 30px;
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
}



@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.boot-progress {
    margin-top: 25px;
    color: #333;
    font-size: 0.9rem;
}

.boot-progress-bar {
    width: 100%;
    height: 20px;
    border: 2px solid #FF0000;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.boot-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #FF0000;
    animation: progressFill 4s ease-out forwards;
    animation-delay: 11s;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* REMOVIDO O FADE OUT - AGORA TERMINA COM TRAVAMENTO */
.boot-crash {
    animation: crashTransition 0.5s forwards;
}

@keyframes crashTransition {
    0% { 
        opacity: 1; 
        transform: scale(1) skew(0deg);
        filter: hue-rotate(0deg);
    }
    20% { 
        opacity: 0.9; 
        transform: scale(1.02) skew(2deg);
        filter: hue-rotate(90deg);
    }
    40% { 
        opacity: 0.8; 
        transform: scale(0.98) skew(-2deg);
        filter: hue-rotate(180deg);
    }
    60% { 
        opacity: 0.7; 
        transform: scale(1.03) skew(3deg);
        filter: hue-rotate(270deg);
    }
    80% { 
        opacity: 0.5; 
        transform: scale(0.97) skew(-3deg);
        filter: hue-rotate(360deg);
    }
    100% { 
        opacity: 0; 
        visibility: hidden;
        transform: scale(0) skew(10deg);
        filter: hue-rotate(720deg);
    }
}

.boot-sub {
    color: #440000;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* WINDOWS 95 STYLE DOTS */
.boot-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

/* HARDWARE INFORMATION */
.boot-hardware {
    margin-top: 20px;
    color: #222;
    font-size: 0.7rem;
    border-top: 1px solid #330000;
    padding-top: 15px;
    text-align: center;
}

/* UNAUTHORIZED ACCESS WARNING - MAIS INTENSO */
.unauthorized-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #FF0000;
    font-size: 2.5rem;
    text-align: center;
    border: 15px solid #FF0000;
    animation: warningIntense 0.1s infinite;
    text-shadow: 3px 3px 0 #00FF00, -3px -3px 0 #0000FF;
}

@keyframes warningIntense {
    0% { border-color: #FF0000; opacity: 1; }
    20% { border-color: #00FF00; opacity: 0.9; transform: skew(2deg); }
    40% { border-color: #0000FF; opacity: 1; transform: skew(-2deg); }
    60% { border-color: #FF00FF; opacity: 0.8; transform: skew(3deg); }
    80% { border-color: #FFFF00; opacity: 1; transform: skew(-3deg); }
    100% { border-color: #FF0000; opacity: 1; transform: skew(0deg); }
}

.unauthorized-sub {
    font-size: 1.2rem;
    color: #990000;
    margin-top: 20px;
    animation: subPulse 0.2s infinite;
}

@keyframes subPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* GLITCH TEXT CLASS - MAIS INTENSO */
.glitch-text {
    animation: textGlitchIntense 0.05s infinite;
    color: #FF0000;
}

@keyframes textGlitchIntense {
    0% { transform: skew(0deg); color: #FF0000; }
    20% { transform: skew(5deg); color: #00FF00; }
    40% { transform: skew(-5deg); color: #0000FF; }
    60% { transform: skew(3deg); color: #FF00FF; }
    80% { transform: skew(-3deg); color: #FFFF00; }
    100% { transform: skew(0deg); color: #FF0000; }
}