css
/* =====================================================
   CONFIGURAÇÃO
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #111;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

.app {
    width: 100%;
    max-width: 650px;
    min-height: 100vh;
    margin: auto;
    padding: 15px;
}


/* =====================================================
   TÍTULO
===================================================== */

.titulo {
    text-align: center;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 28px;
}


/* =====================================================
   NOME
===================================================== */

.nome {
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 8px;
}


/* =====================================================
   DISPLAY
===================================================== */

.display {
    width: 100%;
    height: 155px;
    background: #000;
    border: 4px solid #292929;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;

    box-shadow:
        inset 0 0 20px #000,
        0 0 5px #222;
}


/* =====================================================
   NÚMERO DIGITAL
===================================================== */

.numero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 135px;
}


/* =====================================================
   DÍGITO
===================================================== */

.digito {
    position: relative;
    width: 70px;
    height: 125px;
}


/* =====================================================
   SEGMENTOS
===================================================== */

.segmento {
    position: absolute;
    background: #102000;
    opacity: .20;
}

.segmento.aceso {
    background: #39ff00;
    opacity: 1;

    box-shadow:
        0 0 4px #39ff00,
        0 0 10px #39ff00;
}


/* =====================================================
   HORIZONTAIS
===================================================== */

.a,
.d,
.g {
    width: 52px;
    height: 14px;
    left: 9px;
}


/* =====================================================
   VERTICAIS
===================================================== */

.b,
.c,
.e,
.f {
    width: 14px;
    height: 48px;
}


/* =====================================================
   POSIÇÕES
===================================================== */

.a {
    top: 2px;
}

.f {
    top: 9px;
    left: 2px;
}

.b {
    top: 9px;
    right: 2px;
}

.g {
    top: 55px;
}

.e {
    bottom: 9px;
    left: 2px;
}

.c {
    bottom: 9px;
    right: 2px;
}

.d {
    bottom: 2px;
}


/* =====================================================
   R$
===================================================== */

.moeda {
    color: #39ff00;
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: bold;
    margin-right: 8px;
}


/* =====================================================
   VÍRGULA
===================================================== */

.virgula {
    color: #39ff00;
    font-size: 80px;
    font-weight: bold;
    line-height: 1;
    margin-left: -5px;
    margin-right: -5px;
}



/* =====================================================
   ÚLTIMO PIX
===================================================== */

.ultimo-pix {
    width: 100%;
    height: 75px;
    background: #000;
    border: 3px solid #39ff00;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #39ff00;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;

    box-shadow:
        0 0 8px #39ff00;
}


/* =====================================================
   ÚLTIMA COMPRA
===================================================== */

.ultima-compra {
    width: 100%;
    height: 75px;
    background: #000;
    border: 3px solid #39ff00;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 5px 15px;
    margin-bottom: 15px;

    box-shadow:
        0 0 8px #39ff00;

    box-sizing: border-box;
}


/* =====================================================
   VALOR DA ÚLTIMA COMPRA
===================================================== */

.ultima-compra-valor {
    text-align: center;
    color: #39ff00;
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
}


/* =====================================================
   DESCRIÇÃO
===================================================== */

.ultima-compra-descricao {
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;

    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =====================================================
   DATA
===================================================== */

.ultima-compra-data {
    text-align: center;
    color: #888;
    font-size: 11px;
    line-height: 13px;
}



/* =====================================================
   ÁREA DO PIX
===================================================== */

.pix {
    width: 100%;
    min-height: 230px;
    background: #000;
    border: none;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* =====================================================
   QR CODE
===================================================== */

#qrcode {
    background: white;
    padding: 12px;
    border: 4px solid #39ff00;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 8px #39ff00,
        0 0 15px rgba(57, 255, 0, .35);
}

#qrcode img {
    display: block;
    width: 190px;
    height: 190px;
    object-fit: contain;
}


/* =====================================================
   ERRO DO QR CODE
===================================================== */

#erroQrCode {
    display: none;
    color: #000;
    background: #fff;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}


/* =====================================================
   BOTÃO ADICIONAR DÍVIDA
===================================================== */

.btn-divida {
    width: 100%;
    height: 75px;
    margin-top: 18px;
    background: #39ff00;
    color: #000;
    border: none;
    border-radius: 15px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.btn-divida:active {
    transform: scale(.98);
}


/* =====================================================
   STATUS
===================================================== */

.status {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 500px) {

    .display {
        height: 140px;
    }

    .numero {
        transform: scale(.82);
    }

    .moeda {
        font-size: 32px;
    }

    .nome {
        font-size: 20px;
    }

    .ultimo-pix {
        height: 65px;
        font-size: 28px;
    }

    .ultima-compra {
        min-height: 115px;
    }

    .ultima-compra-valor {
        font-size: 28px;
    }

    .ultima-compra-descricao {
        font-size: 16px;
    }

    #qrcode img {
        width: 170px;
        height: 170px;
    }
}


@media (max-width: 380px) {

    .numero {
        transform: scale(.68);
    }

    .ultimo-pix {
        font-size: 25px;
    }

    .ultima-compra-valor {
        font-size: 25px;
    }

    .ultima-compra-descricao {
        font-size: 15px;
    }

    #qrcode img {
        width: 150px;
        height: 150px;
    }
}

css
/* =====================================================
   AJUSTE GERAL PARA CELULAR
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    overflow-x: hidden;
}


/* =====================================================
   TODOS OS ELEMENTOS RESPEITAM O TAMANHO DA TELA
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* =====================================================
   IMAGENS, VÍDEOS E ELEMENTOS GRANDES
===================================================== */

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}


/* =====================================================
   CONTAINER PRINCIPAL
===================================================== */

body {
    min-height: 100vh;
    min-height: 100dvh;

    overflow-x: hidden;
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 768px) {

    body {
        width: 100%;
        max-width: 100vw;

        overflow-x: hidden;
    }

    .container,
    .form-container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        padding-left: 10px;
        padding-right: 10px;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}


.tela { width: 100%; 
max-width: 100vw; 
overflow: hidden;
}



