/* 기본 스타일 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 히어로 섹션 */
.hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.5em;
    color: #1a73e8;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    color: #5f6368;
}

/* 카드 공통 스타일 */
.quiz-card, .result-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quiz-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


/* 설문 폼 스타일 */
.quiz-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1a73e8;
    font-size: 1.8em;
}

.question {
    margin-bottom: 20px;
}

.question p {
    font-weight: bold;
    margin-bottom: 10px;
}

.question label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.question label:hover {
    background-color: #f1f3f4;
}

.question input[type="radio"] {
    margin-right: 10px;
}

/* 제출 버튼 */
.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(90deg, #1a73e8, #4285f4);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 결과 카드 스타일 */
.result-card h2, #result-content h3 {
    color: #1a73e8;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
}

#result-content h3 {
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 5px;
    margin-top: 25px;
    text-align: left;
    font-size: 1.5em;
}


#result-content p {
    margin-bottom: 15px;
}

#result-content ul {
    list-style-type: "\2714\00a0"; /* 체크마크 */
    padding-left: 20px;
}

#result-content li {
    padding: 5px 0;
}

.profile-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.profile-conservative { background-color: #34a853; } /* 녹색 */
.profile-balanced { background-color: #fbbc05; } /* 노란색 */
.profile-aggressive { background-color: #ea4335; } /* 빨간색 */

/* 최고의 투자 전략 카드 */
.best-rec-card {
    background-color: #e8f0fe;
    border: 2px solid #1a73e8;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.best-rec-card h4 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    color: #1967d2;
    text-align: center;
}

.best-rec-card .rec-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #1967d2;
    margin: 0 0 15px 0;
    text-align: center;
}

.rec-ticker {
    font-size: 0.8em;
    font-weight: normal;
    color: #5f6368;
}

.rec-details p {
    margin-bottom: 10px;
    font-size: 1em;
}

.rec-details p b {
    color: #1967d2;
}

.disclaimer {
    font-size: 0.9em;
    color: #888;
    margin-top: 20px;
    text-align: center;
}


/* 반응형 디자인 */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .hero-section h1 {
        font-size: 2em;
    }

    .quiz-card, .result-card {
        padding: 20px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 1.1em;
    }
}
