/* 填空游戏样式 */
.fill-game {
    text-align: center;
    padding: 20px;
}

.fill-sentence {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 30px;
    min-height: 80px;
    padding: 10px 0;
}

.fill-blank {
    display: inline-block;
    width: 120px;
    height: 50px;
    background: #f0f0f0;
    border: 2px dashed #667eea;
    border-radius: 10px;
    margin: 0 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.fill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.fill-option {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border: none;
    border-radius: 20px;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}



.fill-option.correct {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    animation: correctPulse 0.6s ease-in-out;
}

.fill-option.wrong {
    animation: wrongShake 0.6s ease-in-out;
}

/* 填空游戏媒体查询适配 */
@media (max-width: 1024px) {
    .fill-sentence {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .fill-blank {
        width: 100px;
        height: 45px;
    }
    
    .fill-option {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .answers {
        gap: 15px;
    }
    
    .answer-option {
        padding: 18px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .fill-game {
        padding: 15px;
    }
    
    .fill-sentence {
        font-size: 20px;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .fill-blank {
        width: 80px;
        height: 40px;
    }
    
    .fill-options {
        gap: 12px;
    }
    
    .fill-option {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .answers {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .answer-option {
        padding: 15px;
        font-size: 16px;
    }
    
    .error-message {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .fill-sentence {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .fill-blank {
        width: 70px;
        height: 35px;
    }
    
    .fill-options {
        gap: 10px;
    }
    
    .fill-option {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .answers {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .answer-option {
        padding: 12px;
        font-size: 14px;
    }
    
    .error-message {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 360px) {
    .fill-sentence {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .fill-blank {
        width: 60px;
        height: 30px;
    }
    
    .fill-option {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .answer-option {
        padding: 10px;
        font-size: 12px;
    }
    
    .error-message {
        font-size: 11px;
        padding: 6px 10px;
    }
}
