body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f7f6;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

#main-banner {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

#main-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: block;
}

h1 {
    color: #2c3e50;
    margin-bottom: 25px;
}

#language-selection button,
#gender-selection button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    margin: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#language-selection button:hover,
#gender-selection button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.question-box {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
}

.question-box p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.options label {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.options label:hover {
    background-color: #e2e2e2;
}

.options input[type="radio"] {
    margin-right: 10px;
}

/* 모든 버튼에 공통으로 적용될 스타일 (재사용성 위해) */
button { 
    background-color: #4CAF50; /* 버튼 기본 색상 */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

#test-result {
    margin-top: 30px;
    padding: 20px;
    border: 1px dashed #a0d9b4;
    background-color: #eaf7ed;
    border-radius: 8px;
    text-align: center; /* 결과 섹션 전체를 중앙 정렬 */
}

#test-result h2 {
    color: #28a745;
    margin-bottom: 15px;
}

#test-result p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #333;
    text-align: left; /* p 태그 내용은 왼쪽 정렬 */
}

#result-image {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto; /* 중앙 정렬 */
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}