* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 页面背景：纯白底，极简风格 */
body {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* 核心容器：浅灰底，弱化边框，更融背景 */
.container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 800px;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(200, 200, 200, 0.1);
}

/* 品牌名称：极简风格 */
.brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}
.brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
}
.brand-cn {
    font-size: 36px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 6px;
    margin-bottom: 8px;
}
.brand-en {
    font-size: 24px;
    font-weight: 300;
    color: #666666;
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* 品牌Slogan：极简风格 */
.slogan {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    color: #666666;
}
.slogan-en {
    font-size: 14px;
    color: #999999;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}
.slogan-cn {
    font-size: 18px;
    color: #333333;
    font-weight: 400;
}

/* 描述文字 */
.description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #666666;
}

/* 按钮样式 */
.start-button {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: #333333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn:hover {
    background: #ffffff;
    color: #333333;
    border-color: #333333;
}
.btn.secondary {
    background: #f5f5f5;
    color: #333333;
    border-color: #e0e0e0;
    margin-left: 12px;
}
.btn.secondary:hover {
    background: #e0e0e0;
}

/* 题目页样式 */
.question-container {
    max-width: 900px;
}
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.question-number {
    font-size: 16px;
    color: #333333;
    font-weight: 500;
}
.progress-bar {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background: #333333;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 图片容器 */
.image-container {
    margin-bottom: 40px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.device-image {
    max-width: 100%;
    max-height: 360px;
    border-radius: 8px;
    object-fit: contain;
}

/* 选项容器 */
.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.option {
    padding: 16px 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 14px;
    color: #333333;
}
.option:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}
.option.correct {
    background: #e8f5e8;
    border-color: #c8e6c9;
    color: #2e7d32;
}
.option.wrong {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #c62828;
}

/* 导航按钮 */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

/* 结果页样式 */
.result-container {
    max-width: 600px;
}
.result-header {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
}
.result-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    padding: 30px;
    background: #fafafa;
    border-radius: 12px;
}
.stat-item {
    text-align: center;
}
.stat-label {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}
.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: #333333;
}
.result-message {
    font-size: 18px;
    color: #333333;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
}
.result-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 页脚：极简风格 */
.footer {
    position: absolute;
    bottom: 24px;
    z-index: 1;
    font-size: 12px;
    color: #999999;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}
.copyright {
    font-size: 10px;
    color: #bbbbbb;
    margin-top: 8px;
    line-height: 1.4;
}

/* 响应式适配：手机端 */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 40px 20px;
    }
    .brand-cn {
        font-size: 28px;
        letter-spacing: 4px;
    }
    .brand-en {
        font-size: 18px;
        letter-spacing: 6px;
    }
    .slogan {
        font-size: 14px;
    }
    .slogan-cn {
        font-size: 16px;
    }
    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    .options-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .option {
        padding: 14px 16px;
        font-size: 13px;
    }
    .image-container {
        min-height: 300px;
        padding: 16px;
    }
    .device-image {
        max-height: 260px;
    }
    .result-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .stat-value {
        font-size: 24px;
    }
    .result-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn.secondary {
        margin-left: 0;
        margin-top: 12px;
    }
    .footer {
        position: relative;
        bottom: auto;
        margin-top: 40px;
        padding: 0 20px 20px;
    }
}

/* 照片库页面样式 */
.gallery-container {
    max-width: 1000px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.week-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}
.week-selector label {
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}
.week-select {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.week-select:hover {
    border-color: #333333;
}

.week-info {
    font-size: 14px;
    color: #666666;
    font-weight: 300;
}

/* 照片网格 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* 照片卡片 */
.photo-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.photo-container {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    padding: 12px;
}
.photo-image {
    max-width: 100%;
    max-height: 140px;
    border-radius: 6px;
    object-fit: cover;
}

.photo-info {
    padding: 16px;
}
.photo-title {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.photo-description {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
}

/* 照片库响应式适配 */
@media (max-width: 600px) {
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .photo-container {
        height: 120px;
        padding: 8px;
    }
    .photo-image {
        max-height: 100px;
    }
    .photo-info {
        padding: 12px;
    }
    .photo-title {
        font-size: 12px;
    }
    .photo-description {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .photo-container {
        height: 180px;
    }
    .photo-image {
        max-height: 160px;
    }
}