17/17 Игра теней: подойдет ли такой способ решения задачи?

html,
body {
  margin: 0;
  padding: 0;
  width: 300px;
  background-color: #ecf0f1;
  font-size: 18px;
  font-family: "Arial", sans-serif;
}

.btn {
  display: block;
  position: relative;
  margin: 0 25px;
  margin-top: 100px;
  padding: 20px 0;
  width: 250px;
  border: none;
  box-sizing: content-box;
  background-color: #2c3e50;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font: inherit;
  line-height: 20px;
  box-shadow:
    0 -20px 0 -10px #c0392b,
    0 -40px 0 -20px #e74c3c,
    0 20px 0 -10px #2980b9,
    0 40px 0 -20px #3498db,
    inset 0 5px 0 0 #2ecc71,
    inset 0 -5px 0 0 #16a085;
}

.btn::before {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  right: 0;
  width: 50%;
  height: 5px;
  background-color: #16a085;
}

.btn::after {
  position: absolute;
  content: '';
  display: block;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 5px;
  background-color: #2ecc71;
}