* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    background: #050505;

    color: white;

    font-family: Arial, Helvetica, sans-serif;

    overflow: hidden;
}


/* =========================
   UTILITÁRIO
========================= */

.escondido {
    display: none !important;
}


/* =========================
   TELAS
========================= */

.tela {

    width: 100vw;
    height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background:
        radial-gradient(
            circle,
            #391010,
            #080808 70%
        );

}


/* =========================
   LOGO
========================= */

.logo {

    text-align: center;

    margin-bottom: 40px;

}


.pizza-logo {

    font-size: 80px;

    filter:
        drop-shadow(
            0 0 20px #ff1717
        );

}


.logo h1 {

    font-size: 70px;

    letter-spacing: 8px;

    color: #fff;

    text-shadow:
        0 0 10px red,
        0 0 25px red,
        0 0 50px #800000;

}


.logo p {

    margin-top: 15px;

    color: #aaa;

    letter-spacing: 4px;

}


/* =========================
   BOTÕES
========================= */

button {

    border: none;

    padding: 15px 30px;

    margin: 7px;

    border-radius: 8px;

    color: white;

    font-weight: bold;

    font-size: 16px;

    background:
        linear-gradient(
            135deg,
            #8d0000,
            #ed1515
        );

    cursor: pointer;

    transition: .2s;

}


button:hover {

    transform: scale(1.06);

    box-shadow:
        0 0 25px red;

}


button:active {

    transform: scale(.95);

}


/* =========================
   MANUAL
========================= */

.manual {

    position: absolute;

    width: 430px;

    padding: 30px;

    background: #101010;

    border: 2px solid #e00000;

    border-radius: 15px;

    box-shadow:
        0 0 50px #500000;

    text-align: center;

}


.manual h2 {

    margin-bottom: 20px;

}


.manual p {

    margin: 10px;

    color: #ddd;

}


/* =========================
   HUD
========================= */

.hud {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    min-height: 75px;

    padding: 10px;

    display: flex;

    justify-content: space-around;

    align-items: center;

    background:
        rgba(0,0,0,.92);

    border-bottom: 2px solid #a00000;

    z-index: 1000;

}


.hud-box {

    min-width: 110px;

    text-align: center;

    font-size: 15px;

    font-weight: bold;

}


.barra {

    width: 120px;

    height: 8px;

    margin: 5px auto;

    background: #333;

    border-radius: 10px;

    overflow: hidden;

}


#barraVida {

    width: 100%;

    height: 100%;

    background: #00d26a;

    transition: .3s;

}


/* =========================
   CENÁRIO
========================= */

#cenario {

    position: relative;

    width: 100vw;

    height: 100vh;

    overflow: hidden;

}


.chao {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.25),
            rgba(0,0,0,.65)
        ),
        repeating-linear-gradient(
            0deg,
            #222 0px,
            #222 48px,
            #1d1d1d 49px,
            #1d1d1d 50px
        );

}


/* =========================
   PAREDES
========================= */

.parede {

    position: absolute;

    background:
        linear-gradient(
            #272727,
            #121212
        );

    z-index: 5;

}


.parede-topo {

    top: 75px;

    width: 100%;

    height: 30px;

    border-bottom: 3px solid #555;

}


.parede-esquerda {

    left: 0;

    top: 75px;

    width: 25px;

    height: 100%;

}


.parede-direita {

    right: 0;

    top: 75px;

    width: 25px;

    height: 100%;

}


/* =========================
   PLACA
========================= */

.placa {

    position: absolute;

    left: 50%;

    top: 110px;

    transform: translateX(-50%);

    padding: 15px 35px;

    background: #111;

    border: 2px solid #e00000;

    color: #ff3030;

    font-size: 24px;

    font-weight: bold;

    box-shadow:
        0 0 25px #770000;

    z-index: 10;

}


.placa small {

    display: block;

    text-align: center;

    font-size: 10px;

    color: white;

    letter-spacing: 3px;

}


/* =========================
   BALCÃO
========================= */

.balcao {

    position: absolute;

    left: 50%;

    bottom: 100px;

    transform: translateX(-50%);

    width: 430px;

    height: 75px;

    background:
        linear-gradient(
            #77411f,
            #38200f
        );

    border: 4px solid #a26135;

    border-radius: 10px;

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 10;

    box-shadow:
        0 10px 30px #000;

}


.balcao span {

    font-weight: bold;

    letter-spacing: 4px;

}


.caixa {

    position: absolute;

    right: 20px;

    font-size: 35px;

}


/* =========================
   FORNO
========================= */

.forno {

    position: absolute;

    left: 60%;

    top: 220px;

    width: 120px;

    height: 120px;

    border-radius: 50%;

    background: #181818;

    border: 5px solid #444;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 50px;

    box-shadow:
        inset 0 0 30px black;

}


.forno span {

    position: absolute;

    bottom: -25px;

    font-size: 11px;

}


/* =========================
   MESAS
========================= */

.mesa {

    position: absolute;

    width: 130px;

    height: 70px;

    background: #633617;

    border-radius: 50%;

    border: 5px solid #8d512b;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 30px;

}


.mesa1 {

    left: 100px;

    top: 280px;

}


.mesa2 {

    right: 100px;

    top: 400px;

}


/* =========================
   PORTA
========================= */

.porta {

    position: absolute;

    right: 50px;

    top: 120px;

    width: 100px;

    height: 150px;

    background: #302015;

    border: 5px solid #67452b;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    font-size: 45px;

}


