* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

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

.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: fadeIn 0.5s;
}

h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

/* 질문 화면 스타일 */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    word-break: keep-all;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-option {
    background-color: #f9f9f9;
    color: #333;
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 1rem;
}

.btn-option:hover {
    background-color: #e8f5e9;
    border-color: #4CAF50;
}

/* 결과 화면 스타일 */
#mbti-result {
    color: #4CAF50;
    font-size: 1.8rem;
}

.quote-box {
    background-color: #fff9e6;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0 30px 0;
    border-left: 5px solid #ffc107;
}

#sage-name {
    color: #d35400;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.quote {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

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