body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 500px;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.hidden {
    display: none;
}

button, .answer-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 10px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

button:hover, .answer-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

#theme-title {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

#question-title {
    font-size: 1.5em;
    margin-bottom: 30px;
}

#result-mbti {
    font-size: 3em;
    font-weight: bold;
    color: #007bff;
    margin: 20px 0;
}

#result-desc {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.progress-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0; /* 기본 회색 */
    margin: 0 5px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* 애니메이션 추가 */
}

.progress-circle.active {
    background-color: #007bff; /* 활성화된 파란색 */
    transform: scale(1.2); /* 활성화 시 커지는 애니메이션 */
}

/* 바운스 애니메이션 키프레임 */
@keyframes bounceScale {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); } /* 살짝 더 커짐 */
    75% { transform: scale(0.9); } /* 살짝 작아짐 */
    100% { transform: scale(1); }
}

/* 모든 원이 채워졌을 때 적용될 애니메이션 */
.progress-circle.bounce {
    animation: bounceScale 0.6s ease-in-out;
}

.language-selector-container {
    text-align: right;
    margin-bottom: 20px;
}

#language-selector {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    cursor: pointer;
}