@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

#quiz-container, #result-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 700;
    color: #2c3e50;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #3498db;
}

#quiz-container > p {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
}

hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 25px;
}

.question p {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.options label {
    display: block;
    background-color: #f1f3f5;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-weight: 400;
}

.options label:hover {
    background-color: #e9ecef;
}

.options input[type="radio"] {
    display: none;
}

.options input[type="radio"]:checked + span {
    font-weight: 700;
    color: #3498db;
}

#submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 30px;
}

#submit-btn:hover {
    background-color: #2980b9;
}

#result-container h2 {
    color: #3498db;
    text-align: center;
    margin-bottom: 10px;
}

#result-container .intro-message {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.result-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.result-section h3 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
}

.result-section ul {
    padding-left: 20px;
    margin: 10px 0;
}

.result-section li {
    margin-bottom: 8px;
}

#retry-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background-color: #95a5a6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
}

#retry-btn:hover {
    background-color: #7f8c8d;
}
