html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: 'Pretendard', sans-serif;
}

.start-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow: hidden;
  z-index: 1000;
  background-color: #ffffff;
}

.start-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}

.start-btn {
  padding: 12px 24px;
  font-size: 1.2rem;
  font-family: inherit;
  border: 1px solid #ffffff;
  border-radius: 26px;
  background-color: #04587c;
  cursor: pointer;
  margin-top: 45vh;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transition: background-color 0.3s ease;
  z-index: 1;

  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  overflow: hidden;
  margin: 0 auto;
  padding: 1vh 16px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background: url('../assets/img/background.jpg') center/cover no-repeat;
  z-index: 1;
}

.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.6);
  z-index: -1;
}

.progress-bar {
  width: 100%;
  background-color: #d5d5d5;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10vh;
}

.progress {
  height: 100%;
  background-color: #04587c;
  width: 0%;
  transition: width 0.3s ease;
}

.question-box {
  margin-top: 6vh;;
  font-size: clamp(16px, 2.3vh, 20px);;
  font-weight: 600;
  text-align: center;
  padding: 0 12px;
}

.options {
  margin-top: 15vh;
  gap: 8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.option {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-size: clamp(14px, 2vh, 18px);
  border: none;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  word-break: keep-all;
}

.option:hover {
  background-color: #f0f0f0;
}

.back-button {
  margin-top: 4vh;
  padding: 10px 18px;
  background-color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: center;
}

.back-button:hover {
  background-color: #ddd;
}

.logo {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  pointer-events: none;
}

.logo img {
  width: 80px;
  height: auto;
  border-radius: 12px;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

@media screen and (max-height: 600px) {
  .question-box { margin-top: 2vh; }
  .options { margin-top: 2vh; gap: 3vh; }
  .back-button { margin-top: 2vh; }
}