*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:
    linear-gradient(
        135deg,
        #3b0017,
        #6d1231,
        #f5f5f5
    );

    min-height:100vh;

    padding:40px;
}

.container{

    max-width:1100px;
    margin:auto;
}

.topo{

    text-align:center;
    margin-bottom:40px;
}

.topo h1{

    color:white;

    font-size:42px;

    margin-bottom:12px;

    text-shadow:
    0 2px 10px rgba(0,0,0,0.35);
}

.topo p{

    color:#f2d7df;

    font-size:18px;
}

.card{

    background:rgba(255,255,255,0.97);

    border-radius:22px;

    padding:35px;

    box-shadow:
    0 12px 35px rgba(0,0,0,0.20);

    border:2px solid #e4c6cf;
}

.card h2{

    color:#6d1231;

    margin-bottom:15px;

    font-size:28px;
}

.descricao{

    color:#555;

    margin-bottom:25px;

    line-height:1.6;

    font-size:16px;
}

input{

    width:100%;

    padding:16px;

    border-radius:14px;

    border:2px solid #d8b2bf;

    font-size:16px;

    margin-bottom:20px;

    background:#fff;

    transition:0.3s;
}

input:focus{

    outline:none;

    border-color:#7a1638;

    box-shadow:
    0 0 12px rgba(122,22,56,0.25);
}

button{

    background:#7a1638;

    color:white;

    border:none;

    padding:15px 30px;

    border-radius:14px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;

    box-shadow:
    0 6px 16px rgba(0,0,0,0.15);
}

button:hover{

    background:#5a0d29;

    transform:translateY(-2px);

    box-shadow:
    0 8px 18px rgba(0,0,0,0.20);
}

.resultado-card h1{

    color:#6d1231;

    margin-bottom:25px;

    font-size:34px;
}

.resultado{

    background:#240913;

    color:#ffeef4;

    padding:25px;

    border-radius:16px;

    overflow:auto;

    white-space:pre-wrap;

    font-family:Consolas, monospace;

    line-height:1.7;

    font-size:14px;

    border:1px solid #7a1638;
}

.btn-voltar{

    display:inline-block;

    margin-top:25px;

    background:#7a1638;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:12px;

    font-weight:bold;

    transition:0.3s;
}

.btn-voltar:hover{

    background:#5a0d29;

    transform:translateY(-2px);
}

.links-sistemas{

    margin-top:35px;

    display:flex;

    flex-wrap:wrap;

    gap:15px;
}

.sistema-btn{

    flex:1;

    min-width:240px;

    text-align:center;

    text-decoration:none;

    background:#7a1638;

    color:white;

    padding:16px;

    border-radius:14px;

    font-weight:bold;

    transition:0.3s;

    box-shadow:
    0 6px 18px rgba(0,0,0,0.15);
}

.sistema-btn:hover{

    background:#5a0d29;

    transform:translateY(-3px);
}

.voltar-btn{

    background:#b08a00;
}

.voltar-btn:hover{

    background:#8f6f00;
}

@media(max-width:768px){

    body{
        padding:20px;
    }

    .topo h1{
        font-size:30px;
    }

    .card{
        padding:25px;
    }

    .links-sistemas{
        flex-direction:column;
    }

}
