body {
  /* 변경: 시스템 폰트 스택 사용 */
  background-color: #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  margin: 20px;
}
#game-container {
  /* 변경: 카드 느낌의 그림자와 둥근 모서리 추가 */
  text-align: center;
  margin: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
/* 새로 추가: game-info flex 레이아웃 */
#game-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 10px;
}
#numbers-display {
  font-size: 30px;
  font-weight: bold;
  margin: 20px;
  min-height: 40px;
  letter-spacing: 5px;
  color: #4caf50;
}
#input-container {
  margin-top: 20px;
}
input {
  /* 변경: 입력창 디자인 수정 */
  font-size: 18px;
  padding: 8px 12px;
  width: auto;
  text-align: center;
  letter-spacing: 2px;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
button {
  /* 변경: Flowbite 스타일 버튼 */
  font-size: 18px;
  padding: 10px 20px;
  /* margin: 10px; */
  cursor: pointer;
  background-color: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s, box-shadow 0.3s;
}
button:hover {
  background-color: #2563eb;
  box-shadow: 0px 4px 14px rgba(59, 130, 246, 0.5);
}
button:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}
#score,
#life {
  margin: 20px;
}
#message {
  font-size: 18px;
  /* 기존 색상 제거 */
  /* color: #666; */
  margin: 10px;
  min-height: 24px;
}

/* 추가: message 색상 클래스 */
.message-green {
  color: green;
}
.message-red {
  color: red;
}
.message-default {
  color: black;
}

#level {
  margin: 10px;
}

#progress-container {
  /* 변경: 프로그레스바 컨테이너 디자인 수정 */
  width: 100%;
  background-color: #e5e7eb;
  border-radius: 0.375rem;
  overflow: hidden;
  margin: 20px 0;
  height: 20px;
}

#progress-bar {
  /* 변경: 그라데이션과 부드러운 전환 효과 추가 */
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  transition: width 0.5s;
}
