@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body{
  background: #0b0b0d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* CONTENEDOR PRINCIPAL */
.calc{
  width: 390px;
  padding: 25px;
  border-radius: 22px;
  background: linear-gradient(180deg, #131316, #0e0e10);
  box-shadow: 0 10px 35px rgba(0,0,0,.65), inset 0 1px 1px rgba(255,255,255,0.03);
}

/* DISPLAY */
.display-wrap{
  background: #0a0a0c;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 6px rgba(255,255,255,0.06);
}

.display{
  width: 100%;
  border: none;
  outline: none;
  font-size: 32px;
  color: white;
  background: transparent;
  text-align: right;
}

/* GRID */
.keys{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

/* BOTONES */
button{
  padding: 14px;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  background: #1d1d22;
  color: white;
  cursor: pointer;
  transition: 0.18s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

button:hover{
  background: #26262d;
  transform: translateY(-2px);
}

button:active{
  transform: scale(0.96);
}

/* OPERADORES */
.op{
  background: #2e355f;
}
.op:hover{
  background: #39427a;
}

/* IGUAL */
.equal{
  grid-column: span 2;
  background: #4b8af0;
}
.equal:hover{
  background: #5b9dff;
}

/* CLEAR */
.clear{
  background: #7a1f1f;
}
.clear:hover{
  background: #962828;
}
