* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* 测试容器整体样式 */
.test-container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 600px;
    padding: 30px;
}

/* 测试头部样式 */
.test-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.test-header h1 {
    color: #2c3e50;
    font-size: 26px;
    margin-bottom: 10px;
}

.test-header p {
    color: #7f8c8d;
    font-size: 14px;
}

/* 答题区域样式 */
.question-title {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-btn:hover {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #2196f3;
}

.option-btn:active {
    background-color: #bbdefb;
}

.progress {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

/* 结果展示区域样式 */
.result-area {
    text-align: center;
}

.result-area h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.type-text {
    color: #2196f3;
    font-weight: bold;
    font-size: 28px;
}

.result-desc {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 30px;
}

.restart-btn {
    background-color: #2196f3;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
}

.restart-btn:active {
    background-color: #1565c0;
    transform: translateY(0);
}

/* 响应式适配（手机端） */
@media (max-width: 480px) {
    .test-container {
        padding: 20px;
    }

    .test-header h1 {
        font-size: 22px;
    }

    .question-title {
        font-size: 16px;
    }

    .option-btn {
        padding: 14px;
        font-size: 15px;
    }

    .type-text {
        font-size: 24px;
    }

    .result-desc {
        padding: 20px;
        font-size: 15px;
    }
}