body {
    font-family: 'Microsoft YaHei', sans-serif;
    overflow: hidden;
}

h1 {
    text-align: center;
    color: #333;
}

ul {
    list-style: none;
}

.game-container {
    background: rgba(255, 255, 255, 0.3); /* 半透明白色背景 */
    backdrop-filter: blur(5px);           /* 背景模糊效果 */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3); /* 可选：添加边框增强玻璃感 */
    min-height: 90vh;
}
h2{
    text-align: center;
}

.intro,
.result {

    margin-bottom: 20px;
}

.faces-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .faces-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.face {
    text-align: center;
    padding: 2px;
    background: #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.face:hover {
    transform: scale(1.1);
    background: #dee2e6;
}

.face img {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    height: 100%;
}

.question-container {
    text-align: center;
    margin: 20px 0;
}

.groups-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.group {
    border: 2px solid #cce5ff;
    /* 将原来的 #007bff 改为更浅的蓝色 */
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

.group-title {
    font-weight: bold;
    margin: 10px;
    color: #007bff;
}

.group-faces {
    font-size: 24px;
    padding: 5px;
}

.group-faces img {
    width: 100%;
    object-fit: cover;
    border-radius: 6%;
    border-bottom: 1px dotted #8B0000;
}

.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.btn:hover {
    background: #0056b3;
}

.btn-selected {
    background: #28a745;
}

.hidden {
    display: none;
}

.progress {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #007bff;
    width: 0%;
    transition: width 0.5s;
}

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

.result-face img {
    max-width: 600px;
    width: 100%;
    object-fit: cover;
}

#faces-section h2 {
    font-size: 22px;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 16px;
    margin: 0;
}

.action-prompt {
    text-align: center;
    margin-top: 25px;
}

.action-prompt p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.btn-elegant {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-elegant:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.benefits {
    text-align: left;
    margin: 25px 0;
}

.list-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
}

.benefits h3 {
    color: #8B0000;
    text-align: center;
    margin-bottom: 15px;
}

.benefits ul {
    padding-left: 20px;
    width: 320px;
    margin: 0 auto;
}

.benefits li {
    margin-bottom: 10px;
    font-size: 15px;
}
.questions-section h2{
    margin: 0;
}
#questions-section p{
    margin: 5px 0;
}
.result h2 ,.result h3{
    margin: 0;
}
.selected-face-display{
    text-align: center;
}

.selected-face-display img {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.result-info p{
    font-size: 14px;
}

.copyright{
    font-size: 14px;
    color: #8B0000;
    margin-top: 15px;
}