/* 스타일 생략 없이 전부 포함 */
body {
  margin: 0;
  background: #fff;
}
#tm-container {
  text-align: center;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
#upload-banner {
  max-width: 100%;
  width: 100%;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
}
.name-container {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
}
.intro-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}
.desc-text {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}
.name-input {
  padding: 12px;
  font-size: 18px;
  width: 80%;
  max-width: 320px;
  border-radius: 10px;
  border: 2px solid #ccc;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#start-button {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 23px;
  margin-top: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#start-button:hover {
  background-color: #0056b3;
}

.start-btn {
  background-color: #ff66cc;
  color: white;
  font-size: 20px;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.start-btn:hover {
  background-color: #ff3399;
}
.question-button {
  display: block;
  width: 100%;
  padding: 20px;
  font-size: 18px;
  margin: 10px 0;
  background-color: #343a40;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.question-button:hover {
  background-color: #495057;
}
#question-title {
  margin: 20px 0;
}
.progress {
  width: 100%;
  background-color: #e9ecef;
  height: 20px;
  border-radius: 10px;
  margin-top: 30px;
  overflow: hidden;
}
.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #007bff;
  transition: width 0.5s ease;
}
#loading-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dotAnimation {
  0% {
    content: '당신의 내면 생성 중';
  }
  33% {
    content: '당신의 내면 생성 중.';
  }
  66% {
    content: '당신의 내면 생성 중..';
  }
  100% {
    content: '당신의 내면 생성 중...';
  }
}
.loading-text::after {
  content: '당신의 내면 생성 중';
  animation: dotAnimation 1.5s infinite;
}
