.game-container {
  position: relative;
  width: 500px;
  height: 500px;
  cursor: none; /* 실제 커서는 숨깁니다 */
  overflow: hidden;
  border: 2px solid #ccc;
}

#target-img {
  width: 100%;
  transition: transform 0.1s;
}

/* 뿅망치 기본 스타일 */
#hammer-gui {
  position: absolute;
  width: 100px;
  pointer-events: none; /* 이미지 클릭 방해 금지 */
  transform-origin: bottom right;
  z-index: 10;
}

/* 때리는 애니메이션 */
.hit-animation {
  animation: swing 0.2s ease-in-out;
}

@keyframes swing {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-45deg); }
  100% { transform: rotate(0deg); }
}

/* 맞았을 때 흔들리는 효과 */
.shake {
  animation: shake 0.1s infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  50% { transform: translate(-1px, -2px) rotate(-1deg); }
  100% { transform: translate(1px, 1px) rotate(0deg); }
}