*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    background:linear-gradient(135deg,#141e30,#243b55);
}

.calculator{
    width:400px;
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:20px;
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
}

.title{
    text-align:center;
    color:white;
    margin-bottom:15px;
    font-size:28px;
}

#display{
    width:100%;
    height:70px;
    border:none;
    outline:none;
    border-radius:15px;
    text-align:right;
    padding:15px;
    font-size:28px;
    margin-bottom:15px;
    background:#fff;
}

.buttons{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
}

button{
    height:60px;
    border:none;
    border-radius:12px;
    font-size:18px;
    cursor:pointer;
    transition:0.3s;
    font-weight:bold;
}

button:hover{
    transform:scale(1.05);
}

.number{
    background:#ecf0f1;
}

.operator{
    background:#f39c12;
    color:white;
}

.function{
    background:#3498db;
    color:white;
}

.equal{
    background:#2ecc71;
    color:white;
}

.clear{
    background:#e74c3c;
    color:white;
}