* {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    background:
        radial-gradient(circle at 50% 45%, rgba(80, 80, 80, 0.16), transparent 30%),
        linear-gradient(135deg, #0b0b0b 0%, #030303 55%, #000000 100%);
    color: #f1f1f1;
    font-family: "Share Tech Mono", monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Linhas de monitor */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.025) 0px,
        rgba(255,255,255,0.025) 1px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.35;
    z-index: 20;
}

/* Vinheta */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 45%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 19;
}

main {
    width: min(900px, 90%);
    text-align: center;
    position: relative;
    z-index: 5;
    animation: aparecer 1.2s ease;
}

/* Pequeno texto acima do título */
main::before {
    content: "NEY CORPORATION // SYSTEM 001";
    display: block;
    color: #666;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

/* Título */
h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1;
    letter-spacing: 8px;
    color: #f5f5f5;
    text-transform: uppercase;
    text-shadow:
        0 0 5px rgba(255,255,255,0.2),
        0 0 25px rgba(255,255,255,0.08);
    animation: brilho 3s infinite alternate;
}

main p {
    color: #8a8a8a;
    font-size: 14px;
    letter-spacing: 5px;
    margin: 22px 0 45px;
}

/* Botões */
button {
    width: min(350px, 90%);
    margin: 13px auto;
    padding: 17px 20px;
    display: block;

    background: linear-gradient(
        180deg,
        #191919 0%,
        #0b0b0b 100%
    );

    color: #eaeaea;
    border: 1px solid #3c3c3c;
    border-left: 3px solid #777;

    font-family: inherit;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

/* brilho passando pelo botão */
button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.09),
        transparent
    );
    transition: left 0.45s ease;
}

button:hover::before {
    left: 140%;
}

button:hover {
    transform: translateX(6px);
    border-color: #aaa;
    border-left-color: #fff;
    background: linear-gradient(
        180deg,
        #222 0%,
        #111 100%
    );
    box-shadow:
        0 0 20px rgba(255,255,255,0.05),
        inset 0 0 15px rgba(255,255,255,0.03);
}

button:active {
    transform: translateX(3px) scale(0.99);
}

/* Caixinha da História/Créditos */
.caixa-mensagem {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.82);

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
    z-index: 50;

    backdrop-filter: blur(5px);
}

.caixa-mensagem.aberta {
    display: flex;
    animation: fundoAbrir 0.25s ease;
}

.mensagem {
    width: min(650px, 95%);
    padding: 35px;

    background:
        linear-gradient(
            135deg,
            #151515 0%,
            #0a0a0a 100%
        );

    border: 1px solid #444;
    border-top: 2px solid #999;

    text-align: center;

    box-shadow:
        0 0 40px rgba(0,0,0,0.9),
        0 0 80px rgba(255,255,255,0.03);

    position: relative;

    animation: caixaAbrir 0.3s ease;
}

/* detalhes nos cantos */
.mensagem::before,
.mensagem::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #888;
}

.mensagem::before {
    top: 10px;
    left: 10px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.mensagem::after {
    bottom: 10px;
    right: 10px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.mensagem h2 {
    margin: 0 0 22px;
    font-size: 28px;
    letter-spacing: 5px;
}

.mensagem p {
    color: #bcbcbc;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
    white-space: pre-line;
}

.mensagem button {
    width: 200px;
    margin-top: 30px;
}

/* Animações */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brilho {
    from {
        opacity: 0.85;
    }

    to {
        opacity: 1;
    }
}

@keyframes fundoAbrir {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes caixaAbrir {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Celular */
@media (max-width: 600px) {
    h1 {
        letter-spacing: 4px;
    }

    main p {
        letter-spacing: 3px;
    }

    .mensagem {
        padding: 25px 20px;
    }
}

/* =========================
   TELA DO JOGO
========================= */

.jogo {
    width: min(1100px, 94%);
    position: relative;
    z-index: 5;
}

.topo {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.camera {
    border: 1px solid #444;
    background: #050505;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.8);
}

.camera-titulo {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 2px;
}

.laboratorio {
    height: 480px;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        #101010;

    background-size: 20px 20px;
}

.mesa {
    position: absolute;
    width: 45%;
    height: 35px;
    left: 28%;
    bottom: 18%;
    background: #242424;
    border: 1px solid #555;
}

.computador {
    position: absolute;
    width: 90px;
    height: 70px;
    left: 43%;
    bottom: 25%;
    background: #161616;
    border: 2px solid #555;
}

.zero {
    position: absolute;
    width: 85px;
    height: 150px;
    right: 18%;
    bottom: 12%;

    background: #202020;
    border: 2px solid #666;

    box-shadow:
        0 0 12

/* =====================================
   TELAS DO JOGO
===================================== */

.tela {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(80, 80, 80, 0.12),
            transparent 45%
        ),
        #030303;

    z-index: 10;
}

.escondida {
    display: none;
}


/* =====================================
   INTRODUÇÃO
===================================== */

.intro-conteudo {

    width: min(800px, 90%);

    text-align: center;

    animation: aparecer 1s ease;

}

.data {

    color: #777;

    font-size: 14px;

    letter-spacing: 5px;

    margin-bottom: 30px;

}


.intro-conteudo h1 {

    font-size: clamp(38px, 7vw, 72px);

    letter-spacing: 7px;

    margin: 0;

}


.linha {

    width: 120px;

    height: 1px;

    background: #666;

    margin: 30px auto;

}


#textoIntro {

    min-height: 80px;

    color: #aaa;

    font-size: 17px;

    line-height: 1.7;

    transition: opacity 0.2s ease;

}


#botaoIntro {

    margin-top: 25px;

}


/* =====================================
   TEXTO DA CÂMERA
===================================== */

.texto-jogo {

    margin-top: 15px;

    padding: 15px;

    border-left: 2px solid #555;

    background: rgba(255,255,255,0.02);

}


.texto-jogo p {

    margin: 0;

    color: #aaa;

    line-height: 1.6;

}


/* =====================================
   PEQUENOS DETALHES DO LABORATÓRIO
===================================== */

.zero {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

}


.olho {

    width: 7px;

    height: 7px;

    background: #aaa;

    border-radius: 50%;

    box-shadow: 0 0 8px rgba(255,255,255,0.5);

}