body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.mobile-controls {
  display: none;
  position: fixed;
  bottom: 5px;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.move-buttons {
  position: relative;
  width: 144px;
  height: 144px;
}

.move-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
}

#move-up {
  top: 0;
  left: 48px;
  background-image: url("img/move_btn.png");
  transform: rotate(-90deg);
}
#move-down {
  bottom: 0;
  left: 48px;
  background-image: url("img/move_btn.png");
  transform: rotate(90deg);
}
#move-left {
  top: 48px;
  left: 0;
  background-image: url("img/move_btn.png");
  transform: rotate(180deg);
}
#move-right {
  top: 48px;
  right: 0;
  background-image: url("img/move_btn.png");
  transform: rotate(0deg);
}

.attack-btn {
  width: 80px;
  height: 80px;
  background-color: transparent;
  background-image: url("img/attack_btn.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 1024px) {
  .mobile-controls {
    display: flex;
  }
}