body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}
.calculator {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 330px;
    margin: auto;
}
h2{
    font-size: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.display {
    height: 50px;
    font-size: 2em;
    text-align: right;
    margin-bottom: 10px;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: #eee;
    width: 90%;
}
.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
button {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    border: none;
    border-radius: 10px;
    background: #ffcc00;
    cursor: pointer;
    margin: 10px;
}
button:hover {
    background: #ffdb4d;
}
.equal {
    background: #ff5733;
    color: #fff;
}