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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e9362f, #ec6729);
    font-family: Arial, sans-serif;
}

.calculadora {
    width: 320px;
    padding: 25px;
    background-color: #8df19a;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

#pantalla {
    width: 100%;
    height: 70px;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: none;
    border-radius: 15px;
    background-color: #11111c;
    color: white;
    font-size: 28px;
    text-align: right;
}

.botones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

button {
    height: 58px;
    border: none;
    border-radius: 15px;
    background-color: #36364d;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background-color: #4b4b68;
}

button:active {
    transform: scale(0.92);
}

.operador {
    background-color: #8b5cf6;
}

.operador:hover {
    background-color: #7c3aed;
}

#decimal,
#porcentaje {
    background-color: #4b5563;
}

#decimal:hover,
#porcentaje:hover {
    background-color: #6b7280;
}

#borrar {
    background-color: #ef4444;
}

#borrar:hover {
    background-color: #dc2626;
}

#igual {
    grid-column: span 3;
    background-color: #22c55e;
}

#igual:hover {
    background-color: #16a34a;
}