#sight-wrapper {
  position: relative;
  width: 100%;
  height: 900px; /* 최소 높이 */
  margin: 0 auto 2rem; /* 블록 사이 여백 */
  font-family: 'Pretendard', sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* 오류 메시지 */
#sight-errorMessage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  text-align: center;
  width: 90%;
  max-width: 500px;
  font-size: 18px;
  display: none;
  z-index: 10;
}

/* 배경 점 */
.sight-bg-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: sight-blink 3s infinite ease-in-out;
}
@keyframes sight-blink {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* 타이머 */
#sight-timer {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6vw;
  color: #ffffff;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* 카운트다운 */
#sight-countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 12vw;
  color: #ffffff;
  z-index: 3;
  opacity: 0;
  display: none;
}
@keyframes sight-pop {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
}
#sight-countdown.show {
  animation: sight-pop 700ms ease-in-out forwards;
}

/* 원을 담는 컨테이너 */
#sight-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sight-circle {
  position: absolute;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  cursor: pointer;
  z-index: 2;
}

/* 시작 화면 및 결과 화면 공통 스타일 */
#sight-welcome,
#sight-result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  padding: 24px;
  box-sizing: border-box;
  width: 90%;
  max-width: 500px;
  min-height: 350px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}
/* 이미지 */
#sight-welcome img,
#sight-result img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}
/* 제목 */
#sight-welcome h1,
#sight-result h1 {
  font-size: 8vw;
  margin: 0 0 12px 0;
  color: #ffffff;
}
#sight-welcome p {
  font-size: 5vw;
  margin: 0 0 16px 0;
  color: #cccccc;
  line-height: 1.3;
}

/* 버튼 스타일 */
#sight-start-btn,
#sight-retry-btn {
  font-size: 5vw;
  padding: 14px 0;
  margin: 10px auto;
  border: none;
  border-radius: 8px;
  background-color: #ffd600;
  color: #000000;
  cursor: pointer;
  width: 80%;
  max-width: 320px;
  display: block;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
#sight-start-btn:hover,
#sight-retry-btn:hover {
  background-color: #e6c500;
}
#sight-start-btn:active,
#sight-retry-btn:active {
  transform: scale(0.98);
}

/* 결과 점수 */
#sight-result h2 {
  font-size: 10vw;
  margin-bottom: 16px;
  color: #ffffff;
}

/* 반응형 */
@media (min-width: 768px) {
  #sight-welcome h1,
  #sight-result h1 {
    font-size: 64px;
  }
  #sight-welcome p {
    font-size: 28px;
  }
  #sight-start-btn,
  #sight-retry-btn {
    font-size: 28px;
    max-width: 280px;
  }
  #sight-result h2 {
    font-size: 64px;
  }
  #sight-timer {
    font-size: 48px;
  }
}
