
    :root {
      --primary: #58cc02; /* Brilliant-style green */
      --font-main: 'Segoe UI', 'Pretendard', sans-serif;
    }

     #app {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
    }

    .hero {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
    }


    /* ===== 문제 ===== */
.header {
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #aaa;
  margin: 20px 0 10px 0;
}

.progress-bar {
  background-color: #dfdfdf;
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
}

#progress-bar-fill {
  background-color: var(--primary); ;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.question-text {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease-in-out;
}

.question-image-container {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-in-out;
}

#question-image {
  width: 100%;
  border-radius: 8px;
  padding: 10px;
}

/* ===== 선택지 ===== */
.choices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  animation: fadeInUp 1.3s ease-in-out;
}

.choice-button {
  /* background: #fff;
  border: 2px solid #ffffff; */
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.choice-button:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* .choice-button.selected {
  border-color: var(--primary);
  transform: scale(1.05);
} */

.choice-image {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* ===== 이전/다음 버튼 ===== */
.arrow-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  animation: fadeInUp 1.5s ease-in-out;
}

.arrow-btn {
  display: inline-flex;            /* 내부 콘텐츠를 플렉스로 중앙 정렬 */
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 12px;
  background-color: #444444;
  box-shadow: 0 4px 0 #000000;     /* 아래쪽만 그림자 */
  transition: background 0.18s, transform 0.08s, box-shadow 0.08s;
  color: #ffffff;
  font-size: 0;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.arrow-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #000000;
  background-color: #444444;
}

.arrow-btn:not(:disabled):hover {
  background-color: #626262;
}

.arrow-char {
  /* 1) 문자를 감싼 span 을 버튼 전체 크기로 확장 */
  display: inline-flex;
  width: 100%;
  height: 100%;
  
  /* 2) 가운데 정렬 */
  justify-content: center;
  align-items: center;
  
  /* 3) 여기서 폰트 크기만 지정 */
  font-size: 28px;
  line-height: 1;
  
  /* 4) Android 자동 텍스트 조정 차단 */
  -webkit-text-size-adjust: 100%;
}



@media (max-width: 480px) {
  .arrow-nav {
    gap: 12px;
    margin-top: 16px;
  }
  .arrow-btn {
    width: 44px;
    height: 44px;
  }
  .arrow-char {
    font-size: 22px;
  }

    .choice-image {
    max-height: 100px;
  }
  .choices-grid {
    gap: 20px;
  }
  .question-text {
    font-size: 16px;
    margin: 0;
  }
  a > .logo {
    display: none !important;
  }

}


 @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


.choice-button {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
  border-radius: 8px;
}

.choice-label {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 13px;
  font-weight: bold;
  background-color: white;
  color: black;
  border-radius: 12px;
  padding: 4px 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  z-index: 10;
}

.choice-button.selected {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  transform: scale(1.03);
}
