body {
  background: url(../images/tetris.webp);
  background-attachment: fixed;
  background-size: cover;
  font-family: "Comic Sans MS", "Arial", sans-serif;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.labels {
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  color: #2d3436;
  margin-bottom: 20px;
  text-shadow: 1px 1px #ffd32a;
}

.frame {
  margin: auto;
  padding: 10px;
  width: 74px;
  border: 3px dashed #fbc531;
  border-radius: 10px;
  background-color: #f6e58d;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.btn {
  display: block;
  margin: 10px auto;
  background-color: #ff4757;
  color: #ffffff;
  padding: 15px 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0px 4px #e84118;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0px 2px #e84118;
}

.btn-rounded {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0067ce;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0px 4px #035ba3;
}

#outer-board {
  width: 425px;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#board {
  position: relative;
  background-color: #ffffff;
  width: 305px;
  height: 485px;
  border: 5px solid #3742fa;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}

#stats {
  background-color: #f6e58d;
  width: 100px;
  height: 520px;
  border: 5px solid #ff6348;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

#banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 120px;
  background-color: #74b9ff;
  color: #2d3436;
  z-index: 2;
  text-align: center;
  border: 3px solid #00cec9;
  border-radius: 20px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

#message {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 24px;
  margin-top: 25px;
  color: #ffffff;
  text-shadow: 2px 2px #ff6b81;
}

#new-game {
  font-weight: bold;
  font-size: 16px;
  color: #046d30;
  cursor: pointer;
  text-decoration: underline;
}

.block,
.empty {
  position: absolute;
  background-color: #3b5998; /* Azul más oscuro, contrastando con el tablero */
  width: 30px;
  height: 30px;
  border: 2px solid #2a3d73; /* Borde aún más oscuro */
  border-radius: 8px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.empty {
  opacity: 0.5;
}

.inner-tile {
  position: absolute;
  background-color: #4b6fae; /* Azul intermedio */
  border: 1px solid #3b5998; /* Borde más oscuro */
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
}

.inner-inner-tile {
  position: absolute;
  background-color: #6d88c3; /* Azul más suave pero aún oscuro */
  width: 10px;
  height: 10px;
  margin: 3px;
  border-radius: 50%;
}

#pause-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #f6e58d;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  z-index: 10;
  font-size: 22px;
  font-weight: bold;
}
