body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #e0e0e0;
    margin: 0;
}

.calculator {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 320px;
}

#result {
    width: 100%;
    height: 50px;
    font-size: 32px;
    text-align: right;
    border: none;
    border-radius: 10px;
    padding: 10px;
    background: #f0f0f0;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.button {
    height: 60px;
    font-size: 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(45deg, #1f1c2c, #928dab);
    color: white;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.button:hover {
    background: linear-gradient(45deg, #928dab, #1f1c2c);
}

.button:active {
    transform: scale(0.95);
}


.button.gray,
.button.orange {
    background: linear-gradient(45deg,#928dab, #1f1c2c );
}
.button.gray,
.button.orange:hover {
    background: linear-gradient(45deg,#1f1c2c, #928dab );
}


.button.double {
    grid-column: span 2;
}

.button.triple {
    grid-column: span 3;
}




