.fill-in {
    border: none;
    border-bottom: 2px solid #3f51b5;
    background: transparent;
    min-width: 120px;
    padding: 4px 8px;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.3s;
}

.fill-in:focus {
    outline: none;
    border-bottom-color: #1976d2;
    background: rgba(63, 81, 181, 0.05);
}

.fill-in.correct { 
    border-bottom-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.fill-in.incorrect { 
    border-bottom-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.check-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.check-btn:active {
    transform: translateY(0);
}

.score {
    display: inline-block;
    margin-left: 15px;
    font-weight: bold;
    font-size: 16px;
}

/* Animation de célébration */
@keyframes celebration {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.celebrate {
    animation: celebration 0.5s ease;
}

/* Confettis */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #f0f;
    position: absolute;
    animation: confetti-fall 3s linear;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
