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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.intro-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border: 2px solid #ccc; /* 可自定义边框颜色和粗细 */
    border-radius: 8px;     /* 可选：圆角效果 */
    box-sizing: border-box;
}

.header {
    background: linear-gradient(135deg, #8BC34A 0%, #4CAF50 100%);
    color: white;
    padding: 24px 20px;
    text-align: center;
}

.header h1 {
    font-size: 1.8em;
    margin-bottom: 8px;
}

.content {
    padding: 24px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.intro-text {
    line-height: 1.6;
    color: #555;
    margin-bottom: 24px;
    font-size: 16px;
}

.btn {
    background: linear-gradient(135deg, #8BC34A 0%, #4CAF50 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

.back-btn {
    background: #aaa !important;
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0f2e1;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8BC34A, #4CAF50);
    width: 0%;
    transition: width 0.4s ease;
}

.question-number {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 14px;
}

.question-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

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

.option {
    padding: 16px;
    border: 2px solid #d0e9d1;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    font-size: 16px;
}

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

.option.selected {
    border-color: #4CAF50;
    background-color: #e8f5e9;
    font-weight: bold;
    transform: scale(1.01);
}

.result-container {
    text-align: center;
}

.result-image {
    width: 200px; /* 或者你希望的其他具体宽度值 */
    height: auto; /* 保持图片比例 */
    border-radius: 0; /* 确保没有圆角 */
    border: none; /* 去掉边框 */
    display: block;
    margin: 0 auto 20px; /* 居中并设置下边距 */
}

.result-title {
    font-size: 1.8em;
    color: #4CAF50;
    margin: 16px 0;
}

.result-description,
.detailed-analysis {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.detailed-analysis {
    background: #f0f9f1;
    padding: 16px;
    border-radius: 12px;
    text-align: left;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .header {
        padding: 20px 16px;
    }
    .header h1 {
        font-size: 1.6em;
    }
    .content {
        padding: 20px 16px;
    }
    .btn {
        padding: 12px;
        font-size: 16px;
    }
    .question-text {
        font-size: 17px;
    }
    .option {
        padding: 14px;
        font-size: 15px;
    }
}