.porta span {

    font-size: 10px;

}


/* =========================
   CAMERA
========================= */

#camera {

    position: absolute;

    right: 30px;

    top: 300px;

    font-size: 35px;

    filter:
        drop-shadow(
            0 0 10px #00aaff
        );

}


/* =========================
   CLIENTES
========================= */

.cliente {

    position: absolute;

    width: 85px;

    height: 95px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background:
        rgba(0,0,0,.65);

    border: 2px solid #666;

    border-radius: 12px;

    z-index: 20;

    transition: .2s;

}


.cliente:hover {

    border-color: #00bfff;

    box-shadow:
        0 0 20px #0088aa;

}


.personagem {

    font-size: 45px;

}


.cliente span {

    font-size: 11px;

    color: #ddd;

}


#cliente0 {

    left: 70px;

    top: 170px;

}


#cliente1 {

    left: 300px;

    top: 180px;

}


#cliente2 {

    right: 180px;

    top: 180px;

}


#cliente3 {

    left: 120px;

    bottom: 170px;

}


#cliente4 {

    right: 80px;

    bottom: 100px;

}


/* =========================
   JOGADOR
========================= */

#jogador {

    position: absolute;

    left: 50%;

    bottom: 200px;

    width: 70px;

    height: 70px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 52px;

    z-index: 50;

    filter:
        drop-shadow(
            0 0 10px white
        );

}


.nome-jogador {

    position: absolute;

    top: 65px;

    font-size: 8px;

    width: 100px;

    text-align: center;

    color: #aaa;

}


/* =========================
   BANDIDO
========================= */

#bandido {

    position: absolute;

    left: 88%;

    top: 75%;

    width: 80px;

    height: 100px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    z-index: 45;

    opacity: 0;

    transition: .15s;

}


.bandido-personagem {

    font-size: 55px;

    filter:
        drop-shadow(
            0 0 15px red
        );

}


#bandido span {

    color: red;

    font-size: 10px;

    font-weight: bold;

}


/* =========================
   AÇÕES
========================= */

.acoes {

    position: fixed;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 100;

    display: flex;

}


#btnPerguntar {

    background:
        linear-gradient(
            135deg,
            #006fae,
            #00aaff
        );

}


#btnLanterna {

    background:
        linear-gradient(
            135deg,
            #555,
            #999
        );

}


#btnAtacar {

    background:
        linear-gradient(
            135deg,
            #770000,
            #ff2020
        );

}


/* =========================
   ALERTA
========================= */

.alerta {

    position: fixed;

    top: 95px;

    left: 50%;

    transform: translateX(-50%);

    padding: 15px 30px;

    background: #500000;

    border: 2px solid red;

    border-radius: 10px;

    z-index: 500;

    font-weight: bold;

    animation: alerta 0.5s infinite alternate;

}


.alerta span {

    margin-left: 10px;

}


@keyframes alerta {

    from {
        opacity: .5;
    }

    to {
        opacity: 1;
    }

}


/* =========================
   MENSAGEM
========================= */

.mensagem {

    position: fixed;

    left: 50%;

    bottom: 95px;

    transform: translateX(-50%);

    padding: 12px 25px;

    background: rgba(0,0,0,.9);

    border: 1px solid #555;

    border-radius: 8px;

    z-index: 400;

}


/* =========================
   MODAL
========================= */

.modal {

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background:
        rgba(0,0,0,.8);

    z-index: 2000;

}


.pedido {

    width: 450px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #1b1b1b,
            #080808
        );

    border: 2px solid #e00000;

    border-radius: 15px;

    box-shadow:
        0 0 50px #570000;

}


.pedido h2 {

    text-align: center;

    margin-bottom: 25px;

}


.fala {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    margin-bottom: 20px;

    background: #111;

    border-radius: 10px;

}


.avatar {

    font-size: 40px;

}


.fala p {

    color: #ddd;

}


.pedido label {

    display: block;

    margin-bottom: 8px;

}


.pedido input {

    width: 100%;

    padding: 14px;

    border-radius: 8px;

    border: 2px solid #444;

    outline: none;

    background: #050505;

    color: white;

    font-size: 16px;

}


.pedido input:focus {

    border-color: red;

    box-shadow:
        0 0 15px red;

}


.botoes-pedido {

    text-align: center;

    margin-top: 15px;

}


/* =========================
   CÂMERA
========================= */

.camera-tela {

    position: fixed;

    inset: 0;

    z-index: 3000;

    background: #030303;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


.camera-header {

    font-size: 22px;

    margin-bottom: 20px;

    color: #00aaff;

}


.camera-imagem {

    position: relative;

    width: 700px;

    height: 400px;

    border: 4px solid #555;

    background:
        radial-gradient(
            circle,
            #444,
            #050505
        );

    display: flex;

    align-items: center;

    justify-content: center;

}


.camera-grid {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 95%,
            #00ffff22 95%
        );

    background-size: 100% 20px;

}


#cameraTexto {

    font-size: 20px;

    color: #00ffff;

    z-index: 2;

}


/* =========================
   FINAL
========================= */

#finalIcone {

    font-size: 90px;

}


#final h1 {

    font-size: 55px;

    margin: 20px;

    text-shadow:
        0 0 25px red;

}


#final p {

    font-size: 20px;

    margin: 10px;

}


.resultado {

    margin: 25px;

    padding: 20px;

    background: #111;

    border: 1px solid #444;

    border-radius: 10px;

}