*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{

height:100vh;

display:flex;
justify-content:center;
align-items:center;

background:linear-gradient(135deg,#0f172a,#1e293b,#334155);

overflow:hidden;
}

.container{

display:flex;
justify-content:center;
align-items:center;

width:100%;
padding:20px;

}

.calculator{

width:360px;

padding:25px;

border-radius:25px;

background:rgba(255,255,255,0.08);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,0.2);

box-shadow:

0 10px 40px rgba(0,0,0,.45),

0 0 40px rgba(0,255,255,.08);

}

.display{

margin-bottom:20px;

}

.display input{

width:100%;

height:90px;

border:none;

outline:none;

border-radius:18px;

background:rgba(255,255,255,.08);

padding:20px;

font-size:36px;

font-weight:600;

text-align:right;

color:white;

box-shadow:inset 0 0 12px rgba(0,0,0,.25);

}

.buttons{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:15px;

}

button{

height:70px;

border:none;

border-radius:18px;

font-size:22px;

font-weight:600;

cursor:pointer;

transition:.3s;

background:rgba(255,255,255,.08);

color:white;

backdrop-filter:blur(10px);

box-shadow:

0 6px 15px rgba(0,0,0,.2);

}

button:hover{

transform:translateY(-4px);

background:rgba(255,255,255,.15);

box-shadow:

0 12px 20px rgba(0,0,0,.25);

}

button:active{

transform:scale(.95);

}

.operator{

background:linear-gradient(135deg,#06b6d4,#3b82f6);

}

.operator:hover{

background:linear-gradient(135deg,#22d3ee,#2563eb);

}

.equal{

grid-column:span 2;

background:linear-gradient(135deg,#10b981,#22c55e);

}

.equal:hover{

background:linear-gradient(135deg,#34d399,#16a34a);

}

.clear{

background:linear-gradient(135deg,#ef4444,#dc2626);

}

.delete{

background:linear-gradient(135deg,#f59e0b,#d97706);

}

@media(max-width:450px){

.calculator{

width:100%;

}

button{

height:65px;

font-size:20px;

}

.display input{

height:80px;

font-size:30px;

}

}
