* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.calculator {
    background: #1e293b;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 340px;
}
#display {
    width: 100%;
    height: 70px;
    background-color: #0f172a;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 15px 20px;
    overflow-x: auto;
    color: #38bdf8;
    font-size: 32px;
    text-align: right;
    margin-bottom: 25px;
}
.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.btn {
    height: 60px;
    border: none;
    outline: none;
    border-radius: 12px;
    background: #334155;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn:hover {
    background: #475569;
}
.btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}
.operator {
    color: #fb923c;
    background: #334155;
}
.operator:hover {
    background: #475569;
}
.equal {
    background: #0284c7;
    color: #fff;
}
.equal:hover {
    background: #0369a1;
}

