body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to top left, #0f2027, #203a43, #2c5364);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#calculator {
    background: #1e1e1e;
    border-radius: 20px;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

#display {
    width: 100%;
    padding: 25px;
    font-size: 3rem;
    text-align: right;
    border: none;
    background-color: #2b2b2b;
    color: #f8f8f8;
    box-sizing: border-box;
    outline: none;
}

#keys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px;
}

button {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: none;
    background-color: #3c3c3c;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #4a4a4a;
    transform: scale(1.05);
    cursor: pointer;
}

button:active {
    background-color: #5a5a5a;
    transform: scale(0.95);
}

.operator-Btn {
    background-color: #f39c12;
    color: #fff;
}

.operator-Btn:hover {
    background-color: #f5a623;
}

.operator-Btn:active {
    background-color: #e58e00;
}
