* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
}
.hidden { display: none !important; }
h1 { color: #1a1a1a; margin-bottom: 15px; font-size: 1.8rem; }
h2 { margin-bottom: 25px; font-size: 1.3rem; color: #333; line-height: 1.4; }
p { margin-bottom: 25px; color: #555; line-height: 1.6; font-size: 1.05rem; }

/* 语言切换按钮 */
#lang-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f3f5;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}
#lang-toggle:hover { background: #007bff; color: #fff; }

/* 蓝色主按钮 */
.btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
    max-width: 250px;
    margin-top: 15px;
}
.btn-primary:hover { background-color: #0056b3; transform: scale(1.02); }
.btn-primary:active { transform: scale(0.98); }

/* 选项按钮 */
.option-btn {
    display: block;
    width: 100%;
    background: #f1f3f5;
    color: #333;
    border: 2px solid #e9ecef;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}
.option-btn:hover {
    background: #e2e6ea;
    border-color: #007bff;
}

/* 进度条 */
.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-bottom: 25px;
    height: 10px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

/* 结果页图片和文字 */
#result-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: block;
    border: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}
.desc-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    border-left: 4px solid #007bff;
    text-align: left;
}
