body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    /* Um degradê moderno para o fundo */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.calculadora {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 320px;
}

h2 {
    color: #4a148c;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

input {
    display: block;
    margin: 15px auto;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 90%;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #764ba2;
    box-shadow: 0 0 8px rgba(118, 75, 162, 0.3);
}

.botoes {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Coloca os botões em duas colunas */
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 12px;
    cursor: pointer;
    background-color: #764ba2;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 50px
}

button:hover {
    background-color: #5a368a;
    transform: translateY(-2px); /* Efeito de flutuar ao passar o mouse */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0); /* Efeito de clique */
}

#resultado {
    margin-top: 25px;
    padding: 15px;
    background-color: #f3e5f5;
    border-radius: 10px;
    color: #4a148c;
    font-weight: bold;
    font-size: 1.2rem;
}